dato 0.2.6 → 0.2.7

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: c1af418795209463483593dad3aca96164b865c6
4
- data.tar.gz: 0da3150305fb346f91d406f41af07c713ceeaf4b
3
+ metadata.gz: 186f63cfff368069213a4dd2e8b0659c03c940a1
4
+ data.tar.gz: c3ddd98a4638451b2f18b076c352b28cede76976
5
5
  SHA512:
6
- metadata.gz: d0c411699fae909ad158658f20821ed6e780b38de79bdb8edf8011dff2c2954625dd5bc7c10ffd8b4af586a3d82eff4ad2a0f1b701961a6d423f5de98fc12e2f
7
- data.tar.gz: f2ce4a3ccf2218aeecc9e9c309f271bea99384d08d1a2838cc2d4e5e080fefd8d4fdb151a3a119d9f4ab64153a6d3c40fb1534b9c2cf48a619700ee9b30bc989
6
+ metadata.gz: 3569cada67d3a8b46d6f1092d0184dc9be5a460ef87b8ddd5fb5ef3673e17363cda25b99adbea35f7d356a966a7780d79e74af045c621e30fa44c08226a7f96f
7
+ data.tar.gz: 9db4bd3512b4543ccfb607063ae381ab1c98c2d76596fa2eab5d9f15bee1a94a8cfda6dcf327d4eb0d1e448712f83149f6a801fc181453ffcb9ea58ff34abbf6
data/Rakefile CHANGED
@@ -14,7 +14,7 @@ task :regenerate do
14
14
  BuildClient.new(
15
15
  open('https://site-api.datocms.com/docs/site-api-hyperschema.json').read,
16
16
  'site',
17
- %w(session item user#update user#destroy)
17
+ %w(session item user#update)
18
18
  ).build
19
19
 
20
20
  BuildClient.new(
@@ -32,6 +32,10 @@ module Dato
32
32
 
33
33
  post_request '/users/reset_password', body
34
34
  end
35
+
36
+ def destroy(user_id)
37
+ delete_request "/users/#{user_id}"
38
+ end
35
39
  end
36
40
  end
37
41
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Dato
3
- VERSION = '0.2.6'
3
+ VERSION = '0.2.7'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dato
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefano Verna