gem-wrappers 0.7.1 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 673d219add58a7492ba395ea130428a2d8745df0
4
- data.tar.gz: 452373a2edc81fafc8572388124fb64d10488688
3
+ metadata.gz: 0f4677b455f810a6102561f125a5ec981c931f90
4
+ data.tar.gz: 4e4bb043586e7a659602215be9834a51322a5c3b
5
5
  SHA512:
6
- metadata.gz: 7b9582b731703a665511e074ac84fb0e50075cff296966cfa1efada3f4b282fc9f45b3346f61374b8a7e1d22dd02c73baa5ba28702f25195b5676ae087ef6cec
7
- data.tar.gz: c8c72999d79fd387afc99e311c7a79039f9b7480932e6ba566ac2de82959ed3643539200254212892bec8c08215fb8a7c51422d0502c788fdf2a567d437c1758
6
+ metadata.gz: 44408f6326f736b8d85c34248b62610fdd0d2a15800e363fe42f9b904dc3681106f1839a976aac46ac821c09ecb393cd7996bf8032386bc9167d545063f1a4ad
7
+ data.tar.gz: 4672d38a508c018fbd967d9c2ba89173c4c2206dae9d74554a1c01d0c66208fdda713b0a6b8dffdb8cf05a8523175009a0fa2cafe1885580520f61c8125d2750
@@ -0,0 +1,26 @@
1
+ # Fake building extension
2
+ File.open('Makefile', 'w') { |f| f.write("all:\n\ninstall:\n\n") }
3
+ File.open('make', 'w') do |f|
4
+ f.write('#!/bin/sh')
5
+ f.chmod(f.stat.mode | 0111)
6
+ end
7
+ File.open('wrapper_generator.so', 'w') {}
8
+ File.open('wrapper_generator.dll', 'w') {}
9
+ File.open('nmake.bat', 'w') { |f| }
10
+
11
+ # add the gem to load path
12
+ $: << File.expand_path("../../../lib", __FILE__)
13
+
14
+ # load the command
15
+ require 'gem-wrappers/command'
16
+
17
+ # call the actions
18
+ command = WrappersCommand.new
19
+ command.options[:args] = ['regenerate']
20
+ command.execute
21
+
22
+ # unload the path, what was required stays ... but there is that much we can do
23
+ $:.pop
24
+
25
+ # just in case - it worked
26
+ true
data/gem-wrappers.gemspec CHANGED
@@ -11,6 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.homepage = "https://github.com/rvm/gem-wrappers"
12
12
  s.summary = "Create gem wrappers for easy use of gems in cron and other system locations."
13
13
  s.license = "Apache 2.0"
14
+ s.extensions = %w( ext/wrapper_generator/extconf.rb )
14
15
  s.files = `git ls-files`.split("\n")
15
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
17
  s.required_ruby_version = ">= 2.0.0"
@@ -1,3 +1,3 @@
1
1
  module GemWrappers
2
- VERSION = "0.7.1"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,98 +1,100 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem-wrappers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Papis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-08 00:00:00.000000000 Z
11
+ date: 2013-12-09 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
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: simplecov
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: coveralls
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - '>='
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: redcarpet
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ">="
73
+ - - '>='
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ">="
80
+ - - '>='
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description:
84
84
  email:
85
85
  - mpapis@gmail.com
86
86
  executables: []
87
- extensions: []
87
+ extensions:
88
+ - ext/wrapper_generator/extconf.rb
88
89
  extra_rdoc_files: []
89
90
  files:
90
- - ".gitignore"
91
- - ".travis.yml"
91
+ - .gitignore
92
+ - .travis.yml
92
93
  - Gemfile
93
94
  - LICENSE
94
95
  - README.md
95
96
  - Rakefile
97
+ - ext/wrapper_generator/extconf.rb
96
98
  - gem-wrappers.gemspec
97
99
  - lib/gem-wrappers.rb
98
100
  - lib/gem-wrappers/command.rb
@@ -117,12 +119,12 @@ require_paths:
117
119
  - lib
118
120
  required_ruby_version: !ruby/object:Gem::Requirement
119
121
  requirements:
120
- - - ">="
122
+ - - '>='
121
123
  - !ruby/object:Gem::Version
122
124
  version: 2.0.0
123
125
  required_rubygems_version: !ruby/object:Gem::Requirement
124
126
  requirements:
125
- - - ">="
127
+ - - '>='
126
128
  - !ruby/object:Gem::Version
127
129
  version: '0'
128
130
  requirements: []