sinatra-gen 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
File without changes
@@ -1,8 +1,3 @@
1
- == 0.4.1
2
-
3
- * Cucumber support with --integration_framework=cucumber [Thanks Rob Holland]
4
- * Explicitly set RACK_ENV in the test helper
5
-
6
1
  == 0.4.0 2009-08-13
7
2
 
8
3
  * Unless --tiny is specified generate an app that < Sinatra::Application
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ $hoe = Hoe.spec('sinatra-gen') do |p|
12
12
 
13
13
  p.version = SinatraGen::VERSION
14
14
  p.extra_deps = [
15
- ['rubigen','=1.5.2'],
15
+ ['rubigen','=1.5.8'],
16
16
  ['sinatra', '>= 0.9.4'],
17
17
  ['rack-test', '>= 0.4.1']
18
18
  ]
@@ -132,7 +132,7 @@ class SinatraAppGenerator < RubiGen::Base
132
132
  opts.on("--cap", "Adds config directory with basic capistrano deploy.rb") {|o| options[:cap] = o }
133
133
  opts.on("--scripts", "Install the rubigen scripts (script/generate, script/destroy)") {|o| options[:scripts] = o }
134
134
  opts.on("--git /path/to/git", "Specify a different path for 'git'") {|o| options[:git] = o }
135
- opts.on("--test=test_framework", String, "Specify your testing framework (bacon (default)/rspec/spec/shoulda/test)") {|o| options[:test_framework] = o }
135
+ opts.on("--test=test_framework", String, "Specify your testing framework (bacon (default)/rspec/spec/shoulda/unit)") {|o| options[:test_framework] = o }
136
136
  opts.on("--integration=integration_framework", String, "Specify your integration framework (cucumber)") {|o| options[:integration_framework] = o }
137
137
  opts.on("--views=view_framework", "Specify your view framework (haml (default)/erb/builder)") {|o| options[:view_framework] = o }
138
138
  opts.on("--middleware=rack-middleware", Array, "Specify Rack Middleware to be required and included (comma delimited)") {|o| options[:middleware] = o }
@@ -180,4 +180,4 @@ class SinatraAppGenerator < RubiGen::Base
180
180
  public
181
181
  views
182
182
  )
183
- end
183
+ end
@@ -2,5 +2,5 @@ $:.unshift(File.dirname(__FILE__)) unless
2
2
  $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
3
3
 
4
4
  module SinatraGen
5
- VERSION = '0.4.1'
6
- end
5
+ VERSION = '0.4.2'
6
+ end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sinatra-gen}
5
- s.version = "0.4.0"
5
+ s.version = "0.4.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Aaron Quint"]
@@ -25,20 +25,20 @@ Gem::Specification.new do |s|
25
25
  s.specification_version = 3
26
26
 
27
27
  if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28
- s.add_runtime_dependency(%q<rubigen>, ["= 1.5.2"])
28
+ s.add_runtime_dependency(%q<rubigen>, ["= 1.5.8"])
29
29
  s.add_runtime_dependency(%q<sinatra>, [">= 0.9.4"])
30
30
  s.add_runtime_dependency(%q<rack-test>, [">= 0.4.1"])
31
31
  s.add_development_dependency(%q<newgem>, [">= 1.5.2"])
32
32
  s.add_development_dependency(%q<hoe>, [">= 2.3.3"])
33
33
  else
34
- s.add_dependency(%q<rubigen>, ["= 1.5.2"])
34
+ s.add_dependency(%q<rubigen>, ["= 1.5.8"])
35
35
  s.add_dependency(%q<sinatra>, [">= 0.9.4"])
36
36
  s.add_dependency(%q<rack-test>, [">= 0.4.1"])
37
37
  s.add_dependency(%q<newgem>, [">= 1.5.2"])
38
38
  s.add_dependency(%q<hoe>, [">= 2.3.3"])
39
39
  end
40
40
  else
41
- s.add_dependency(%q<rubigen>, ["= 1.5.2"])
41
+ s.add_dependency(%q<rubigen>, ["= 1.5.8"])
42
42
  s.add_dependency(%q<sinatra>, [">= 0.9.4"])
43
43
  s.add_dependency(%q<rack-test>, [">= 0.4.1"])
44
44
  s.add_dependency(%q<newgem>, [">= 1.5.2"])
