aladtec 0.3.1 → 0.3.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
  SHA256:
3
- metadata.gz: 58c7d99e528d980f7de92a4ba20e6e795d4a6d0fa0e5a2fde093136118844325
4
- data.tar.gz: 1cef98df4ff014b2d317e11dacddf121f5b8c87165ab9d63c92944ffdda10eaf
3
+ metadata.gz: 5fe187974f6bb3afdfee9fa734097e8e9aa644e3d8e6d62eb5c3aeca466e3f84
4
+ data.tar.gz: 31d54f6839c062dba60924565d4d42e65b4521d106dc0bcc614d61889b87cf63
5
5
  SHA512:
6
- metadata.gz: dfa179a7edf38f090f83c7c37921eaa127e0e29987cc4f06ee535852dfa16da0201e8e8a87be93ff7fc09c0777d5a33d04556053031721ebf91574a2ba1edea7
7
- data.tar.gz: cc20798aee7902d02ea43ab81e717d0f946a4a0328eb811049d681c30f440c7c49b419adc3f403bee9317234a2a55b17d2cc4ce8e9442c78f993aa9208f4f145
6
+ metadata.gz: 3e29cd58cef7d9a02caacc815d6db9fb8b5a4e3279c6b4530d4d7ee6851289b759539881aa2660020c00c9fd0085ba411853cabb442a32a048c52e8ddc084af6
7
+ data.tar.gz: 6eafb4634d7659680d1b99d305b95ed0e8e9ca46c05885c8a145d837018a88286219b1dc6c5572e97591d1b0d4056a2333648eea69403986cd649c096f662e10
data/aladtec.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.add_development_dependency 'rspec'
29
29
  spec.add_development_dependency 'webmock'
30
30
 
31
- spec.add_dependency 'dry-configurable'
31
+ spec.add_dependency 'dry-configurable', '~> 0.11', '>= 0.11.4'
32
32
  spec.add_dependency 'dry-initializer'
33
33
  spec.add_dependency 'http'
34
34
  end
data/lib/aladtec/event.rb CHANGED
@@ -15,7 +15,7 @@ module Aladtec
15
15
  option :stop_datetime, Time.method(:parse), as: :ends_at, optional: true
16
16
 
17
17
  def self.new(params)
18
- super params.transform_keys(&:to_sym)
18
+ super **params.transform_keys(&:to_sym)
19
19
  end
20
20
  end
21
21
  end
@@ -16,7 +16,7 @@ module Aladtec
16
16
  end
17
17
 
18
18
  def self.new(params)
19
- super params.transform_keys(&:to_sym)
19
+ super **params.transform_keys(&:to_sym)
20
20
  end
21
21
  end
22
22
  end
@@ -12,7 +12,7 @@ module Aladtec
12
12
  option :member_id, optional: true
13
13
 
14
14
  def self.new(params)
15
- super params.transform_keys(&:to_sym)
15
+ super **params.transform_keys(&:to_sym)
16
16
  end
17
17
  end
18
18
  end
data/lib/aladtec/range.rb CHANGED
@@ -16,7 +16,7 @@ module Aladtec
16
16
  option :extends_after
17
17
 
18
18
  def self.new(params)
19
- super params.transform_keys(&:to_sym)
19
+ super **params.transform_keys(&:to_sym)
20
20
  end
21
21
  end
22
22
  end
@@ -15,7 +15,7 @@ module Aladtec
15
15
  end
16
16
 
17
17
  def self.new(params)
18
- super params.transform_keys(&:to_sym)
18
+ super **params.transform_keys(&:to_sym)
19
19
  end
20
20
  end
21
21
  end
@@ -14,7 +14,7 @@ module Aladtec
14
14
  end
15
15
 
16
16
  def self.new(params)
17
- super params.transform_keys(&:to_sym)
17
+ super **params.transform_keys(&:to_sym)
18
18
  end
19
19
  end
20
20
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Aladtec
4
- VERSION = '0.3.1'
4
+ VERSION = '0.3.2'
5
5
  end
data/lib/aladtec.rb CHANGED
@@ -8,8 +8,8 @@ require 'aladtec/client'
8
8
  module Aladtec
9
9
  extend Dry::Configurable
10
10
 
11
- setting :endpoint, 'https://secure.aladtec.com/example/api/'
12
- setting :user_agent, "Aladtec API Ruby Gem #{Aladtec::VERSION}"
11
+ setting :endpoint, default: 'https://secure.aladtec.com/example/api/'
12
+ setting :user_agent, default: "Aladtec API Ruby Gem #{Aladtec::VERSION}"
13
13
  setting :client_id
14
14
  setting :client_secret
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aladtec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Dahlke
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-14 00:00:00.000000000 Z
11
+ date: 2022-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,16 +84,22 @@ dependencies:
84
84
  name: dry-configurable
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.11'
87
90
  - - ">="
88
91
  - !ruby/object:Gem::Version
89
- version: '0'
92
+ version: 0.11.4
90
93
  type: :runtime
91
94
  prerelease: false
92
95
  version_requirements: !ruby/object:Gem::Requirement
93
96
  requirements:
97
+ - - "~>"
98
+ - !ruby/object:Gem::Version
99
+ version: '0.11'
94
100
  - - ">="
95
101
  - !ruby/object:Gem::Version
96
- version: '0'
102
+ version: 0.11.4
97
103
  - !ruby/object:Gem::Dependency
98
104
  name: dry-initializer
99
105
  requirement: !ruby/object:Gem::Requirement
@@ -160,7 +166,7 @@ homepage: https://github.com/travisdahlke/aladtec
160
166
  licenses:
161
167
  - MIT
162
168
  metadata: {}
163
- post_install_message:
169
+ post_install_message:
164
170
  rdoc_options: []
165
171
  require_paths:
166
172
  - lib
@@ -175,8 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
181
  - !ruby/object:Gem::Version
176
182
  version: '0'
177
183
  requirements: []
178
- rubygems_version: 3.1.2
179
- signing_key:
184
+ rubygems_version: 3.3.14
185
+ signing_key:
180
186
  specification_version: 4
181
187
  summary: Client library for the Aladtec API
182
188
  test_files: