jsonpath 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/jsonpath.rb +2 -6
- data/spec/jsonpath_spec.rb +2 -3
- data/spec/spec_helper.rb +2 -0
- metadata +4 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.2
|
data/lib/jsonpath.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
require File.join('jsonpath', 'expression')
|
2
|
+
require File.join('jsonpath', 'wrapper')
|
4
3
|
|
5
4
|
class JsonPath
|
6
|
-
VERSION = '0.0.1'
|
7
5
|
|
8
6
|
def self.path(expression)
|
9
7
|
@expression = Expression.new(expression)
|
@@ -24,5 +22,3 @@ class JsonPath
|
|
24
22
|
end
|
25
23
|
|
26
24
|
end
|
27
|
-
require File.join('jsonpath', 'expression')
|
28
|
-
require File.join('jsonpath', 'wrapper')
|
data/spec/jsonpath_spec.rb
CHANGED
data/spec/spec_helper.rb
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jsonpath
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Hull
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2010-01-20 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -32,6 +32,7 @@ files:
|
|
32
32
|
- lib/jsonpath/wrapper.rb
|
33
33
|
- spec/jsonpath_spec.rb
|
34
34
|
- spec/spec.opts
|
35
|
+
- spec/spec_helper.rb
|
35
36
|
has_rdoc: true
|
36
37
|
homepage: http://github.com/joshbuddy/jsonpath
|
37
38
|
licenses: []
|
@@ -62,3 +63,4 @@ specification_version: 3
|
|
62
63
|
summary: Ruby implementation of http://goessner.net/articles/JsonPath/
|
63
64
|
test_files:
|
64
65
|
- spec/jsonpath_spec.rb
|
66
|
+
- spec/spec_helper.rb
|