suspenders 0.1.0.beta.6 → 0.1.0.beta.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,8 @@ Gem::Specification.new do |s|
4
4
  s.rubygems_version = '1.3.5'
5
5
 
6
6
  s.name = 'suspenders'
7
- s.version = '0.1.0.beta.6'
8
- s.date = '2010-11-9'
7
+ s.version = '0.1.0.beta.7'
8
+ s.date = '2010-11-29'
9
9
 
10
10
  s.summary = "Generate a Rails app using thoughtbot's best practices."
11
11
  s.description = <<-HERE
@@ -24,7 +24,8 @@ rush to build something amazing; don't use it if you like missing deadlines.
24
24
  s.rdoc_options = ["--charset=UTF-8"]
25
25
  s.extra_rdoc_files = %w[README.md LICENSE]
26
26
 
27
- s.add_dependency('rails', '>= 3.0.0')
27
+ s.add_dependency('rails', '>= 3.0.3')
28
+ s.add_dependency('bundler', '>= 1.0.7')
28
29
  s.add_dependency('trout', '>= 0.3.0')
29
30
 
30
31
  # = MANIFEST =
@@ -1,6 +1,6 @@
1
1
  development: &default
2
2
  adapter: mysql
3
- database: <%= defined_app_name %>_development
3
+ database: <%= app_name %>_development
4
4
  username: root
5
5
  password:
6
6
  host: localhost
@@ -8,5 +8,5 @@ development: &default
8
8
 
9
9
  test: &TEST
10
10
  <<: *default
11
- database: <%= defined_app_name %>_test
11
+ database: <%= app_name %>_test
12
12
 
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
5
- <title><%= defined_app_name %></title>
5
+ <title><%= app_name %></title>
6
6
  <%%= stylesheet_link_tag :flutie, 'screen', :media => 'all', :cache => true %>
7
7
  <%%= javascript_include_tag "jquery", "jquery-ui", "prefilled_input", "rails", "application", :cache => true %>
8
8
  <%%= csrf_meta_tag %>
@@ -101,10 +101,10 @@ generators_config = <<-RUBY
101
101
  RUBY
102
102
  inject_into_class "config/application.rb", "Application", generators_config
103
103
 
104
- action_mailer_host "development", "#{defined_app_name}.local"
104
+ action_mailer_host "development", "#{app_name}.local"
105
105
  action_mailer_host "test", "example.com"
106
- action_mailer_host "staging", "staging.#{defined_app_name}.com"
107
- action_mailer_host "production", "#{defined_app_name}.com"
106
+ action_mailer_host "staging", "staging.#{app_name}.com"
107
+ action_mailer_host "production", "#{app_name}.com"
108
108
 
109
109
  generate "rspec:install"
110
110
  generate "cucumber:install", "--rspec --capybara"
@@ -119,8 +119,12 @@ copy_file "factory_girl_steps.rb", "features/step_definitions/factory_girl_steps
119
119
  replace_in_file "spec/spec_helper.rb", "mock_with :rspec", "mock_with :mocha"
120
120
 
121
121
  inject_into_file "features/support/env.rb",
122
- %{Capybara.save_and_open_page_path = 'tmp'\n},
122
+ %{Capybara.save_and_open_page_path = 'tmp'\n} +
123
+ %{Capybara.javascript_driver = :akephalos\n},
123
124
  :before => %{Capybara.default_selector = :css}
125
+ replace_in_file "features/support/env.rb",
126
+ %r{require .*capybara_javascript_emulation.*},
127
+ ''
124
128
 
125
129
  rake "flutie:install"
126
130
 
@@ -17,7 +17,8 @@ gem "dynamic_form"
17
17
  # http://blog.davidchelimsky.net/2010/07/11/rspec-rails-2-generators-and-rake-tasks/
18
18
  group :development, :test, :cucumber do
19
19
  gem "rspec-rails", "~> 2.0.0"
