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.
- data/.gemtest +0 -0
- data/History.txt +0 -5
- data/Rakefile +1 -1
- data/app_generators/sinatra_app/sinatra_app_generator.rb +2 -2
- data/lib/sinatra-gen.rb +2 -2
- data/sinatra-gen.gemspec +4 -4
- metadata +107 -101
data/.gemtest
ADDED
File without changes
|
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -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/
|
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
|
data/lib/sinatra-gen.rb
CHANGED
data/sinatra-gen.gemspec
CHANGED
@@ -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.
|
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.
|
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.
|
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.
|
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
|
-
|
5
|
-
|
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
|
-
|
18
|
-
|
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
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
|
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
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
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
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
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
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
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
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
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
|
-
|
90
|
-
|
91
|
-
|
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
|
-
|
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
|
-
|
131
|
-
|
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.
|
138
|
-
require_paths:
|
145
|
+
- README.rdoc
|
146
|
+
require_paths:
|
139
147
|
- lib
|
140
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
requirements:
|
149
|
-
- -
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
|
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.
|
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
|
161
|
-
|
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
|