gem-compiler 0.6.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ae2be2c71e44ef97d540eeba1f926ff4aadddc00
4
- data.tar.gz: 6f4bea5bc8c090ec4158e47260810032c2920a69
3
+ metadata.gz: 8c60ecb875d3d25f5eb22fba8df9f6081c1108aa
4
+ data.tar.gz: 1780e893b6aef4ceddcd14476781be1677205aa6
5
5
  SHA512:
6
- metadata.gz: c85477e45ef9912d6dd81fb77e4cb3a3e1aef35f309d122b1418910d115244b661b42b6ff38a6eccadaf91fa666796963ef61589c0291976c31e0ab219ed91f2
7
- data.tar.gz: 7b4fb2ca8ccb0f9a186e9872420f8f438c21b87b13d61bdd1e9c1ea7071c6ba0d4c000865295fe424b4bd0b9baf11e63de97fc404c054ce9abcc012457c68d53
6
+ metadata.gz: 1a399552d43a414e5377063984e6f5461b5b82acd402f84f5fafb599665ac94133509b18d242be14378d6b2ac415d8e0a05ed956de48c027844d0f2ce83fb116
7
+ data.tar.gz: 04d4bc9a255fe2b85c30af5772aac1f6524d2b90d1a1917c2e4e10144a038cfb55625829c3e2d37a8565be87ef07df35cc668af781b4a19ef037008e71a0347a
data/CHANGELOG.md ADDED
@@ -0,0 +1,88 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
+ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
+
8
+ Please take notes of *Changed*, *Removed* and *Deprecated* items prior
9
+ upgrading.
10
+
11
+ ## [Unreleased]
12
+
13
+ ## [0.7.0] - 2017-10-01
14
+
15
+ ### Added
16
+ - Introduce `--output` (`-O` in short) to specify the output directory where
17
+ compiled gem will be stored.
18
+
19
+ ### Changed
20
+ - Introduce `Makefile` for local development
21
+ - CI: Update Travis test matrix
22
+ - Reduce RubyGems warnings during `rake package`
23
+
24
+ ## [0.6.0] - 2017-06-25
25
+
26
+ ### Fixed
27
+ - Solve RubyGems 2.5 deprecation warnings
28
+
29
+ ### Removed
30
+ - Drop support for any Ruby version prior to 2.1.0
31
+
32
+ ### Changed
33
+ - Use Travis to automate new releases
34
+ - CI: Update test matrix (Travis and AppVeyor)
35
+
36
+ ## [0.5.0] - 2016-04-24
37
+
38
+ ### Fixed
39
+ - Workaround shortname directories on Windows. Thanks to @mbland (#17 & #19)
40
+ - Validate both Ruby and RubyGems versions defined in gemspec
41
+ - Ensure any RubyGems' `pre_install` hooks are run at extension compilation (#18)
42
+
43
+ ### Changed
44
+ - Lock compile gems to Ruby's ABI version which can be disabled using
45
+ `--no-abi-lock` option (#11)
46
+
47
+ ### Removed
48
+ - Drop support for any Ruby version prior to 2.0.0
49
+
50
+ ## [0.4.0] - 2015-07-18
51
+
52
+ ### Added
53
+ - Introduce `--prune` option to cleanup gemspecs. Thanks to @androbtech [#13]
54
+
55
+ ### Changed
56
+ - Test builds on both Travis (Linux) and AppVeyor (Windows) environments.
57
+
58
+ ## [0.3.0] - 2014-04-19
59
+
60
+ ### Added
61
+ - Support RubyGems 2.2.x thanks to @drbrain
62
+
63
+ ### Changed
64
+ - Minor reorganization to make testing on Travis more easy
65
+
66
+ ## [0.2.0] - 2013-04-28
67
+
68
+ ### Added
69
+ - Support RubyGems 2.0.0 thanks to @mgoggin [#6]
70
+
71
+ ## [0.1.1] - 2012-05-07
72
+
73
+ ### Fixed
74
+ - Loose requirements to allow installation on Ruby 1.8.7 or greater. You
75
+ still need RubyGems 1.8.24
76
+
77
+ ## [0.1.0] - 2012-05-06
78
+
79
+ - Initial public release, extracted from internal project.
80
+
81
+ [Unreleased]: https://github.com/luislavena/gem-compiler/compare/v0.7.0...HEAD
82
+ [0.7.0]: https://github.com/luislavena/gem-compiler/compare/v0.6.0...v0.7.0
83
+ [0.6.0]: https://github.com/luislavena/gem-compiler/compare/v0.5.0...v0.6.0
84
+ [0.5.0]: https://github.com/luislavena/gem-compiler/compare/v0.4.0...v0.5.0
85
+ [0.4.0]: https://github.com/luislavena/gem-compiler/compare/v0.3.0...v0.4.0
86
+ [0.3.0]: https://github.com/luislavena/gem-compiler/compare/v0.2.0...v0.3.0
87
+ [0.2.0]: https://github.com/luislavena/gem-compiler/compare/v0.1.1...v0.2.0
88
+ [0.1.1]: https://github.com/luislavena/gem-compiler/compare/v0.1.0...v0.1.1
@@ -5,6 +5,10 @@ class Gem::Commands::CompileCommand < Gem::Command
5
5
  super "compile", "Create binary pre-compiled gem",
6
6
  output: Dir.pwd
7
7
 
8
+ add_option "-O", "--output DIR", "Directory where binary will be stored" do |value, options|
9
+ options[:output] = File.expand_path(value, Dir.pwd)
10
+ end
11
+
8
12
  add_option "--prune", "Clean non-existing files during re-packaging" do |value, options|
9
13
  options[:prune] = true
10
14
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Gem
4
4
  class Compiler
5
- VERSION = "0.6.0"
5
+ VERSION = "0.7.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-compiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Lavena
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-25 00:00:00.000000000 Z
11
+ date: 2017-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '12.0'
17
20
  - - ">="
18
21
  - !ruby/object:Gem::Version
19
- version: 0.9.2.2
22
+ version: 12.0.0
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '12.0'
24
30
  - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: 0.9.2.2
32
+ version: 12.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: minitest
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,7 +53,7 @@ executables: []
47
53
  extensions: []
48
54
  extra_rdoc_files: []
49
55
  files:
50
- - History.md
56
+ - CHANGELOG.md
51
57
  - README.md
52
58
  - Rakefile
53
59
  - lib/rubygems/commands/compile_command.rb
@@ -76,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
82
  version: 1.8.24
77
83
  requirements: []
78
84
  rubyforge_project:
79
- rubygems_version: 2.4.5
85
+ rubygems_version: 2.6.13
80
86
  signing_key:
81
87
  specification_version: 4
82
88
  summary: A RubyGems plugin that generates binary gems.
data/History.md DELETED
@@ -1,42 +0,0 @@
1
- # gem-compiler
2
-
3
- ## Unreleased
4
-
5
- ## 0.6.0 (2017-06-25)
6
-
7
- - Drop support for any Ruby version prior to 2.1.0
8
- - Solve RubyGems 2.5 deprecation warnings
9
- - Use Travis to automate new releases
10
- - CI: Update test matrix (Travis and AppVeyor)
11
-
12
- ## 0.5.0 (2016-04-24)
13
-
14
- - Drop support for any Ruby version prior to 2.0.0
15
- - Workaround shortname directories on Windows. Thanks to @mbland (#17 & #19)
16
- - Validate both Ruby and RubyGems versions defined in gemspec
17
- - Ensure any RubyGems' `pre_install` hooks are run at extension compilation (#18)
18
- - Lock compile gems to Ruby's ABI version which can be disabled using
19
- `--no-abi-lock` option (#11)
20
-
21
- ## 0.4.0 (2015-07-18)
22
-
23
- - Introduce `--prune` option to cleanup gemspecs. Thanks to @androbtech [#13]
24
- - Test builds on both Travis (Linux) and AppVeyor (Windows) environments.
25
-
26
- ## 0.3.0 (2014-04-19)
27
-
28
- - Support RubyGems 2.2.x thanks to @drbrain
29
- - Minor reorganization to make testing on Travis more easy
30
-
31
- ## 0.2.0 (2013-04-28)
32
-
33
- - Support RubyGems 2.0.0 thanks to @mgoggin [#6]
34
-
35
- ## 0.1.1 (2012-05-07)
36
-
37
- - Loose requirements to allow installation on Ruby 1.8.7 or greater. You
38
- still need RubyGems 1.8.24
39
-
40
- ## 0.1.0 (2012-05-06)
41
-
42
- - Initial public release, extracted from internal project.