excursion 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/excursion/datastores/datastore.rb +6 -4
- data/lib/excursion/datastores/test.rb +5 -11
- data/lib/excursion/helpers/application_helper.rb +4 -6
- data/lib/excursion/helpers/url_helper.rb +10 -7
- data/lib/excursion/pool.rb +25 -4
- data/lib/excursion/railtie.rb +3 -1
- data/lib/excursion/version.rb +1 -1
- data/spec/dummy/log/development.log +56043 -0
- data/spec/excursion/helpers/application_helper_spec.rb +1 -1
- data/spec/support/mocks.rb +2 -0
- metadata +3 -3
@@ -29,7 +29,7 @@ describe 'Excursion::Helpers::ApplicationHelper' do
|
|
29
29
|
context 'when the requested application is in the pool' do
|
30
30
|
it 'should return an application UrlHelper for the app' do
|
31
31
|
Excursion.url_helpers.excursion('dummy').should be_an_instance_of(Excursion::Helpers::UrlHelper)
|
32
|
-
Excursion.url_helpers.excursion('dummy').
|
32
|
+
Excursion.url_helpers.excursion('dummy').application.should eql(Excursion::Pool.application('dummy'))
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
data/spec/support/mocks.rb
CHANGED
@@ -16,6 +16,7 @@ module Excursion
|
|
16
16
|
'key1' => 'value_one',
|
17
17
|
'key2' => 'value_two',
|
18
18
|
'key3' => 'value_three',
|
19
|
+
'_flag_key' => 'test_flag'
|
19
20
|
}
|
20
21
|
|
21
22
|
SIMPLE_APP = {
|
@@ -44,6 +45,7 @@ module Excursion
|
|
44
45
|
NAMED_ROUTES.each { |name,route| NAMED_ROUTE_COLLECTION.add(name, route) }
|
45
46
|
|
46
47
|
APP_POOL = {
|
48
|
+
'_flag_key' => 'test_flag',
|
47
49
|
SIMPLE_APP[:name] => SIMPLE_APP
|
48
50
|
}
|
49
51
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: excursion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mark Rebec
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
180
|
rubyforge_project:
|
181
|
-
rubygems_version: 2.
|
181
|
+
rubygems_version: 2.1.9
|
182
182
|
signing_key:
|
183
183
|
specification_version: 4
|
184
184
|
summary: Route pooling to share routes between applications
|