singem 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -3,8 +3,8 @@ source :gemcutter
|
|
3
3
|
group :runtime do
|
4
4
|
gem 'rack_hoptoad', '~>0.1.2', :require => 'rack/hoptoad'
|
5
5
|
gem 'haml', '~>2.2.0'
|
6
|
-
gem 'sinatra', '~>1.0
|
7
|
-
gem 'rack', '~>1.
|
6
|
+
gem 'sinatra', '~>1.0'
|
7
|
+
gem 'rack', '~>1.1.0'
|
8
8
|
#gem 'do_sqlite3', '>=0.10.1.1'
|
9
9
|
#gem 'dm-core', '>=0.10.2'
|
10
10
|
#gem 'dm-validations', '>=0.10.2'
|
@@ -16,8 +16,8 @@ group :test do
|
|
16
16
|
gem 'rspec', '~>1.3.0', :require => 'spec'
|
17
17
|
gem 'rcov'
|
18
18
|
gem 'webrat', '~>0.7.0'
|
19
|
-
gem 'shotgun'
|
20
|
-
gem 'bundler', '~>0.9.
|
19
|
+
#gem 'shotgun'
|
20
|
+
gem 'bundler', '~>0.9.25'
|
21
21
|
gem 'cucumber'
|
22
22
|
gem 'fakeweb', '>=1.2.8'
|
23
23
|
gem 'randexp', '>=0.1.4'
|
@@ -5,7 +5,7 @@ require 'haml/engine'
|
|
5
5
|
module <%= name.camelize %>
|
6
6
|
def self.app
|
7
7
|
@app ||= Rack::Builder.new do
|
8
|
-
# use Rack::
|
8
|
+
# use Rack::Hoptoad 'mysecretkey'
|
9
9
|
# use Rack::Session::Cookie, :key => 'rack.session', :path => '/',
|
10
10
|
# :expire_after => 2592000, :secret => '<%= ::Digest::SHA1.hexdigest(Time.now.to_s) %>'
|
11
11
|
run <%= name.camelize %>::App
|
@@ -4,7 +4,7 @@ group :runtime do
|
|
4
4
|
gem 'rack_hoptoad', '~>0.1.2', :require => 'rack/hoptoad'
|
5
5
|
gem 'haml', '~>2.2.0'
|
6
6
|
gem 'sinatra', '~>1.0.0'
|
7
|
-
gem 'rack', '~>1.
|
7
|
+
gem 'rack', '~>1.1.0'
|
8
8
|
gem 'curb', '>=0.3.7'
|
9
9
|
gem 'json', '>=1.1.6'
|
10
10
|
gem 'oauth', '=0.3.2'
|
@@ -19,8 +19,8 @@ group :test do
|
|
19
19
|
gem 'rspec', '~>1.3.0', :require => 'spec'
|
20
20
|
gem 'rcov'
|
21
21
|
gem 'webrat', '~>0.7.0'
|
22
|
-
gem 'shotgun'
|
23
|
-
gem 'bundler', '~>0.9.
|
22
|
+
#gem 'shotgun'
|
23
|
+
gem 'bundler', '~>0.9.25'
|
24
24
|
gem 'cucumber'
|
25
25
|
gem 'fakeweb', '>=1.2.8'
|
26
26
|
gem 'randexp', '>=0.1.4'
|
@@ -15,7 +15,7 @@ module <%= name.camelize %>
|
|
15
15
|
def self.logger
|
16
16
|
if @logger.nil?
|
17
17
|
@logger = Logger.new("<%= name %>.log")
|
18
|
-
@logger.level = Logger::INFO
|
18
|
+
@logger.level = Logger::INFO
|
19
19
|
end
|
20
20
|
@logger
|
21
21
|
end
|
@@ -43,7 +43,7 @@ module <%= name.camelize %>
|
|
43
43
|
|
44
44
|
def self.app
|
45
45
|
@app ||= Rack::Builder.new do
|
46
|
-
# use Rack::
|
46
|
+
# use Rack::Hoptoad 'mysecretkey'
|
47
47
|
use Rack::Session::Cookie, :key => 'rack.session', :path => '/',
|
48
48
|
:expire_after => 2592000, :secret => '<%= ::Digest::SHA1.hexdigest(Time.now.to_s) %>'
|
49
49
|
run <%= name.camelize %>::App
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: singem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 31
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 2
|
10
|
+
version: 0.1.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Corey Donohoe
|
@@ -14,16 +15,18 @@ autorequire: singem
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-
|
18
|
+
date: 2010-05-27 00:00:00 -07:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: rubigen
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
27
|
- - ">="
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
27
30
|
segments:
|
28
31
|
- 0
|
29
32
|
version: "0"
|
@@ -33,9 +36,11 @@ dependencies:
|
|
33
36
|
name: bundler
|
34
37
|
prerelease: false
|
35
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
36
40
|
requirements:
|
37
41
|
- - ~>
|
38
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 61
|
39
44
|
segments:
|
40
45
|
- 0
|
41
46
|
- 9
|
@@ -97,6 +102,7 @@ files:
|
|
97
102
|
- lib/singen.rb
|
98
103
|
- spec/singem_spec.rb
|
99
104
|
- spec/spec_helper.rb
|
105
|
+
- bin/singem
|
100
106
|
has_rdoc: true
|
101
107
|
homepage: http://github.com/atmos/singem
|
102
108
|
licenses: []
|
@@ -107,23 +113,27 @@ rdoc_options: []
|
|
107
113
|
require_paths:
|
108
114
|
- lib
|
109
115
|
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
110
117
|
requirements:
|
111
118
|
- - ">="
|
112
119
|
- !ruby/object:Gem::Version
|
120
|
+
hash: 3
|
113
121
|
segments:
|
114
122
|
- 0
|
115
123
|
version: "0"
|
116
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
117
126
|
requirements:
|
118
127
|
- - ">="
|
119
128
|
- !ruby/object:Gem::Version
|
129
|
+
hash: 3
|
120
130
|
segments:
|
121
131
|
- 0
|
122
132
|
version: "0"
|
123
133
|
requirements: []
|
124
134
|
|
125
135
|
rubyforge_project:
|
126
|
-
rubygems_version: 1.3.
|
136
|
+
rubygems_version: 1.3.7
|
127
137
|
signing_key:
|
128
138
|
specification_version: 3
|
129
139
|
summary: A gem that provides generators for sinatra apps, ready to go with rack-test/webrat/randexp and others
|