excursion 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/excursion/pool/dummy_application.rb +8 -0
- data/lib/excursion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10e27967761eabfa3c0ab9171d110843e12ef43b
|
4
|
+
data.tar.gz: ee24fcd73c5c7e82a5a167c1f5e671470a71c4b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b63db66a73f60c23f1e682e3ff9c0cf0b16ae8a39b34922400386678a8b51ca35c87e2f6b5078abdf8df176ef0ce4a5707a47df68851c078fdc4c58a1f1a9968
|
7
|
+
data.tar.gz: 3b34cdf6ddd60b0dcb2724c80b3bf106e9b43689aa8e6e3b58e7eb895743040cc4f6f81cd0c6d77280bac3ccd62cac34b1413313c16020d6a16ff314c01027bc
|
@@ -7,6 +7,14 @@ module Excursion
|
|
7
7
|
@routes.add(key.to_s, journey_route(key.to_s, Rails.application, journey_path("/#{name}/#{key.to_s}"), {required_defaults: []})) if @routes[key.to_sym].nil?
|
8
8
|
@routes[key.to_sym]
|
9
9
|
end
|
10
|
+
|
11
|
+
def [](key)
|
12
|
+
instance_variable_get("@#{key}".to_sym) || nil
|
13
|
+
end
|
14
|
+
|
15
|
+
def has_key?(key)
|
16
|
+
instance_variable_get("@#{key}".to_sym).nil?
|
17
|
+
end
|
10
18
|
|
11
19
|
end
|
12
20
|
end
|
data/lib/excursion/version.rb
CHANGED
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.0.
|
4
|
+
version: 0.0.9
|
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-07-
|
11
|
+
date: 2013-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|