namelessjon-dm-gen 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/lib/dm_gen.rb CHANGED
@@ -11,7 +11,7 @@ require 'templater'
11
11
  module DMGen
12
12
  extend Templater::Manifold
13
13
 
14
- DM_VERSION = '0.9.10'
14
+ DM_VERSION = '0.9.11'
15
15
 
16
16
  desc <<-eos
17
17
  Generates files for the DataMapper ORM.
@@ -23,7 +23,7 @@ Hoe.new(GEM_NAME, GEM_VERSION) do |p|
23
23
  p.clean_globs |= %w[ log pkg coverage ]
24
24
  p.spec_extras = { :has_rdoc => true, :extra_rdoc_files => %w[ README.txt LICENSE TODO History.txt ] }
25
25
 
26
- p.extra_deps << [['dm-core', "~> 0.9.10"]]
26
+ p.extra_deps << ['dm-core', "<%= DMGen::DM_VERSION %>"]
27
27
 
28
28
  end
29
29
 
@@ -23,7 +23,7 @@ Hoe.new(GEM_NAME, GEM_VERSION) do |p|
23
23
  p.clean_globs |= %w[ log pkg coverage ]
24
24
  p.spec_extras = { :has_rdoc => true, :extra_rdoc_files => %w[ README.txt LICENSE TODO History.txt ] }
25
25
 
26
- p.extra_deps << [['dm-core', "~> 0.9.10"]]
26
+ p.extra_deps << ['dm-core', "~> <%= DMGen::DM_VERSION"]
27
27
 
28
28
  end
29
29
 
@@ -35,7 +35,7 @@ shared "one file generator" do
35
35
 
36
36
  it "requires dm-core" do
37
37
  @result.should.match(/require 'dm-core'/)
38
- @result.should.match(/gem\('dm-core', '~> 0.9.10'\)/)
38
+ @result.should.match(/gem\('dm-core', '~> 0.9.11'\)/)
39
39
  end
40
40
 
41
41
  # other boilerplate
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: namelessjon-dm-gen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Stott
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-02-19 00:00:00 -08:00
12
+ date: 2009-05-23 00:00:00 -07:00
13
13
  default_executable: dm-gen
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -45,7 +45,6 @@ files:
45
45
  - lib/templates/is/History.txt
46
46
  - lib/templates/is/LICENSE
47
47
  - lib/templates/is/README.txt
48
- - lib/templates/is/Rakefile
49
48
  - lib/templates/is/TODO
50
49
  - lib/templates/is/spec
51
50
  - lib/templates/is/spec/integration
@@ -56,12 +55,12 @@ files:
56
55
  - lib/templates/is/tasks/install.rb
57
56
  - lib/templates/is/tasks/spec.rb
58
57
  - lib/templates/is/Manifest.txt
58
+ - lib/templates/is/Rakefile
59
59
  - lib/templates/adapter
60
60
  - lib/templates/adapter/History.txt
61
61
  - lib/templates/adapter/LICENSE
62
62
  - lib/templates/adapter/Manifest.txt
63
63
  - lib/templates/adapter/README.txt
64
- - lib/templates/adapter/Rakefile
65
64
  - lib/templates/adapter/TODO
66
65
  - lib/templates/adapter/lib
67
66
  - lib/templates/adapter/lib/%adapter_file%
@@ -75,6 +74,7 @@ files:
75
74
  - lib/templates/adapter/tasks
76
75
  - lib/templates/adapter/tasks/install.rb
77
76
  - lib/templates/adapter/tasks/spec.rb
77
+ - lib/templates/adapter/Rakefile
78
78
  - lib/templates/one_file.rb
79
79
  - lib/generators
80
80
  - lib/generators/one_file.rb
@@ -86,7 +86,7 @@ files:
86
86
  - spec/adapter_spec.rb
87
87
  - spec/spec_helper.rb
88
88
  - spec/one_file_spec.rb
89
- has_rdoc: true
89
+ has_rdoc: false
90
90
  homepage: http://github.com/namelessjon/dm-gen
91
91
  post_install_message:
92
92
  rdoc_options:
@@ -111,7 +111,7 @@ requirements: []
111
111
  rubyforge_project:
112
112
  rubygems_version: 1.2.0
113
113
  signing_key:
114
- specification_version: 2
114
+ specification_version: 3
115
115
  summary: Simple commandline tool for generating dm models
116
116
  test_files: []
117
117