newgem 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -0
- data/Rakefile +1 -2
- data/bin/newgem +1 -1
- data/lib/newgem/version.rb +1 -1
- data/templates/Manifest.txt +10 -0
- data/templates/Rakefile +7 -2
- data/website/version-raw.js +1 -1
- data/website/version.js +1 -1
- metadata +11 -9
data/CHANGELOG
CHANGED
data/Rakefile
CHANGED
@@ -53,8 +53,7 @@ spec =
|
|
53
53
|
s.bindir = "bin"
|
54
54
|
|
55
55
|
s.add_dependency('activesupport', '>=1.3.1')
|
56
|
-
s.add_dependency('hoe', '>=1.1.
|
57
|
-
#s.required_ruby_version = '>= 1.8.2'
|
56
|
+
s.add_dependency('hoe', '>=1.1.6')
|
58
57
|
|
59
58
|
s.files = %w(README Rakefile) +
|
60
59
|
Dir.glob("{bin,doc,test,lib,templates,extras,website,script}/**/*") +
|
data/bin/newgem
CHANGED
@@ -137,7 +137,7 @@ File.open(rakefile, 'w') do |file|
|
|
137
137
|
end
|
138
138
|
|
139
139
|
puts "creating: " + manifest
|
140
|
-
template = File.open(templates + 'Manifest','r') {|f| f.readlines.join}
|
140
|
+
template = File.open(templates + 'Manifest.txt','r') {|f| f.readlines.join}
|
141
141
|
File.open(manifest, 'w') do |file|
|
142
142
|
file << eval('"' + template.gsub(/"/, '\"') + '"')
|
143
143
|
end
|
data/lib/newgem/version.rb
CHANGED
data/templates/Rakefile
CHANGED
@@ -23,13 +23,19 @@ RELEASE_TYPES = %w( gem ) # can use: gem, tar, zip
|
|
23
23
|
NAME = "#{gem_name}"
|
24
24
|
REV = nil # UNCOMMENT IF REQUIRED: File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil
|
25
25
|
VERS = ENV['VERSION'] || (#{module_name}::VERSION::STRING + (REV ? ".\#{REV}" : ""))
|
26
|
-
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
26
|
+
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
27
27
|
RDOC_OPTS = ['--quiet', '--title', "#{gem_name} documentation",
|
28
28
|
"--opname", "index.html",
|
29
29
|
"--line-numbers",
|
30
30
|
"--main", "README",
|
31
31
|
"--inline-source"]
|
32
32
|
|
33
|
+
class Hoe
|
34
|
+
def extra_deps
|
35
|
+
@extra_deps.reject { |x| Array(x).first == 'hoe' }
|
36
|
+
end
|
37
|
+
end
|
38
|
+
|
33
39
|
# Generate all the Rake tasks
|
34
40
|
# Run 'rake -T' to see list of generated tasks (from gem root directory)
|
35
41
|
hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
@@ -47,4 +53,3 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
|
|
47
53
|
#p.extra_deps - An array of rubygem dependencies.
|
48
54
|
#p.spec_extras - A hash of extra values to set in the gemspec.
|
49
55
|
end
|
50
|
-
|
data/website/version-raw.js
CHANGED
data/website/version.js
CHANGED
metadata
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.
|
2
|
+
rubygems_version: 0.9.0.10
|
3
3
|
specification_version: 1
|
4
4
|
name: newgem
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.7.
|
7
|
-
date:
|
6
|
+
version: 0.7.1
|
7
|
+
date: 2007-01-16 00:00:00 +10:30
|
8
8
|
summary: Make your own gems at home
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -25,6 +25,7 @@ required_ruby_version: !ruby/object:Gem::Version::Requirement
|
|
25
25
|
platform: ruby
|
26
26
|
signing_key:
|
27
27
|
cert_chain:
|
28
|
+
post_install_message:
|
28
29
|
authors:
|
29
30
|
- Dr Nic Williams
|
30
31
|
files:
|
@@ -33,16 +34,17 @@ files:
|
|
33
34
|
- bin/newgem
|
34
35
|
- test/all_tests.rb
|
35
36
|
- test/test_helper.rb
|
36
|
-
- lib/newgem
|
37
37
|
- lib/newgem.rb
|
38
|
+
- lib/newgem
|
38
39
|
- lib/newgem/version.rb
|
39
|
-
- templates/Manifest
|
40
|
-
- templates/Rakefile
|
41
|
-
- templates/setup.rb
|
42
40
|
- templates/test.rb
|
41
|
+
- templates/setup.rb
|
42
|
+
- templates/Manifest.txt
|
43
|
+
- templates/Rakefile
|
44
|
+
- templates/Manifest
|
43
45
|
- website/index.html
|
44
|
-
- website/version-raw.js
|
45
46
|
- website/version.js
|
47
|
+
- website/version-raw.js
|
46
48
|
- CHANGELOG
|
47
49
|
test_files: []
|
48
50
|
|
@@ -84,5 +86,5 @@ dependencies:
|
|
84
86
|
requirements:
|
85
87
|
- - ">="
|
86
88
|
- !ruby/object:Gem::Version
|
87
|
-
version: 1.1.
|
89
|
+
version: 1.1.6
|
88
90
|
version:
|