tembin 0.1.0.alpha1 → 0.1.0.alpha2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/tembin/applyer.rb +1 -1
- data/lib/tembin/redash/query.rb +1 -1
- data/lib/tembin/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: 0fa3f9d0807784cdee8ac6bc0a4cff5dd865ee7a
|
4
|
+
data.tar.gz: ba98cc9c5761d3fd9d849b1169f027b4ec12b72c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc46130caa48d7438b19c03ba155fde13b57f577dc9eab53d24ec74fbfa682844c484793f7bc6e21b0b734398c8d965d4f3148eb7c97fde988765dd94806f4c5
|
7
|
+
data.tar.gz: faff9441beb13854fb1332c0460b08781efe7f47d31ead174a5d2bb2d06640ec86860796336ff3a4c904e591ac01ec4110290e0fff50bafc3a715bbdc9887cfe
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Welcome to your new gem! In this directory, you'll find the files you need to be
|
|
7
7
|
Add this line to your application's Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem 'tembin'
|
10
|
+
gem 'tembin', '0.1.0.alpha2'
|
11
11
|
```
|
12
12
|
|
13
13
|
And then execute:
|
@@ -16,7 +16,7 @@ And then execute:
|
|
16
16
|
|
17
17
|
Or install it yourself as:
|
18
18
|
|
19
|
-
$ gem install tembin
|
19
|
+
$ gem install tembin --pre
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
data/lib/tembin/applyer.rb
CHANGED
data/lib/tembin/redash/query.rb
CHANGED
@@ -6,7 +6,7 @@ module Tembin::Redash
|
|
6
6
|
def self.all
|
7
7
|
response = Tembin::Redash::Client.current.get('/api/queries')
|
8
8
|
raise RequestNotSucceedError, response.body if !response.success?
|
9
|
-
JSON.parse(response.body).map { |j| self.new(j) }
|
9
|
+
JSON.parse(response.body)['results'].map { |j| self.new(j) }
|
10
10
|
end
|
11
11
|
|
12
12
|
def self.created_by_me
|
data/lib/tembin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tembin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.alpha2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Takatoshi Maeda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|