ailurus 2.0.1 → 2.0.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/.travis.yml +6 -0
- data/README.md +3 -0
- data/lib/ailurus/dataset/metadata.rb +7 -1
- data/lib/ailurus/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8b04e7a0677757a0dec78cdf6961784b486d2fcf
|
|
4
|
+
data.tar.gz: 818ced36df5be5ba8783e185f2e611c44ff19e53
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f7ea2df34e335e2f831d51fbaa6565c393e0580b207e41f3052c5d9c6321d9cb3c64bbfdf35486f186273eb9630563920925b92755bfb7cb3e66b22aeefa6adb
|
|
7
|
+
data.tar.gz: 8008500234f080c4cad928ce24071b0f80bcab3984fd000f848962b39def39bd51dcd631d5e58d2b9c144602d9032db6088660642ffddb6125911041d4210dc0
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Ailurus #
|
|
2
2
|
|
|
3
|
+
[](https://travis-ci.org/associatedpress/ailurus)
|
|
4
|
+
[](http://badge.fury.io/rb/ailurus)
|
|
5
|
+
|
|
3
6
|
This is a client gem to help people work programmatically with
|
|
4
7
|
[PANDA](http://pandaproject.net/) instances.
|
|
5
8
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
require "json"
|
|
2
|
+
|
|
1
3
|
module Ailurus
|
|
2
4
|
class Dataset
|
|
3
5
|
# Public: Retrieve metadata about this Dataset.
|
|
@@ -7,7 +9,11 @@ module Ailurus
|
|
|
7
9
|
# Returns a Hash.
|
|
8
10
|
def metadata
|
|
9
11
|
endpoint = "/api/1.0/dataset/#{@slug}/"
|
|
10
|
-
|
|
12
|
+
begin
|
|
13
|
+
@client.make_request(endpoint)
|
|
14
|
+
rescue JSON::JSONError
|
|
15
|
+
nil
|
|
16
|
+
end
|
|
11
17
|
end
|
|
12
18
|
|
|
13
19
|
# Public: Get the indexed name for a field so you can perform more detailed
|
data/lib/ailurus/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ailurus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Myers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -125,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
127
|
rubyforge_project:
|
|
128
|
-
rubygems_version: 2.4.
|
|
128
|
+
rubygems_version: 2.4.5.1
|
|
129
129
|
signing_key:
|
|
130
130
|
specification_version: 4
|
|
131
131
|
summary: Ruby client gem for PANDA servers
|
|
132
132
|
test_files: []
|
|
133
|
-
has_rdoc:
|