suspenders 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +29 -29
- data/lib/suspenders/app_builder.rb +7 -0
- data/lib/suspenders/generators/app_generator.rb +1 -0
- data/lib/suspenders/version.rb +1 -1
- data/suspenders.gemspec +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
@@ -1,39 +1,39 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
suspenders (1.1.
|
4
|
+
suspenders (1.1.4)
|
5
5
|
bundler (>= 1.1)
|
6
6
|
hub (~> 1.10.2)
|
7
|
-
rails (= 3.2.
|
7
|
+
rails (= 3.2.8)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: http://rubygems.org/
|
11
11
|
specs:
|
12
|
-
actionmailer (3.2.
|
13
|
-
actionpack (= 3.2.
|
12
|
+
actionmailer (3.2.8)
|
13
|
+
actionpack (= 3.2.8)
|
14
14
|
mail (~> 2.4.4)
|
15
|
-
actionpack (3.2.
|
16
|
-
activemodel (= 3.2.
|
17
|
-
activesupport (= 3.2.
|
15
|
+
actionpack (3.2.8)
|
16
|
+
activemodel (= 3.2.8)
|
17
|
+
activesupport (= 3.2.8)
|
18
18
|
builder (~> 3.0.0)
|
19
19
|
erubis (~> 2.7.0)
|
20
|
-
journey (~> 1.0.
|
20
|
+
journey (~> 1.0.4)
|
21
21
|
rack (~> 1.4.0)
|
22
22
|
rack-cache (~> 1.2)
|
23
23
|
rack-test (~> 0.6.1)
|
24
24
|
sprockets (~> 2.1.3)
|
25
|
-
activemodel (3.2.
|
26
|
-
activesupport (= 3.2.
|
25
|
+
activemodel (3.2.8)
|
26
|
+
activesupport (= 3.2.8)
|
27
27
|
builder (~> 3.0.0)
|
28
|
-
activerecord (3.2.
|
29
|
-
activemodel (= 3.2.
|
30
|
-
activesupport (= 3.2.
|
28
|
+
activerecord (3.2.8)
|
29
|
+
activemodel (= 3.2.8)
|
30
|
+
activesupport (= 3.2.8)
|
31
31
|
arel (~> 3.0.2)
|
32
32
|
tzinfo (~> 0.3.29)
|
33
|
-
activeresource (3.2.
|
34
|
-
activemodel (= 3.2.
|
35
|
-
activesupport (= 3.2.
|
36
|
-
activesupport (3.2.
|
33
|
+
activeresource (3.2.8)
|
34
|
+
activemodel (= 3.2.8)
|
35
|
+
activesupport (= 3.2.8)
|
36
|
+
activesupport (3.2.8)
|
37
37
|
i18n (~> 0.6)
|
38
38
|
multi_json (~> 1.0)
|
39
39
|
arel (3.0.2)
|
@@ -58,7 +58,7 @@ GEM
|
|
58
58
|
json (>= 1.4.6)
|
59
59
|
hike (1.2.1)
|
60
60
|
hub (1.10.2)
|
61
|
-
i18n (0.6.
|
61
|
+
i18n (0.6.1)
|
62
62
|
journey (1.0.4)
|
63
63
|
json (1.6.6)
|
64
64
|
mail (2.4.4)
|
@@ -75,17 +75,17 @@ GEM
|
|
75
75
|
rack
|
76
76
|
rack-test (0.6.1)
|
77
77
|
rack (>= 1.0)
|
78
|
-
rails (3.2.
|
79
|
-
actionmailer (= 3.2.
|
80
|
-
actionpack (= 3.2.
|
81
|
-
activerecord (= 3.2.
|
82
|
-
activeresource (= 3.2.
|
83
|
-
activesupport (= 3.2.
|
78
|
+
rails (3.2.8)
|
79
|
+
actionmailer (= 3.2.8)
|
80
|
+
actionpack (= 3.2.8)
|
81
|
+
activerecord (= 3.2.8)
|
82
|
+
activeresource (= 3.2.8)
|
83
|
+
activesupport (= 3.2.8)
|
84
84
|
bundler (~> 1.0)
|
85
|
-
railties (= 3.2.
|
86
|
-
railties (3.2.
|
87
|
-
actionpack (= 3.2.
|
88
|
-
activesupport (= 3.2.
|
85
|
+
railties (= 3.2.8)
|
86
|
+
railties (3.2.8)
|
87
|
+
actionpack (= 3.2.8)
|
88
|
+
activesupport (= 3.2.8)
|
89
89
|
rack-ssl (~> 1.3.2)
|
90
90
|
rake (>= 0.8.7)
|
91
91
|
rdoc (~> 3.4)
|
@@ -106,7 +106,7 @@ GEM
|
|
106
106
|
rack (~> 1.0)
|
107
107
|
tilt (~> 1.1, != 1.3.0)
|
108
108
|
term-ansicolor (1.0.7)
|
109
|
-
thor (0.
|
109
|
+
thor (0.16.0)
|
110
110
|
tilt (1.3.3)
|
111
111
|
treetop (1.4.10)
|
112
112
|
polyglot
|
@@ -99,6 +99,13 @@ module Suspenders
|
|
99
99
|
inject_into_class 'config/application.rb', 'Application', generators_config
|
100
100
|
end
|
101
101
|
|
102
|
+
def configure_time_zone
|
103
|
+
time_zone_config = <<-RUBY
|
104
|
+
config.active_record.default_timezone = :utc
|
105
|
+
RUBY
|
106
|
+
inject_into_class "config/application.rb", "Application", time_zone_config
|
107
|
+
end
|
108
|
+
|
102
109
|
def configure_action_mailer
|
103
110
|
action_mailer_host 'development', "#{app_name}.local"
|
104
111
|
action_mailer_host 'test', 'example.com'
|
@@ -111,6 +111,7 @@ module Suspenders
|
|
111
111
|
build :configure_rspec
|
112
112
|
build :configure_action_mailer
|
113
113
|
build :generate_rspec
|
114
|
+
build :configure_time_zone
|
114
115
|
build :generate_cucumber, :webkit => options[:webkit]
|
115
116
|
build :setup_guard_spork
|
116
117
|
build :add_email_validator
|
data/lib/suspenders/version.rb
CHANGED
data/suspenders.gemspec
CHANGED
@@ -27,7 +27,7 @@ rush to build something amazing; don't use it if you like missing deadlines.
|
|
27
27
|
s.rdoc_options = ["--charset=UTF-8"]
|
28
28
|
s.extra_rdoc_files = %w[README.md LICENSE]
|
29
29
|
|
30
|
-
s.add_dependency 'rails', '3.2.
|
30
|
+
s.add_dependency 'rails', '3.2.8'
|
31
31
|
s.add_dependency 'bundler', '>= 1.1'
|
32
32
|
s.add_dependency 'hub', '~> 1.10.2'
|
33
33
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: suspenders
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.8
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.8
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: bundler
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|