pebbles-uid 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pebbles-uid.rb +4 -0
- data/lib/pebbles-uid/version.rb +1 -1
- data/spec/uid_spec.rb +2 -0
- metadata +4 -4
data/lib/pebbles-uid.rb
CHANGED
data/lib/pebbles-uid/version.rb
CHANGED
data/spec/uid_spec.rb
CHANGED
@@ -153,6 +153,8 @@ describe Pebbles::Uid do
|
|
153
153
|
subject.parent('stuff').should eq('stuff:tourism.norway$fjords')
|
154
154
|
end
|
155
155
|
|
156
|
+
its(:child_path) { should eq('tourism.norway.fjords.1234') }
|
157
|
+
|
156
158
|
its(:cache_key) { should eq('post.card:tourism.*$1234') }
|
157
159
|
|
158
160
|
its(:to_hash) do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pebbles-uid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
|
-
requirement: &
|
16
|
+
requirement: &70332659041680 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70332659041680
|
25
25
|
description: Handle pebble UIDs conveniently.
|
26
26
|
email:
|
27
27
|
- katrina.owen@gmail.com
|