singem 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/generators/cucumber/templates/Gemfile +7 -6
- data/lib/generators/cucumber/templates/config.ru.erb +13 -1
- data/lib/generators/cucumber/templates/lib/templates/app.rb.erb +1 -1
- data/lib/generators/twitter/templates/Gemfile +9 -8
- data/lib/generators/twitter/templates/config.ru.erb +13 -1
- data/lib/generators/twitter/templates/lib/templates/app.rb.erb +1 -1
- metadata +26 -13
data/Rakefile
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
source :gemcutter
|
2
2
|
|
3
3
|
group :runtime do
|
4
|
-
gem 'rack_hoptoad', '~>0.1.
|
4
|
+
gem 'rack_hoptoad', '~>0.1.2', :require => 'rack/hoptoad'
|
5
5
|
gem 'haml', '~>2.2.0'
|
6
|
-
gem 'sinatra', '~>0.
|
6
|
+
gem 'sinatra', '~>1.0.0'
|
7
|
+
gem 'rack', '~>1.0.0'
|
7
8
|
#gem 'do_sqlite3', '>=0.10.1.1'
|
8
9
|
#gem 'dm-core', '>=0.10.2'
|
9
10
|
#gem 'dm-validations', '>=0.10.2'
|
@@ -12,15 +13,15 @@ end
|
|
12
13
|
|
13
14
|
group :test do
|
14
15
|
gem 'rake'
|
15
|
-
gem 'rspec',
|
16
|
+
gem 'rspec', '~>1.3.0', :require => 'spec'
|
16
17
|
gem 'rcov'
|
18
|
+
gem 'webrat', '~>0.7.0'
|
17
19
|
gem 'shotgun'
|
18
|
-
gem 'bundler', '~>0.9.
|
20
|
+
gem 'bundler', '~>0.9.12'
|
19
21
|
gem 'cucumber'
|
20
|
-
gem 'webrat', '~>0.7.0'
|
21
|
-
gem 'rack-test', '~>0.5.3', :require => 'rack/test'
|
22
22
|
gem 'fakeweb', '>=1.2.8'
|
23
23
|
gem 'randexp', '>=0.1.4'
|
24
|
+
gem 'rack-test', '~>0.5.3', :require => 'rack/test'
|
24
25
|
gem 'ParseTree', '>=3.0.4', :require => [ ]
|
25
26
|
#gem 'dm-sweatshop', '~>0.10.2'
|
26
27
|
end
|
@@ -1,4 +1,14 @@
|
|
1
|
-
|
1
|
+
ENV['RACK_ENV'] ||= 'development'
|
2
|
+
begin
|
3
|
+
require File.expand_path('../.bundle/environment', __FILE__)
|
4
|
+
rescue LoadError
|
5
|
+
require "rubygems"
|
6
|
+
require "bundler"
|
7
|
+
Bundler.setup
|
8
|
+
end
|
9
|
+
|
10
|
+
Bundler.require(:runtime)
|
11
|
+
|
2
12
|
require File.expand_path(File.join(File.dirname(__FILE__), 'lib', '<%= name %>'))
|
3
13
|
|
4
14
|
#DataMapper.setup(:default, "mysql://atmos:fail@localhost/<%= name.capitalize %>_production")
|
@@ -6,3 +16,5 @@ require File.expand_path(File.join(File.dirname(__FILE__), 'lib', '<%= name %>')
|
|
6
16
|
use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"
|
7
17
|
|
8
18
|
run <%= name.camelize %>.app
|
19
|
+
|
20
|
+
# vim:ft=ruby
|
@@ -1,9 +1,10 @@
|
|
1
1
|
source :gemcutter
|
2
2
|
|
3
3
|
group :runtime do
|
4
|
-
gem 'rack_hoptoad',
|
5
|
-
gem 'haml',
|
6
|
-
gem 'sinatra',
|
4
|
+
gem 'rack_hoptoad', '~>0.1.2', :require => 'rack/hoptoad'
|
5
|
+
gem 'haml', '~>2.2.0'
|
6
|
+
gem 'sinatra', '~>1.0.0'
|
7
|
+
gem 'rack', '~>1.0.0'
|
7
8
|
gem 'curb', '>=0.3.7'
|
8
9
|
gem 'json', '>=1.1.6'
|
9
10
|
gem 'oauth', '=0.3.2'
|
@@ -15,15 +16,15 @@ end
|
|
15
16
|
|
16
17
|
group :test do
|
17
18
|
gem 'rake'
|
18
|
-
gem 'rspec',
|
19
|
+
gem 'rspec', '~>1.3.0', :require => 'spec'
|
19
20
|
gem 'rcov'
|
21
|
+
gem 'webrat', '~>0.7.0'
|
20
22
|
gem 'shotgun'
|
21
|
-
gem 'bundler', '~>0.9.
|
23
|
+
gem 'bundler', '~>0.9.12'
|
22
24
|
gem 'cucumber'
|
23
|
-
gem '
|
24
|
-
gem 'rack-test', '~>0.5.3', :require => 'rack/test'
|
25
|
-
gem 'fakeweb', '~>1.2.8'
|
25
|
+
gem 'fakeweb', '>=1.2.8'
|
26
26
|
gem 'randexp', '>=0.1.4'
|
27
|
+
gem 'rack-test', '~>0.5.3', :require => 'rack/test'
|
27
28
|
gem 'ParseTree', '>=3.0.4', :require => [ ]
|
28
29
|
#gem 'dm-sweatshop', '~>0.10.2'
|
29
30
|
end
|
@@ -1,4 +1,14 @@
|
|
1
|
-
|
1
|
+
ENV['RACK_ENV'] ||= 'development'
|
2
|
+
begin
|
3
|
+
require File.expand_path('../.bundle/environment', __FILE__)
|
4
|
+
rescue LoadError
|
5
|
+
require "rubygems"
|
6
|
+
require "bundler"
|
7
|
+
Bundler.setup
|
8
|
+
end
|
9
|
+
|
10
|
+
Bundler.require(:runtime)
|
11
|
+
|
2
12
|
require File.join(File.dirname(__FILE__), 'lib', '<%= name %>')
|
3
13
|
|
4
14
|
ENV['<%= name.upcase %>_READKEY'] = /\w{18}/.gen # this should really be what twitter gives you
|
@@ -9,3 +19,5 @@ ENV['<%= name.upcase %>_READSECRET'] = /\w{24}/.gen # this should really be what
|
|
9
19
|
use Rack::Static, :urls => ["/css", "/img", "/js"], :root => "public"
|
10
20
|
|
11
21
|
run <%= name.camelize %>.app
|
22
|
+
|
23
|
+
# vim:ft=ruby
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: singem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 1
|
9
|
+
version: 0.1.1
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Corey Donohoe
|
@@ -9,29 +14,35 @@ autorequire: singem
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date: 2010-
|
17
|
+
date: 2010-03-23 00:00:00 -07:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
21
|
name: rubigen
|
17
|
-
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
24
|
requirements:
|
21
25
|
- - ">="
|
22
26
|
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 0
|
23
29
|
version: "0"
|
24
|
-
|
30
|
+
type: :runtime
|
31
|
+
version_requirements: *id001
|
25
32
|
- !ruby/object:Gem::Dependency
|
26
33
|
name: bundler
|
27
|
-
|
28
|
-
|
29
|
-
version_requirements: !ruby/object:Gem::Requirement
|
34
|
+
prerelease: false
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
37
|
- - ~>
|
32
38
|
- !ruby/object:Gem::Version
|
39
|
+
segments:
|
40
|
+
- 0
|
41
|
+
- 9
|
42
|
+
- 3
|
33
43
|
version: 0.9.3
|
34
|
-
|
44
|
+
type: :runtime
|
45
|
+
version_requirements: *id002
|
35
46
|
description: A gem that provides generators for sinatra apps, ready to go with rack-test/webrat/randexp and others
|
36
47
|
email: atmos@atmos.org
|
37
48
|
executables:
|
@@ -99,18 +110,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
110
|
requirements:
|
100
111
|
- - ">="
|
101
112
|
- !ruby/object:Gem::Version
|
113
|
+
segments:
|
114
|
+
- 0
|
102
115
|
version: "0"
|
103
|
-
version:
|
104
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
117
|
requirements:
|
106
118
|
- - ">="
|
107
119
|
- !ruby/object:Gem::Version
|
120
|
+
segments:
|
121
|
+
- 0
|
108
122
|
version: "0"
|
109
|
-
version:
|
110
123
|
requirements: []
|
111
124
|
|
112
125
|
rubyforge_project:
|
113
|
-
rubygems_version: 1.3.
|
126
|
+
rubygems_version: 1.3.6
|
114
127
|
signing_key:
|
115
128
|
specification_version: 3
|
116
129
|
summary: A gem that provides generators for sinatra apps, ready to go with rack-test/webrat/randexp and others
|