20
- gem "ruby-debug"
20
+ gem "ruby-debug", :platforms => :mri_18
21
+ gem "ruby-debug19", :platforms => :mri_19
21
22
  end
22
23
 
23
24
  group :test, :cucumber do
@@ -32,4 +33,6 @@ group :test, :cucumber do
32
33
  gem "treetop"
33
34
  gem "shoulda"
34
35
  gem "launchy"
36
+ gem "akephalos", :git => "git://github.com/thoughtbot/akephalos.git"
37
+ gem "thin"
35
38
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: suspenders
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 62196413
4
5
  prerelease: true
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
9
  - 0
9
10
  - beta
10
- - 6
11
- version: 0.1.0.beta.6
11
+ - 7
12
+ version: 0.1.0.beta.7
12
13
  platform: ruby
13
14
  authors:
14
15
  - thoughtbot
@@ -16,37 +17,57 @@ autorequire:
16
17
  bindir: bin
17
18
  cert_chain: []
18
19
 
19
- date: 2010-11-09 00:00:00 -05:00
20
+ date: 2010-11-29 00:00:00 -05:00
20
21
  default_executable: suspenders
21
22
  dependencies:
22
23
  - !ruby/object:Gem::Dependency
23
24
  name: rails
24
25
  prerelease: false
25
26
  requirement: &id001 !ruby/object:Gem::Requirement
27
+ none: false
26
28
  requirements:
27
29
  - - ">="
28
30
  - !ruby/object:Gem::Version
31
+ hash: 1
29
32
  segments:
30
33
  - 3
31
34
  - 0
32
- - 0
33
- version: 3.0.0
35
+ - 3
36
+ version: 3.0.3
34
37
  type: :runtime
35
38
  version_requirements: *id001
36
39
  - !ruby/object:Gem::Dependency
37
- name: trout
40
+ name: bundler
38
41
  prerelease: false
39
42
  requirement: &id002 !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ hash: 25
48
+ segments:
49
+ - 1
50
+ - 0
51
+ - 7
52
+ version: 1.0.7
53
+ type: :runtime
54
+ version_requirements: *id002
55
+ - !ruby/object:Gem::Dependency
56
+ name: trout
57
+ prerelease: false
58
+ requirement: &id003 !ruby/object:Gem::Requirement
59
+ none: false
40
60
  requirements:
41
61
  - - ">="
42
62
  - !ruby/object:Gem::Version
63
+ hash: 19
43
64
  segments:
44
65
  - 0
45
66
  - 3
46
67
  - 0
47
68
  version: 0.3.0
48
69
  type: :runtime
49
- version_requirements: *id002
70
+ version_requirements: *id003
50
71
  description: |
51
72
  Suspenders is a base Rails project that you can upgrade. It is used by
52
73
  thoughtbot to get a jump start on a working app. Use Suspenders if you're in a
@@ -96,16 +117,20 @@ rdoc_options:
96
117
  require_paths:
97
118
  - lib
98
119
  required_ruby_version: !ruby/object:Gem::Requirement
120
+ none: false
99
121
  requirements:
100
122
  - - ">="
101
123
  - !ruby/object:Gem::Version
124
+ hash: 3
102
125
  segments:
103
126
  - 0
104
127
  version: "0"
105
128
  required_rubygems_version: !ruby/object:Gem::Requirement
129
+ none: false
106
130
  requirements:
107
131
  - - ">"
108
132
  - !ruby/object:Gem::Version
133
+ hash: 25
109
134
  segments:
110
135
  - 1
111
136
  - 3
@@ -114,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
139
  requirements: []
115
140
 
116
141
  rubyforge_project:
117
- rubygems_version: 1.3.6
142
+ rubygems_version: 1.3.7
118
143
  signing_key:
119
144
  specification_version: 2
120
145
  summary: Generate a Rails app using thoughtbot's best practices.