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 +4 -4
- data/.travis.yml +3 -2
- data/README.md +5 -2
- data/lib/esa/api_methods.rb +4 -0
- data/lib/esa/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: e83afc7311bbeb001479486eb26a2b80d9af1266
|
4
|
+
data.tar.gz: 8d6a08541628782e9cad0cc1b95196e97a2f08e9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d117289e1daf43a2257f5e6015bb6e0517d3f8ca0d3424a2be9b5a52f426dfa66009c1e2a93842e0b990d4988d1d5639e019127152aab5bed645d61682196930
|
7
|
+
data.tar.gz: d24f74ed7f3c49d390b7ad939b65a247cd47ef454f1963d6a2ff8889b48a880285b8ceaa9b06064a645bfc20835a3994c2531754595b82eac66138382a942c4d
|
data/.travis.yml
CHANGED
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/
|
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
|
144
|
+
see also: [dev/api/v1 - docs.esa.io](https://docs.esa.io/posts/102)
|
142
145
|
|
143
146
|
## Contributing
|
144
147
|
|
data/lib/esa/api_methods.rb
CHANGED
@@ -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
|
data/lib/esa/version.rb
CHANGED
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.
|
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:
|
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.
|
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:
|