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 CHANGED
@@ -0,0 +1,2 @@
1
+ 0.7.1 - Installed gems now don't require 'hoe' (based on comments at http://blog.evanweaver.com/articles/2007/01/10/if-you-dont-want-to-hoe-echoe)
2
+
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.4')
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
@@ -2,7 +2,7 @@ module Newgem #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -0,0 +1,10 @@
1
+ Rakefile
2
+ README.txt
3
+ CHANGELOG.txt
4
+ Manifest.txt
5
+ setup.rb
6
+ lib/#{project_name}/version.rb
7
+ lib/#{project_name}.rb
8
+ test/test_helper.rb
9
+ test/#{project_name}_test.rb
10
+ #{bin_names_list.collect {|name| 'bin/' + name }.join('\n')}
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
-
@@ -1,3 +1,3 @@
1
1
  // Announcement JS file
2
- var version = "0.6.0";
2
+ var version = "0.7.0";
3
3
  MagicAnnouncement.show('newgem', version);
data/website/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "0.6.0";
2
+ var version = "0.7.0";
3
3
 
4
4
  document.write(" - " + version);
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
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.0
7
- date: 2006-11-13 00:00:00 +01:00
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.4
89
+ version: 1.1.6
88
90
  version: