jmespath-jruby 1.0.0.pre0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3eb6d62019d8813f5e012df10b74db45ac914465
4
+ data.tar.gz: 0b3397e49f1c0cddb2ecd0066233ed48fc73893b
5
+ SHA512:
6
+ metadata.gz: fbb854b406115f1761d593e8160e2639102af03e6554fc1241d4d0c00a728e4fe465894cdc68c84918d74ff8b36cf4ed66a290252c57b265598ca679a569a848
7
+ data.tar.gz: abd67c48fd7af651e8aface7b4772ca1507931e93cef645fec5a20927fb670bbb3eafe5d6192e75d32b5de64d583e38aea8add6c6ea6089d0c9c2b0d7fdc8940
data/.yardopts ADDED
@@ -0,0 +1,4 @@
1
+ --no-private
2
+ --markup markdown
3
+ lib/**/*.rb
4
+ -- README.md
data/README.md ADDED
@@ -0,0 +1,51 @@
1
+ # jmespath-jruby
2
+
3
+ [![Build Status](https://travis-ci.org/burtcorp/jmespath-java.png?branch=master)](https://travis-ci.org/burtcorp/jmespath-jruby)
4
+
5
+ _If you're reading this on GitHub, please note that this is the readme for the development version and that some features described here might not yet have been released. You can find the readme for a specific version via the release tags ([here is an example](https://github.com/burtcorp/jmespath-jruby/tree/0.1.0))._
6
+
7
+ An implementation of [JMESPath](http://jmespath.org/) for JRuby.
8
+
9
+ ## Installation
10
+
11
+ Install it on the command line:
12
+
13
+ ```
14
+ $ gem install jmespath-jruby
15
+ ```
16
+
17
+ or add it to your `Gemfile`:
18
+
19
+ ```
20
+ gem 'jmespath-jruby'
21
+ ```
22
+
23
+ ## Basic usage
24
+
25
+ ```ruby
26
+ require 'jmespath'
27
+
28
+ jmespath = JmesPath.new
29
+ expression = jmespath.compile('foo.bar')
30
+ result = expression.search({'foo' => {'bar' => 42}}) # => 42
31
+ ```
32
+
33
+ ## How to build and run the tests
34
+
35
+ The best place to see how to build and run the tests is to look at the `.travis.yml` file, but if you just want to get going run:
36
+
37
+ ```
38
+ $ bundle
39
+ $ rake
40
+ ```
41
+
42
+ You can also run all of the `jmespath-java` tests and JMESPath compliance tests with:
43
+
44
+ ```
45
+ $ cd ext
46
+ $ mvn test
47
+ ```
48
+
49
+ # Copyright
50
+
51
+ © 2016 Burt AB, see LICENSE.txt (BSD 3-Clause).
data/lib/jmespath.rb ADDED
@@ -0,0 +1,9 @@
1
+ # encoding: utf-8
2
+
3
+ require 'jmespath/ext/jmespath.jar'
4
+
5
+ Java::IoBurtJmespathJruby::JmesPathLibrary.new.load(JRuby.runtime, false)
6
+
7
+ JMESPath = JmesPath
8
+
9
+ require 'jmespath/version'
Binary file
@@ -0,0 +1,5 @@
1
+ # encoding: utf-8
2
+
3
+ class JmesPath
4
+ VERSION = '1.0.0.pre0'.freeze
5
+ end
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jmespath-jruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.pre0
5
+ platform: java
6
+ authors:
7
+ - Theo Hultberg
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Fully compliant JMESPath implementation for JRuby based on jmespath-java
14
+ email: theo@burtcorp.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - ".yardopts"
20
+ - README.md
21
+ - lib/jmespath.rb
22
+ - lib/jmespath/ext/jmespath.jar
23
+ - lib/jmespath/version.rb
24
+ homepage:
25
+ licenses: []
26
+ metadata: {}
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: '0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.3.1
41
+ requirements: []
42
+ rubyforge_project:
43
+ rubygems_version: 2.4.8
44
+ signing_key:
45
+ specification_version: 4
46
+ summary: JMESPath implementation for JRuby
47
+ test_files: []