esa 1.7.0 → 1.8.0

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: 9dfe95bc52ee057713273da51ec06528e7a50a49
4
- data.tar.gz: 9aa694d1437cb64c4e2257b855fec5e1eb2f929e
3
+ metadata.gz: e83afc7311bbeb001479486eb26a2b80d9af1266
4
+ data.tar.gz: 8d6a08541628782e9cad0cc1b95196e97a2f08e9
5
5
  SHA512:
6
- metadata.gz: c2b95c1f64ff157f5799e8a9e2a9dd7065d60bfa443a8f525483a675da56671ba20501d0fa5007b9677e696f392e097daeaf67fa2f1a83cccb5cb2cfbb2298fa
7
- data.tar.gz: 5ed154f6bff460a2209d14d90a180cfc19c309413eb4779d7b1af63dba4816be97ed363fc79b8bf39b274ad9c7ebd0ebec419cf0372c7d4b54d297d98af5f82c
6
+ metadata.gz: d117289e1daf43a2257f5e6015bb6e0517d3f8ca0d3424a2be9b5a52f426dfa66009c1e2a93842e0b990d4988d1d5639e019127152aab5bed645d61682196930
7
+ data.tar.gz: d24f74ed7f3c49d390b7ad939b65a247cd47ef454f1963d6a2ff8889b48a880285b8ceaa9b06064a645bfc20835a3994c2531754595b82eac66138382a942c4d
@@ -1,5 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.5
4
- - 2.3.1
3
+ - 2.2.6
4
+ - 2.3.3
5
+ - 2.4.0
5
6
  - ruby-head
data/README.md CHANGED
@@ -122,6 +122,9 @@ client.delete_watch(post_number)
122
122
  client.categories
123
123
  #=> GET /v1/teams/foobar/categories
124
124
 
125
+ client.batch_move_category(from: '/esa/', to: '/tori/piyo/')
126
+ #=> POST /v1/teams/foobar/categories/batch_move
127
+
125
128
  # Tags API
126
129
  client.tags
127
130
  #=> GET /v1/teams/foobar/tags
@@ -134,11 +137,11 @@ client.upload_attachment(['http://example.com/foo.png', cookie_str]) # Remote UR
134
137
 
135
138
  # Signed url for secure upload(beta)
136
139
  client.signed_url('uploads/p/attachments/1/2016/08/16/1/foobar.png')
137
- #=> GET /v1/teams/kama/signed_url/uploads/p/attachments/1/2016/08/16/1/foobar.png
140
+ #=> GET /v1/teams/foobar/signed_url/uploads/p/attachments/1/2016/08/16/1/foobar.png
138
141
  ```
139
142
 
140
143
 
141
- see also: [dev/api/v1(beta) - docs.esa.io](https://docs.esa.io/posts/102)
144
+ see also: [dev/api/v1 - docs.esa.io](https://docs.esa.io/posts/102)
142
145
 
143
146
  ## Contributing
144
147
 
@@ -110,6 +110,10 @@ module Esa
110
110
  send_get("/v1/teams/#{current_team!}/categories", params, headers)
111
111
  end
112
112
 
113
+ def batch_move_category(params = nil, headers = nil)
114
+ send_post("/v1/teams/#{current_team!}/categories/batch_move", params, headers)
115
+ end
116
+
113
117
  def tags(params = nil, headers = nil)
114
118
  send_get("/v1/teams/#{current_team!}/tags", params, headers)
115
119
  end
@@ -1,3 +1,3 @@
1
1
  module Esa
2
- VERSION = '1.7.0'
2
+ VERSION = '1.8.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fukayatsu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-16 00:00:00.000000000 Z
11
+ date: 2017-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -238,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  requirements: []
240
240
  rubyforge_project:
241
- rubygems_version: 2.6.3
241
+ rubygems_version: 2.5.2
242
242
  signing_key:
243
243
  specification_version: 4
244
244
  summary: esa API v1 client library, written in Ruby
@@ -246,4 +246,3 @@ test_files:
246
246
  - spec/esa/client_spec.rb
247
247
  - spec/esa/response_spec.rb
248
248
  - spec/spec_helper.rb
249
- has_rdoc: