mackerel-rb 0.1.1 → 0.1.2

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: 0e1242b73a3af387756da402a27f8287170c564f
4
- data.tar.gz: be526739f694f80c06b9835708911ed62890f2bc
3
+ metadata.gz: 32cbe20baab0c32925c4763db61bbd0d857e5880
4
+ data.tar.gz: 37d88a75e41e08b94208423dfa1869eced102e11
5
5
  SHA512:
6
- metadata.gz: 32d657eb619019a34d6786df899990814645da66242f9ef548b2496f12be0d20a035feba4682f9813d34372f31a4225f6ae17fd4a562771144ee5184e85d9d37
7
- data.tar.gz: 8d9c75727d15ce776fec2ab26218102dabc7bc1e45e5ac9978bf9f8088bb0cd7babbd69de19cb37b43cc7b1b96ddd78d8471a1074963a11b446ad63d2f1b988f
6
+ metadata.gz: 02eca6326a8753950750bdde5a29edb8a2cfc827bad5faddef1d77ad0c1559b51dd195a94f24de7240b60a137a4432b809d2835f08db041b66c5f140a4df23ce
7
+ data.tar.gz: 823601a2fbcd23cf79e61016153025796816bb75a3d723058d3c8e234906d7fb0e1d9d303be70de01535f873791fcb14dabff6e117f6b416493b98c7dad900bf
data/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  Add this line to your application's Gemfile:
11
11
 
12
- $ gem 'mackerel-rb'
12
+ gem 'mackerel-rb'
13
13
 
14
14
  And then execute:
15
15
 
@@ -11,13 +11,13 @@ module Mackerel
11
11
  response.body.host
12
12
  end
13
13
 
14
- def create_host(options)
15
- response = post "hosts"
14
+ def create_host(params)
15
+ response = post "hosts", params
16
16
  response.body.host
17
17
  end
18
18
 
19
- def update_host(id, options)
20
- response = put "hosts/#{id}"
19
+ def update_host(id, params)
20
+ response = put "hosts/#{id}", params
21
21
  response.body
22
22
  end
23
23
 
@@ -1,3 +1,3 @@
1
1
  module Mackerel
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mackerel-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - mizokami
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-25 00:00:00.000000000 Z
11
+ date: 2015-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor