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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe6992e60d06771217520c865abb20dae19d6a7a
4
- data.tar.gz: f5f3ac9a0633d1b864cee1507e831744966a3b01
3
+ metadata.gz: 0fa3f9d0807784cdee8ac6bc0a4cff5dd865ee7a
4
+ data.tar.gz: ba98cc9c5761d3fd9d849b1169f027b4ec12b72c
5
5
  SHA512:
6
- metadata.gz: 64e694681ae99d324072cc5ed6e696a5f35454a145169d1965afc3debe8a51e64c05bdcf7c5237c2f99d80124bc174f8b2ba4221c8936de7f778a3ab57ebfb24
7
- data.tar.gz: 7376a6f653902418af28e7cd9509532eb7e43bcbcdd13ef4c980c0b11cdcb968d502bf7bb1b0e3631d5be2b61bdb6b2edda43acaedb8bce9049d68c10c4b287e
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
 
@@ -12,7 +12,7 @@ class Tembin::Applyer
12
12
  @out = out
13
13
  end
14
14
 
15
- def run(dry_run: true)
15
+ def run
16
16
  remote_queries = Tembin::Redash::Query.created_by_me
17
17
  remote_queries.each do |remote_query|
18
18
  @out.puts(h.color("#{remote_query.name}", :green))
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Tembin
2
- VERSION = "0.1.0.alpha1"
2
+ VERSION = "0.1.0.alpha2"
3
3
  end
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.alpha1
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-09-21 00:00:00.000000000 Z
11
+ date: 2016-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor