gemstone 0.2 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog.md +3 -0
- data/bin/gemstone +1 -1
- data/lib/gemstone.rb +1 -1
- data/test/results_test.rb +4 -0
- data/test/sandbox/bin/my_gem +1 -0
- metadata +8 -4
data/Changelog.md
CHANGED
data/bin/gemstone
CHANGED
data/lib/gemstone.rb
CHANGED
data/test/results_test.rb
CHANGED
@@ -215,6 +215,10 @@ class ResultsTest < GemStoneTest
|
|
215
215
|
def test_executable_includes_ruby_shebang
|
216
216
|
assert_file_includes 'bin/my_gem', "#!/usr/bin/env ruby"
|
217
217
|
end
|
218
|
+
|
219
|
+
def test_executable_requires_lib_gem_file
|
220
|
+
assert_file_includes 'bin/my_gem', "require File.dirname(__FILE__) + '/../lib/my_gem'"
|
221
|
+
end
|
218
222
|
|
219
223
|
def test_executable_includes_dummy_code
|
220
224
|
assert_file_includes 'bin/my_gem', 'puts "This executable needs more love from Raul Murciano"'
|
data/test/sandbox/bin/my_gem
CHANGED
metadata
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gemstone
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 13
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 0
|
7
|
-
-
|
8
|
-
version: "0.
|
8
|
+
- 3
|
9
|
+
version: "0.3"
|
9
10
|
platform: ruby
|
10
11
|
authors:
|
11
12
|
- Raul Murciano
|
@@ -24,6 +25,7 @@ dependencies:
|
|
24
25
|
requirements:
|
25
26
|
- - ">"
|
26
27
|
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
27
29
|
segments:
|
28
30
|
- 2
|
29
31
|
- 0
|
@@ -74,6 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
74
76
|
requirements:
|
75
77
|
- - ">="
|
76
78
|
- !ruby/object:Gem::Version
|
79
|
+
hash: 3
|
77
80
|
segments:
|
78
81
|
- 0
|
79
82
|
version: "0"
|
@@ -82,6 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
85
|
requirements:
|
83
86
|
- - ">="
|
84
87
|
- !ruby/object:Gem::Version
|
88
|
+
hash: 19
|
85
89
|
segments:
|
86
90
|
- 1
|
87
91
|
- 3
|
@@ -90,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
90
94
|
requirements: []
|
91
95
|
|
92
96
|
rubyforge_project: gemstone
|
93
|
-
rubygems_version: 1.
|
97
|
+
rubygems_version: 1.5.2
|
94
98
|
signing_key:
|
95
99
|
specification_version: 3
|
96
100
|
summary: Generates a skeleton to start coding your next ruby gem
|