Skip to content

Commit

Permalink
Merge pull request #28 from cosmo0920/fix-gem-package
Browse files Browse the repository at this point in the history
Fix gem package
  • Loading branch information
cosmo0920 authored Feb 2, 2017
2 parents aa56219 + d62e0e3 commit a13e40c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
== 1.6.1.1 - 31-Jan 2017
== 1.6.1.2 - 2-Feb-2017
* Fix wrong gem packaging.

== 1.6.1.1 - 31-Jan-2017 (yanked)
* Fix wrong returning version number

== 1.6.1 - 31-Jan 2017 (yanked)
== 1.6.1 - 31-Jan-2017 (yanked)
* Depends on MSYS2 based RubyInstaller2 to create binaries for Ruby 2.4.0.

== 1.6.1.beta1 - 14-Jan-2017
Expand Down
2 changes: 1 addition & 1 deletion ext/win32/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@


#define MAX_BUF 1024
#define WINDOWS_API_VERSION "1.6.1.1"
#define WINDOWS_API_VERSION "1.6.1.2"

#define _T_VOID 0
#define _T_LONG 1
Expand Down
2 changes: 1 addition & 1 deletion test/test_win32_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def setup
end

def test_version
assert_equal('1.6.1.1', API::VERSION)
assert_equal('1.6.1.2', API::VERSION)
end

def test_constructor_basic
Expand Down
4 changes: 2 additions & 2 deletions win32-api.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ require 'rubygems'

Gem::Specification.new do |spec|
spec.name = 'win32-api'
spec.version = '1.6.1.1'
spec.version = '1.6.1.2'
spec.authors = ['Daniel J. Berger', 'Park Heesob', 'Hiroshi Hatake']
spec.license = 'Artistic-2.0'
spec.email = '[email protected]'
spec.homepage = 'http://github.com/djberg96/win32-api'
spec.summary = 'A superior replacement for Win32API'
spec.test_files = Dir['test/test*']
spec.extensions = ['ext/extconf.rb']
spec.files = `git ls-files`.split($\)
spec.files = Dir['**/*'].reject{ |f| f.include?('git') }

spec.required_ruby_version = '>= 1.8.2'
spec.extra_rdoc_files = ['README', 'CHANGES', 'MANIFEST', 'ext/win32/api.c']
Expand Down

0 comments on commit a13e40c

Please sign in to comment.