high_voltage 2.2.1 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -3
- data/.travis.yml +7 -14
- data/Appraisals +3 -10
- data/CONTRIBUTING.md +4 -1
- data/Gemfile.lock +61 -42
- data/MIT-LICENSE +1 -1
- data/NEWS.md +5 -0
- data/README.md +71 -10
- data/app/controllers/concerns/high_voltage/static_page.rb +7 -1
- data/gemfiles/{rails3.1.gemfile → rails4.2.gemfile} +3 -1
- data/high_voltage.gemspec +1 -1
- data/lib/high_voltage/page_finder.rb +11 -1
- data/lib/high_voltage/version.rb +1 -1
- data/spec/constraints/root_route_spec.rb +4 -4
- data/spec/controllers/pages_controller_spec.rb +57 -52
- data/spec/fake_app.rb +18 -0
- data/spec/{dummy → fixtures}/app/views/layouts/alternate.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/layouts/application.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/other/wrong.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/other_pages/also_dir/also_nested.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/other_pages/also_exists.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/also_dir/also_nested.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/also_exists.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/dir/nested.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/exists.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/exists_but_references_nonexistent_partial.html.erb +0 -0
- data/spec/{dummy → fixtures}/app/views/pages/rot13.html.erb +0 -0
- data/spec/fixtures/config/database.yml +3 -0
- data/spec/{dummy → fixtures}/config/routes.rb +0 -0
- data/spec/{dummy → fixtures}/public/pages/exists.html +0 -0
- data/spec/high_voltage/page_finder_spec.rb +30 -14
- data/spec/spec_helper.rb +14 -8
- data/spec/{dummy → support}/app/controllers/alternative_finder_controller.rb +0 -0
- data/spec/{dummy → support}/app/controllers/subclassed_pages_controller.rb +0 -0
- metadata +46 -105
- data/gemfiles/rails3.1.gemfile.lock +0 -121
- data/gemfiles/rails3.2.gemfile +0 -8
- data/gemfiles/rails3.2.gemfile.lock +0 -119
- data/gemfiles/rails4.0.gemfile.lock +0 -118
- data/gemfiles/rails4.1.gemfile.lock +0 -124
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/config/application.rb +0 -43
- data/spec/dummy/config/boot.rb +0 -10
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -25
- data/spec/dummy/config/environments/production.rb +0 -49
- data/spec/dummy/config/environments/test.rb +0 -30
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/inflections.rb +0 -10
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_key_base.rb +0 -1
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/public/404.html +0 -26
- data/spec/dummy/public/422.html +0 -26
- data/spec/dummy/public/500.html +0 -26
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/javascripts/application.js +0 -2
- data/spec/dummy/public/javascripts/controls.js +0 -965
- data/spec/dummy/public/javascripts/dragdrop.js +0 -974
- data/spec/dummy/public/javascripts/effects.js +0 -1123
- data/spec/dummy/public/javascripts/prototype.js +0 -6001
- data/spec/dummy/public/javascripts/rails.js +0 -191
- data/spec/dummy/public/stylesheets/.gitkeep +0 -0
- data/spec/dummy/script/rails +0 -6
data/spec/{dummy → fixtures}/app/views/pages/exists_but_references_nonexistent_partial.html.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,34 +1,50 @@
|
|
1
|
-
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require "spec_helper"
|
2
4
|
|
3
5
|
describe HighVoltage::PageFinder do
|
4
|
-
it
|
5
|
-
expect(find(
|
6
|
+
it "produces the name of an existing template" do
|
7
|
+
expect(find("existing")).to eq "pages/existing"
|
6
8
|
end
|
7
9
|
|
8
|
-
it
|
9
|
-
expect(find(
|
10
|
+
it "produces the name of a nested template" do
|
11
|
+
expect(find("dir/nested")).to eq "pages/dir/nested"
|
10
12
|
end
|
11
13
|
|
12
|
-
it
|
13
|
-
with_content_path(
|
14
|
-
expect(find(
|
14
|
+
it "uses a custom content path" do
|
15
|
+
with_content_path("other_pages/") do
|
16
|
+
expect(find("also_exists")).to eq "other_pages/also_exists"
|
15
17
|
end
|
16
18
|
end
|
17
19
|
|
18
|
-
it
|
19
|
-
with_content_path(
|
20
|
-
expect(page_finder.content_path).to eq
|
20
|
+
it "exposes the content path" do
|
21
|
+
with_content_path("another_thing/") do
|
22
|
+
expect(page_finder.content_path).to eq "another_thing/"
|
21
23
|
end
|
22
24
|
end
|
23
25
|
|
24
|
-
it
|
26
|
+
it "provides the page_id" do
|
25
27
|
subclass = Class.new(HighVoltage::PageFinder) do
|
26
28
|
def page_name
|
27
29
|
"the page is #{page_id}"
|
28
30
|
end
|
29
31
|
end
|
30
32
|
|
31
|
-
expect(subclass.new(
|
33
|
+
expect(subclass.new("sweet page").page_name).to eq "the page is sweet page"
|
34
|
+
end
|
35
|
+
|
36
|
+
it "removes invalid characters from the page_id" do
|
37
|
+
expect(find("b\\a…d√")).to eq "pages/bad"
|
38
|
+
end
|
39
|
+
|
40
|
+
context "sanitized page_id" do
|
41
|
+
it "throws an exception if the page_id is empty" do
|
42
|
+
expect { find("\\…√") }.to raise_error HighVoltage::InvalidPageIdError
|
43
|
+
end
|
44
|
+
|
45
|
+
it "throws an exception if the page_id is just a file extension" do
|
46
|
+
expect { find("\\√.zip") }.to raise_error HighVoltage::InvalidPageIdError
|
47
|
+
end
|
32
48
|
end
|
33
49
|
|
34
50
|
private
|
@@ -37,7 +53,7 @@ describe HighVoltage::PageFinder do
|
|
37
53
|
page_finder(page_id).find
|
38
54
|
end
|
39
55
|
|
40
|
-
def page_finder(page_id =
|
56
|
+
def page_finder(page_id = "whatever")
|
41
57
|
HighVoltage::PageFinder.new(page_id)
|
42
58
|
end
|
43
59
|
|
data/spec/spec_helper.rb
CHANGED
@@ -1,17 +1,23 @@
|
|
1
|
-
ENV[
|
1
|
+
ENV["RAILS_ENV"] = "test"
|
2
2
|
|
3
|
-
require
|
3
|
+
require "pry"
|
4
|
+
require "active_model/railtie"
|
5
|
+
require "action_controller/railtie"
|
6
|
+
require "action_view/railtie"
|
7
|
+
require "actionpack/action_caching/railtie"
|
8
|
+
require "actionpack/page_caching/railtie"
|
9
|
+
require "rspec/rails"
|
4
10
|
|
5
|
-
require
|
6
|
-
require
|
7
|
-
require 'rspec/expectations'
|
8
|
-
require 'rspec/rails'
|
11
|
+
require "high_voltage"
|
12
|
+
require "fake_app"
|
9
13
|
|
10
14
|
Rails.backtrace_cleaner.remove_silencers!
|
11
15
|
|
12
|
-
Dir[File.dirname(__FILE__) +
|
16
|
+
Dir[File.dirname(__FILE__) + "/support/**/*.rb"].each { |file| require file }
|
13
17
|
|
14
18
|
RSpec.configure do |config|
|
19
|
+
config.infer_spec_type_from_file_location!
|
20
|
+
|
15
21
|
config.after(:each) do
|
16
22
|
HighVoltage.set_default_configuration
|
17
23
|
Rails.application.reload_routes!
|
@@ -23,5 +29,5 @@ RSpec.configure do |config|
|
|
23
29
|
|
24
30
|
config.include RSpec::Matchers
|
25
31
|
config.mock_with :rspec
|
26
|
-
config.order =
|
32
|
+
config.order = "random"
|
27
33
|
end
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: high_voltage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Jankowski
|
@@ -16,7 +16,7 @@ authors:
|
|
16
16
|
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date:
|
19
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
name: activesupport
|
@@ -50,16 +50,16 @@ dependencies:
|
|
50
50
|
name: rspec-rails
|
51
51
|
requirement: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
|
-
- - "
|
53
|
+
- - "~>"
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 3.2.0
|
56
56
|
type: :development
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - "
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version:
|
62
|
+
version: 3.2.0
|
63
63
|
description: Fire in the disco. Fire in the ... taco bell.
|
64
64
|
email:
|
65
65
|
- support@thoughtbot.com
|
@@ -80,14 +80,9 @@ files:
|
|
80
80
|
- app/controllers/concerns/high_voltage/static_page.rb
|
81
81
|
- app/controllers/high_voltage/pages_controller.rb
|
82
82
|
- config/routes.rb
|
83
|
-
- gemfiles/rails3.1.gemfile
|
84
|
-
- gemfiles/rails3.1.gemfile.lock
|
85
|
-
- gemfiles/rails3.2.gemfile
|
86
|
-
- gemfiles/rails3.2.gemfile.lock
|
87
83
|
- gemfiles/rails4.0.gemfile
|
88
|
-
- gemfiles/rails4.0.gemfile.lock
|
89
84
|
- gemfiles/rails4.1.gemfile
|
90
|
-
- gemfiles/rails4.
|
85
|
+
- gemfiles/rails4.2.gemfile
|
91
86
|
- high_voltage.gemspec
|
92
87
|
- lib/high_voltage.rb
|
93
88
|
- lib/high_voltage/configuration.rb
|
@@ -103,52 +98,23 @@ files:
|
|
103
98
|
- spec/controllers/page_caching_controller_spec.rb
|
104
99
|
- spec/controllers/pages_controller_spec.rb
|
105
100
|
- spec/controllers/subclassed_pages_controller_spec.rb
|
106
|
-
- spec/
|
107
|
-
- spec/
|
108
|
-
- spec/
|
109
|
-
- spec/
|
110
|
-
- spec/
|
111
|
-
- spec/
|
112
|
-
- spec/
|
113
|
-
- spec/
|
114
|
-
- spec/
|
115
|
-
- spec/
|
116
|
-
- spec/
|
117
|
-
- spec/
|
118
|
-
- spec/
|
119
|
-
- spec/
|
120
|
-
- spec/
|
121
|
-
- spec/
|
122
|
-
- spec/
|
123
|
-
- spec/dummy/app/views/pages/rot13.html.erb
|
124
|
-
- spec/dummy/config.ru
|
125
|
-
- spec/dummy/config/application.rb
|
126
|
-
- spec/dummy/config/boot.rb
|
127
|
-
- spec/dummy/config/environment.rb
|
128
|
-
- spec/dummy/config/environments/development.rb
|
129
|
-
- spec/dummy/config/environments/production.rb
|
130
|
-
- spec/dummy/config/environments/test.rb
|
131
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
132
|
-
- spec/dummy/config/initializers/inflections.rb
|
133
|
-
- spec/dummy/config/initializers/mime_types.rb
|
134
|
-
- spec/dummy/config/initializers/secret_key_base.rb
|
135
|
-
- spec/dummy/config/initializers/secret_token.rb
|
136
|
-
- spec/dummy/config/initializers/session_store.rb
|
137
|
-
- spec/dummy/config/locales/en.yml
|
138
|
-
- spec/dummy/config/routes.rb
|
139
|
-
- spec/dummy/public/404.html
|
140
|
-
- spec/dummy/public/422.html
|
141
|
-
- spec/dummy/public/500.html
|
142
|
-
- spec/dummy/public/favicon.ico
|
143
|
-
- spec/dummy/public/javascripts/application.js
|
144
|
-
- spec/dummy/public/javascripts/controls.js
|
145
|
-
- spec/dummy/public/javascripts/dragdrop.js
|
146
|
-
- spec/dummy/public/javascripts/effects.js
|
147
|
-
- spec/dummy/public/javascripts/prototype.js
|
148
|
-
- spec/dummy/public/javascripts/rails.js
|
149
|
-
- spec/dummy/public/pages/exists.html
|
150
|
-
- spec/dummy/public/stylesheets/.gitkeep
|
151
|
-
- spec/dummy/script/rails
|
101
|
+
- spec/fake_app.rb
|
102
|
+
- spec/fixtures/app/views/layouts/alternate.html.erb
|
103
|
+
- spec/fixtures/app/views/layouts/application.html.erb
|
104
|
+
- spec/fixtures/app/views/other/wrong.html.erb
|
105
|
+
- spec/fixtures/app/views/other_pages/also_dir/also_nested.html.erb
|
106
|
+
- spec/fixtures/app/views/other_pages/also_exists.html.erb
|
107
|
+
- spec/fixtures/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb
|
108
|
+
- spec/fixtures/app/views/pages/also_dir/also_nested.html.erb
|
109
|
+
- spec/fixtures/app/views/pages/also_exists.html.erb
|
110
|
+
- spec/fixtures/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb
|
111
|
+
- spec/fixtures/app/views/pages/dir/nested.html.erb
|
112
|
+
- spec/fixtures/app/views/pages/exists.html.erb
|
113
|
+
- spec/fixtures/app/views/pages/exists_but_references_nonexistent_partial.html.erb
|
114
|
+
- spec/fixtures/app/views/pages/rot13.html.erb
|
115
|
+
- spec/fixtures/config/database.yml
|
116
|
+
- spec/fixtures/config/routes.rb
|
117
|
+
- spec/fixtures/public/pages/exists.html
|
152
118
|
- spec/high_voltage/configuration_spec.rb
|
153
119
|
- spec/high_voltage/page_finder_spec.rb
|
154
120
|
- spec/high_voltage_spec.rb
|
@@ -157,6 +123,8 @@ files:
|
|
157
123
|
- spec/requests/home_page_spec.rb
|
158
124
|
- spec/routing/routes_spec.rb
|
159
125
|
- spec/spec_helper.rb
|
126
|
+
- spec/support/app/controllers/alternative_finder_controller.rb
|
127
|
+
- spec/support/app/controllers/subclassed_pages_controller.rb
|
160
128
|
homepage: http://github.com/thoughtbot/high_voltage
|
161
129
|
licenses:
|
162
130
|
- MIT
|
@@ -177,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
145
|
version: '0'
|
178
146
|
requirements: []
|
179
147
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.5
|
181
149
|
signing_key:
|
182
150
|
specification_version: 4
|
183
151
|
summary: Simple static page rendering controller
|
@@ -188,52 +156,23 @@ test_files:
|
|
188
156
|
- spec/controllers/page_caching_controller_spec.rb
|
189
157
|
- spec/controllers/pages_controller_spec.rb
|
190
158
|
- spec/controllers/subclassed_pages_controller_spec.rb
|
191
|
-
- spec/
|
192
|
-
- spec/
|
193
|
-
- spec/
|
194
|
-
- spec/
|
195
|
-
- spec/
|
196
|
-
- spec/
|
197
|
-
- spec/
|
198
|
-
- spec/
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/
|
205
|
-
- spec/
|
206
|
-
- spec/
|
207
|
-
- spec/
|
208
|
-
- spec/dummy/app/views/pages/rot13.html.erb
|
209
|
-
- spec/dummy/config.ru
|
210
|
-
- spec/dummy/config/application.rb
|
211
|
-
- spec/dummy/config/boot.rb
|
212
|
-
- spec/dummy/config/environment.rb
|
213
|
-
- spec/dummy/config/environments/development.rb
|
214
|
-
- spec/dummy/config/environments/production.rb
|
215
|
-
- spec/dummy/config/environments/test.rb
|
216
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
217
|
-
- spec/dummy/config/initializers/inflections.rb
|
218
|
-
- spec/dummy/config/initializers/mime_types.rb
|
219
|
-
- spec/dummy/config/initializers/secret_key_base.rb
|
220
|
-
- spec/dummy/config/initializers/secret_token.rb
|
221
|
-
- spec/dummy/config/initializers/session_store.rb
|
222
|
-
- spec/dummy/config/locales/en.yml
|
223
|
-
- spec/dummy/config/routes.rb
|
224
|
-
- spec/dummy/public/404.html
|
225
|
-
- spec/dummy/public/422.html
|
226
|
-
- spec/dummy/public/500.html
|
227
|
-
- spec/dummy/public/favicon.ico
|
228
|
-
- spec/dummy/public/javascripts/application.js
|
229
|
-
- spec/dummy/public/javascripts/controls.js
|
230
|
-
- spec/dummy/public/javascripts/dragdrop.js
|
231
|
-
- spec/dummy/public/javascripts/effects.js
|
232
|
-
- spec/dummy/public/javascripts/prototype.js
|
233
|
-
- spec/dummy/public/javascripts/rails.js
|
234
|
-
- spec/dummy/public/pages/exists.html
|
235
|
-
- spec/dummy/public/stylesheets/.gitkeep
|
236
|
-
- spec/dummy/script/rails
|
159
|
+
- spec/fake_app.rb
|
160
|
+
- spec/fixtures/app/views/layouts/alternate.html.erb
|
161
|
+
- spec/fixtures/app/views/layouts/application.html.erb
|
162
|
+
- spec/fixtures/app/views/other/wrong.html.erb
|
163
|
+
- spec/fixtures/app/views/other_pages/also_dir/also_nested.html.erb
|
164
|
+
- spec/fixtures/app/views/other_pages/also_exists.html.erb
|
165
|
+
- spec/fixtures/app/views/other_pages/also_exists_but_references_nonexistent_partial.html.erb
|
166
|
+
- spec/fixtures/app/views/pages/also_dir/also_nested.html.erb
|
167
|
+
- spec/fixtures/app/views/pages/also_exists.html.erb
|
168
|
+
- spec/fixtures/app/views/pages/also_exists_but_references_nonexistent_partial.html.erb
|
169
|
+
- spec/fixtures/app/views/pages/dir/nested.html.erb
|
170
|
+
- spec/fixtures/app/views/pages/exists.html.erb
|
171
|
+
- spec/fixtures/app/views/pages/exists_but_references_nonexistent_partial.html.erb
|
172
|
+
- spec/fixtures/app/views/pages/rot13.html.erb
|
173
|
+
- spec/fixtures/config/database.yml
|
174
|
+
- spec/fixtures/config/routes.rb
|
175
|
+
- spec/fixtures/public/pages/exists.html
|
237
176
|
- spec/high_voltage/configuration_spec.rb
|
238
177
|
- spec/high_voltage/page_finder_spec.rb
|
239
178
|
- spec/high_voltage_spec.rb
|
@@ -242,3 +181,5 @@ test_files:
|
|
242
181
|
- spec/requests/home_page_spec.rb
|
243
182
|
- spec/routing/routes_spec.rb
|
244
183
|
- spec/spec_helper.rb
|
184
|
+
- spec/support/app/controllers/alternative_finder_controller.rb
|
185
|
+
- spec/support/app/controllers/subclassed_pages_controller.rb
|
@@ -1,121 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
high_voltage (2.2.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actionmailer (3.1.12)
|
10
|
-
actionpack (= 3.1.12)
|
11
|
-
mail (~> 2.4.4)
|
12
|
-
actionpack (3.1.12)
|
13
|
-
activemodel (= 3.1.12)
|
14
|
-
activesupport (= 3.1.12)
|
15
|
-
builder (~> 3.0.0)
|
16
|
-
erubis (~> 2.7.0)
|
17
|
-
i18n (~> 0.6)
|
18
|
-
rack (~> 1.3.6)
|
19
|
-
rack-cache (~> 1.2)
|
20
|
-
rack-mount (~> 0.8.2)
|
21
|
-
rack-test (~> 0.6.1)
|
22
|
-
sprockets (~> 2.0.4)
|
23
|
-
activemodel (3.1.12)
|
24
|
-
activesupport (= 3.1.12)
|
25
|
-
builder (~> 3.0.0)
|
26
|
-
i18n (~> 0.6)
|
27
|
-
activerecord (3.1.12)
|
28
|
-
activemodel (= 3.1.12)
|
29
|
-
activesupport (= 3.1.12)
|
30
|
-
arel (~> 2.2.3)
|
31
|
-
tzinfo (~> 0.3.29)
|
32
|
-
activeresource (3.1.12)
|
33
|
-
activemodel (= 3.1.12)
|
34
|
-
activesupport (= 3.1.12)
|
35
|
-
activesupport (3.1.12)
|
36
|
-
multi_json (~> 1.0)
|
37
|
-
appraisal (1.0.0)
|
38
|
-
bundler
|
39
|
-
rake
|
40
|
-
thor (>= 0.14.0)
|
41
|
-
arel (2.2.3)
|
42
|
-
builder (3.0.4)
|
43
|
-
coderay (1.1.0)
|
44
|
-
diff-lcs (1.2.5)
|
45
|
-
erubis (2.7.0)
|
46
|
-
hike (1.2.3)
|
47
|
-
i18n (0.6.9)
|
48
|
-
json (1.8.1)
|
49
|
-
mail (2.4.4)
|
50
|
-
i18n (>= 0.4.0)
|
51
|
-
mime-types (~> 1.16)
|
52
|
-
treetop (~> 1.4.8)
|
53
|
-
method_source (0.8.2)
|
54
|
-
mime-types (1.25.1)
|
55
|
-
multi_json (1.9.0)
|
56
|
-
polyglot (0.3.4)
|
57
|
-
pry (0.9.12.6)
|
58
|
-
coderay (~> 1.0)
|
59
|
-
method_source (~> 0.8)
|
60
|
-
slop (~> 3.4)
|
61
|
-
rack (1.3.10)
|
62
|
-
rack-cache (1.2)
|
63
|
-
rack (>= 0.4)
|
64
|
-
rack-mount (0.8.3)
|
65
|
-
rack (>= 1.0.0)
|
66
|
-
rack-ssl (1.3.3)
|
67
|
-
rack
|
68
|
-
rack-test (0.6.2)
|
69
|
-
rack (>= 1.0)
|
70
|
-
rails (3.1.12)
|
71
|
-
actionmailer (= 3.1.12)
|
72
|
-
actionpack (= 3.1.12)
|
73
|
-
activerecord (= 3.1.12)
|
74
|
-
activeresource (= 3.1.12)
|
75
|
-
activesupport (= 3.1.12)
|
76
|
-
bundler (~> 1.0)
|
77
|
-
railties (= 3.1.12)
|
78
|
-
railties (3.1.12)
|
79
|
-
actionpack (= 3.1.12)
|
80
|
-
activesupport (= 3.1.12)
|
81
|
-
rack-ssl (~> 1.3.2)
|
82
|
-
rake (>= 0.8.7)
|
83
|
-
rdoc (~> 3.4)
|
84
|
-
thor (~> 0.14.6)
|
85
|
-
rake (10.3.2)
|
86
|
-
rdoc (3.12.2)
|
87
|
-
json (~> 1.4)
|
88
|
-
rspec-core (2.14.8)
|
89
|
-
rspec-expectations (2.14.5)
|
90
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
91
|
-
rspec-mocks (2.14.6)
|
92
|
-
rspec-rails (2.14.2)
|
93
|
-
actionpack (>= 3.0)
|
94
|
-
activemodel (>= 3.0)
|
95
|
-
activesupport (>= 3.0)
|
96
|
-
railties (>= 3.0)
|
97
|
-
rspec-core (~> 2.14.0)
|
98
|
-
rspec-expectations (~> 2.14.0)
|
99
|
-
rspec-mocks (~> 2.14.0)
|
100
|
-
slop (3.5.0)
|
101
|
-
sprockets (2.0.4)
|
102
|
-
hike (~> 1.2)
|
103
|
-
rack (~> 1.0)
|
104
|
-
tilt (~> 1.1, != 1.3.0)
|
105
|
-
thor (0.14.6)
|
106
|
-
tilt (1.4.1)
|
107
|
-
treetop (1.4.15)
|
108
|
-
polyglot
|
109
|
-
polyglot (>= 0.3.1)
|
110
|
-
tzinfo (0.3.39)
|
111
|
-
|
112
|
-
PLATFORMS
|
113
|
-
ruby
|
114
|
-
|
115
|
-
DEPENDENCIES
|
116
|
-
activesupport (>= 3.1.0)
|
117
|
-
appraisal
|
118
|
-
high_voltage!
|
119
|
-
pry
|
120
|
-
rails (~> 3.1.12)
|
121
|
-
rspec-rails
|
data/gemfiles/rails3.2.gemfile
DELETED
@@ -1,119 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: ../
|
3
|
-
specs:
|
4
|
-
high_voltage (2.2.0)
|
5
|
-
|
6
|
-
GEM
|
7
|
-
remote: http://rubygems.org/
|
8
|
-
specs:
|
9
|
-
actionmailer (3.2.16)
|
10
|
-
actionpack (= 3.2.16)
|
11
|
-
mail (~> 2.5.4)
|
12
|
-
actionpack (3.2.16)
|
13
|
-
activemodel (= 3.2.16)
|
14
|
-
activesupport (= 3.2.16)
|
15
|
-
builder (~> 3.0.0)
|
16
|
-
erubis (~> 2.7.0)
|
17
|
-
journey (~> 1.0.4)
|
18
|
-
rack (~> 1.4.5)
|
19
|
-
rack-cache (~> 1.2)
|
20
|
-
rack-test (~> 0.6.1)
|
21
|
-
sprockets (~> 2.2.1)
|
22
|
-
activemodel (3.2.16)
|
23
|
-
activesupport (= 3.2.16)
|
24
|
-
builder (~> 3.0.0)
|
25
|
-
activerecord (3.2.16)
|
26
|
-
activemodel (= 3.2.16)
|
27
|
-
activesupport (= 3.2.16)
|
28
|
-
arel (~> 3.0.2)
|
29
|
-
tzinfo (~> 0.3.29)
|
30
|
-
activeresource (3.2.16)
|
31
|
-
activemodel (= 3.2.16)
|
32
|
-
activesupport (= 3.2.16)
|
33
|
-
activesupport (3.2.16)
|
34
|
-
i18n (~> 0.6, >= 0.6.4)
|
35
|
-
multi_json (~> 1.0)
|
36
|
-
appraisal (1.0.0)
|
37
|
-
bundler
|
38
|
-
rake
|
39
|
-
thor (>= 0.14.0)
|
40
|
-
arel (3.0.3)
|
41
|
-
builder (3.0.4)
|
42
|
-
coderay (1.1.0)
|
43
|
-
diff-lcs (1.2.5)
|
44
|
-
erubis (2.7.0)
|
45
|
-
hike (1.2.3)
|
46
|
-
i18n (0.6.11)
|
47
|
-
journey (1.0.4)
|
48
|
-
json (1.8.1)
|
49
|
-
mail (2.5.4)
|
50
|
-
mime-types (~> 1.16)
|
51
|
-
treetop (~> 1.4.8)
|
52
|
-
method_source (0.8.2)
|
53
|
-
mime-types (1.25.1)
|
54
|
-
multi_json (1.10.1)
|
55
|
-
polyglot (0.3.5)
|
56
|
-
pry (0.10.0)
|
57
|
-
coderay (~> 1.1.0)
|
58
|
-
method_source (~> 0.8.1)
|
59
|
-
slop (~> 3.4)
|
60
|
-
rack (1.4.5)
|
61
|
-
rack-cache (1.2)
|
62
|
-
rack (>= 0.4)
|
63
|
-
rack-ssl (1.3.3)
|
64
|
-
rack
|
65
|
-
rack-test (0.6.2)
|
66
|
-
rack (>= 1.0)
|
67
|
-
rails (3.2.16)
|
68
|
-
actionmailer (= 3.2.16)
|
69
|
-
actionpack (= 3.2.16)
|
70
|
-
activerecord (= 3.2.16)
|
71
|
-
activeresource (= 3.2.16)
|
72
|
-
activesupport (= 3.2.16)
|
73
|
-
bundler (~> 1.0)
|
74
|
-
railties (= 3.2.16)
|
75
|
-
railties (3.2.16)
|
76
|
-
actionpack (= 3.2.16)
|
77
|
-
activesupport (= 3.2.16)
|
78
|
-
rack-ssl (~> 1.3.2)
|
79
|
-
rake (>= 0.8.7)
|
80
|
-
rdoc (~> 3.4)
|
81
|
-
thor (>= 0.14.6, < 2.0)
|
82
|
-
rake (10.3.2)
|
83
|
-
rdoc (3.12.2)
|
84
|
-
json (~> 1.4)
|
85
|
-
rspec-core (2.14.8)
|
86
|
-
rspec-expectations (2.14.5)
|
87
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
88
|
-
rspec-mocks (2.14.6)
|
89
|
-
rspec-rails (2.14.2)
|
90
|
-
actionpack (>= 3.0)
|
91
|
-
activemodel (>= 3.0)
|
92
|
-
activesupport (>= 3.0)
|
93
|
-
railties (>= 3.0)
|
94
|
-
rspec-core (~> 2.14.0)
|
95
|
-
rspec-expectations (~> 2.14.0)
|
96
|
-
rspec-mocks (~> 2.14.0)
|
97
|
-
slop (3.5.0)
|
98
|
-
sprockets (2.2.2)
|
99
|
-
hike (~> 1.2)
|
100
|
-
multi_json (~> 1.0)
|
101
|
-
rack (~> 1.0)
|
102
|
-
tilt (~> 1.1, != 1.3.0)
|
103
|
-
thor (0.19.1)
|
104
|
-
tilt (1.4.1)
|
105
|
-
treetop (1.4.15)
|
106
|
-
polyglot
|
107
|
-
polyglot (>= 0.3.1)
|
108
|
-
tzinfo (0.3.39)
|
109
|
-
|
110
|
-
PLATFORMS
|
111
|
-
ruby
|
112
|
-
|
113
|
-
DEPENDENCIES
|
114
|
-
activesupport (>= 3.1.0)
|
115
|
-
appraisal
|
116
|
-
high_voltage!
|
117
|
-
pry
|
118
|
-
rails (~> 3.2.13)
|
119
|
-
rspec-rails
|