cirro-ruby-client 0.1.3 → 1.0.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
  SHA256:
3
- metadata.gz: 9d0246cb292156f808c22a349f7739ba1b76c8356d2780c4736d494b4923aec7
4
- data.tar.gz: aabd41bc3c27bd0a6f053475931e27ffbe367ae817b6f5b166204c320ab0243b
3
+ metadata.gz: f0fbe216e1f99f00cbe0816f9286960f5ba85335a287bef40971113cc6af06d2
4
+ data.tar.gz: e4d958b0906bff2a9db8d21467145d461772f80f652b229c0d845a4b0d6c5c8d
5
5
  SHA512:
6
- metadata.gz: b24ad7bc157ff3399d4afb6eef59265bb43c63d47b7f00d4fecdb1975d56509a3107f07401303052a5efe83d41a05fd0d5de403e8209bc4ff8379c8a28b2f3d0
7
- data.tar.gz: 31d6789e35ff776fd0800c600b9e606d3d7bb72cb1302d688e32c5d81b1693fe4ea6f397ede1692b2cbaf8f806f2baccad90fbd102e85b026b26f218f69afd6d
6
+ metadata.gz: bafe646924a4152758f62c9db242ed3fa76ce8c44a711e325a59f4ce7baabf8290a5adbc96aa5c8fbd0259e6b444fde3d0bff68acbbb1c5e54467edcb11f725b
7
+ data.tar.gz: 2bfe4d104223034dbc9f5ed82434ccf3e6ddd42dcc06cfded2da855b460e5a7c642df4d9c4b2c621b77f679716d015f3068f473522a8fdb143074232374f1fcd
data/Gemfile CHANGED
@@ -7,6 +7,7 @@ gem 'rake', '~> 12.0'
7
7
  gem 'rspec', '~> 3.0'
8
8
 
9
9
  group :development do
10
+ gem 'faker'
10
11
  gem 'pry'
11
12
  gem 'rubocop', require: false
12
13
  gem 'rubocop-rspec'
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cirro-ruby-client (0.1.2)
4
+ cirro-ruby-client (0.1.3)
5
5
  json_api_client
6
6
  jwt
7
7
 
@@ -23,6 +23,8 @@ GEM
23
23
  concurrent-ruby (1.1.7)
24
24
  crack (0.4.4)
25
25
  diff-lcs (1.4.4)
26
+ faker (2.14.0)
27
+ i18n (>= 1.6, < 2)
26
28
  faraday (1.0.1)
27
29
  multipart-post (>= 1.2, < 3)
28
30
  faraday_middleware (1.0.0)
@@ -95,6 +97,7 @@ PLATFORMS
95
97
 
96
98
  DEPENDENCIES
97
99
  cirro-ruby-client!
100
+ faker
98
101
  pry
99
102
  rake (~> 12.0)
100
103
  rspec (~> 3.0)
@@ -4,6 +4,7 @@ require 'cirro_io/client/configuration'
4
4
  require 'cirro_io/client/response_debugging_middleware'
5
5
  require 'cirro_io/client/jwt_authentication'
6
6
  require 'cirro_io/client/base'
7
+ require 'cirro_io/client/app_user'
7
8
  require 'cirro_io/client/app_worker'
8
9
 
9
10
  module CirroIO
@@ -0,0 +1,9 @@
1
+ module CirroIO
2
+ module Client
3
+ class AppUser < Base
4
+ def self.resource_name
5
+ 'app-users'
6
+ end
7
+ end
8
+ end
9
+ end
@@ -1,6 +1,8 @@
1
1
  module CirroIO
2
2
  module Client
3
3
  class AppWorker < Base
4
+ has_one :app_user
5
+
4
6
  def self.resource_name
5
7
  'app-workers'
6
8
  end
@@ -1,7 +1,7 @@
1
1
  # rubocop:disable Style/MutableConstant
2
2
  module CirroIO
3
3
  module Client
4
- VERSION = '0.1.3'
4
+ VERSION = '1.0.0'
5
5
  end
6
6
  end
7
7
  # rubocop:enable Style/MutableConstant
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cirro-ruby-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cirro Dev Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-08 00:00:00.000000000 Z
11
+ date: 2020-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jwt
@@ -61,6 +61,7 @@ files:
61
61
  - bin/setup
62
62
  - cirro-ruby-client.gemspec
63
63
  - lib/cirro_io/client.rb
64
+ - lib/cirro_io/client/app_user.rb
64
65
  - lib/cirro_io/client/app_worker.rb
65
66
  - lib/cirro_io/client/base.rb
66
67
  - lib/cirro_io/client/configuration.rb