metadata CHANGED
@@ -1,104 +1,110 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sinatra-gen
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 4
8
- - 1
9
- version: 0.4.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.4.2
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Aaron Quint
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2010-05-15 00:00:00 -04:00
18
- default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-10-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rubigen
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- requirements:
25
- - - "="
26
- - !ruby/object:Gem::Version
27
- segments:
28
- - 1
29
- - 5
30
- - 2
31
- version: 1.5.2
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - '='
20
+ - !ruby/object:Gem::Version
21
+ version: 1.5.8
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: sinatra
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
38
- requirements:
39
- - - ">="
40
- - !ruby/object:Gem::Version
41
- segments:
42
- - 0
43
- - 9
44
- - 4
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - '='
28
+ - !ruby/object:Gem::Version
29
+ version: 1.5.8
30
+ - !ruby/object:Gem::Dependency
31
+ name: sinatra
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
45
37
  version: 0.9.4
46
38
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: rack-test
50
39
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
52
- requirements:
53
- - - ">="
54
- - !ruby/object:Gem::Version
55
- segments:
56
- - 0
57
- - 4
58
- - 1
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.4
46
+ - !ruby/object:Gem::Dependency
47
+ name: rack-test
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
59
53
  version: 0.4.1
60
54
  type: :runtime
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: newgem
64
55
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
66
- requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- segments:
70
- - 1
71
- - 5
72
- - 2
73
- version: 1.5.2
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 0.4.1
62
+ - !ruby/object:Gem::Dependency
63
+ name: newgem
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: 1.5.3
74
70
  type: :development
75
- version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
77
- name: hoe
78
71
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
80
- requirements:
81
- - - ">="
82
- - !ruby/object:Gem::Version
83
- segments:
84
- - 2
85
- - 6
86
- - 0
87
- version: 2.6.0
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 1.5.3
78
+ - !ruby/object:Gem::Dependency
79
+ name: hoe
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ~>
84
+ - !ruby/object:Gem::Version
85
+ version: '3.0'
88
86
  type: :development
89
- version_requirements: *id005
90
- description: sinatra-gen generates a common file structure and basic app files for a web app utilizing the sinatra framework. For more information on sinatra, check out http://sinatrarb.com
91
- email:
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '3.0'
94
+ description: sinatra-gen generates a common file structure and basic app files for
95
+ a web app utilizing the sinatra framework. For more information on sinatra, check
96
+ out http://sinatrarb.com
97
+ email:
92
98
  - aaron@quirkey.com
93
- executables:
99
+ executables:
94
100
  - sinatra-gen
95
101
  extensions: []
96
-
97
- extra_rdoc_files:
102
+ extra_rdoc_files:
98
103
  - History.txt
99
104
  - Manifest.txt
100
105
  - PostInstall.txt
101
- files:
106
+ - README.rdoc
107
+ files:
102
108
  - History.txt
103
109
  - Manifest.txt
104
110
  - PostInstall.txt
@@ -127,38 +133,38 @@ files:
127
133
  - bin/sinatra-gen
128
134
  - lib/sinatra-gen.rb
129
135
  - sinatra-gen.gemspec
130
- has_rdoc: true
131
- homepage:
136
+ - test/test_generator_helper.rb
137
+ - test/test_helper.rb
138
+ - test/test_sinatra_app_generator.rb
139
+ - .gemtest
140
+ homepage: http://github.com/quirkey/sinatra-gen
132
141
  licenses: []
133
-
134
142
  post_install_message:
135
- rdoc_options:
143
+ rdoc_options:
136
144
  - --main
137
- - README.txt
138
- require_paths:
145
+ - README.rdoc
146
+ require_paths:
139
147
  - lib
140
- required_ruby_version: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- segments:
145
- - 0
146
- version: "0"
147
- required_rubygems_version: !ruby/object:Gem::Requirement
148
- requirements:
149
- - - ">="
150
- - !ruby/object:Gem::Version
151
- segments:
152
- - 0
153
- version: "0"
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ none: false
150
+ requirements:
151
+ - - ! '>='
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ required_rubygems_version: !ruby/object:Gem::Requirement
155
+ none: false
156
+ requirements:
157
+ - - ! '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
154
160
  requirements: []
155
-
156
161
  rubyforge_project: quirkey
157
- rubygems_version: 1.3.6
162
+ rubygems_version: 1.8.23
158
163
  signing_key:
159
164
  specification_version: 3
160
- summary: sinatra-gen generates a common file structure and basic app files for a web app utilizing the sinatra framework
161
- test_files:
165
+ summary: sinatra-gen generates a common file structure and basic app files for a web
166
+ app utilizing the sinatra framework
167
+ test_files:
162
168
  - test/test_generator_helper.rb
163
169
  - test/test_helper.rb
164
170
  - test/test_sinatra_app_generator.rb