tenios 0.3.0 → 0.4.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: 4928315e02a4b4f9dddcdefee97182bac40bd03a6146cfa86a7ec8875f04600f
4
- data.tar.gz: b07aabb3eca7123ad836e60c4f0ca35ec42e9f35fec386aea4a43751c85a446a
3
+ metadata.gz: 8fd5d7ec36a50860349964023627837cb4c2f9ef57b941feea54d5e29b415f97
4
+ data.tar.gz: 2c10c640bbdd637ee87d7b8e9fdfb8125fce59d999453b95d4ffd9e218587a49
5
5
  SHA512:
6
- metadata.gz: 59f3a16bab5fb994c77e688acf79564553fe41f1e5bd919b0f8ada414835466a489f8bb03040e23ff889ad83f8f97c29120f57467ff040d2b3b3451907679ab0
7
- data.tar.gz: 438bc06c1ac06f09f09364a29d9a8a835d2d98a2ffb5afd5349b2683ee6b2c714b1b1d6b2dd7741aa81684c021a28f4ab7ecec9830924333c37abe64b64708db
6
+ metadata.gz: 88bc65f7640f1ebc8a305ffc5a75ea4bd40bcb0be325f606efebe4fce28b9dc2e9da315c23882ef09b96d12bc56050a14398a08c9717985a1205b71fe74f7670
7
+ data.tar.gz: 76330c01e63438b4927f7f287590de4f597286b32f490ddffb3ed7731567e4133d31b735b67062c679be5eff4271b52620e8274b1b943d26ce7ef80415706c0f
data/.circleci/config.yml CHANGED
@@ -1,54 +1,27 @@
1
- ruby: &ruby
2
- image: carwow/ruby-ci:2.6
3
-
4
- version: 2
1
+ version: 2.1
5
2
 
6
3
  jobs:
7
- bundle:
8
- working_directory: ~/tenios-ruby
4
+ test:
5
+ parameters:
6
+ ruby_version:
7
+ type: string
9
8
  docker:
10
- - *ruby
9
+ - image: cimg/ruby:<< parameters.ruby_version >>
11
10
  steps:
12
11
  - checkout
13
- - restore_cache:
14
- keys:
15
- - bundle-{{ checksum "Gemfile.lock" }}
16
- - bundle-
17
- - run: |
18
- bundle config --local path vendor/bundle &&
19
- bundle check || bundle install --jobs=4 --retry=3
20
- - save_cache:
21
- key: bundle-{{ checksum "Gemfile.lock" }}
22
- paths: [~/tenios-ruby/vendor/bundle]
23
- - persist_to_workspace:
24
- root: '~'
25
- paths: [tenios-ruby]
26
-
27
- rubocop:
28
- working_directory: ~/tenios-ruby
29
- docker:
30
- - *ruby
31
- steps:
32
- - attach_workspace:
33
- at: '~'
34
- - run: bundle exec rubocop
35
-
36
- tests:
37
- working_directory: ~/tenios-ruby
38
- docker:
39
- - *ruby
40
- steps:
41
- - attach_workspace:
42
- at: '~'
43
- - run: |
44
- bundle exec rspec
12
+ - run: bundle install
13
+ - run: bundle exec rake
45
14
 
46
15
  workflows:
47
16
  version: 2
48
- build:
17
+ test:
49
18
  jobs:
50
- - bundle
51
- - rubocop:
52
- requires: [bundle]
53
- - tests:
54
- requires: [bundle]
19
+ - test:
20
+ matrix:
21
+ parameters:
22
+ ruby_version:
23
+ - "2.6"
24
+ - "2.7"
25
+ - "3.0"
26
+ - "3.1"
27
+ - "3.2"
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "daily"
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /Gemfile.lock
9
10
 
10
11
  # rspec failure tracking
11
12
  .rspec_status
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source 'https://rubygems.org'
1
+ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in tenios-rb.gemspec
4
4
  gemspec
data/Rakefile CHANGED
@@ -1,6 +1,9 @@
1
- require 'bundler/gem_tasks'
2
- require 'rspec/core/rake_task'
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+ require "standard/rake"
3
6
 
4
7
  RSpec::Core::RakeTask.new(:spec)
5
8
 
6
- task :default => :spec
9
+ task default: [:spec, :standard]
@@ -3,7 +3,7 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class Announcement
6
- BLOCK_TYPE = 'ANNOUNCEMENT'
6
+ BLOCK_TYPE = "ANNOUNCEMENT"
7
7
 
8
8
  def initialize(announcement:, standard: false)
9
9
  @announcement = announcement
@@ -3,12 +3,12 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class Bridge
6
- BLOCK_TYPE = 'BRIDGE'
7
- SEQUENTIAL = 'SEQUENTIAL'
8
- PARALLEL = 'PARALLEL'
9
- EXTERNAL_NUMBER = 'EXTERNALNUMBER'
10
- SIP_USER = 'SIP_USER'
11
- SIP_TRUNK = 'SIP_TRUNK'
6
+ BLOCK_TYPE = "BRIDGE"
7
+ SEQUENTIAL = "SEQUENTIAL"
8
+ PARALLEL = "PARALLEL"
9
+ EXTERNAL_NUMBER = "EXTERNALNUMBER"
10
+ SIP_USER = "SIP_USER"
11
+ SIP_TRUNK = "SIP_TRUNK"
12
12
 
13
13
  BRIDGE_MODES = [
14
14
  SEQUENTIAL,
@@ -27,17 +27,17 @@ module Tenios
27
27
  @destinations = []
28
28
 
29
29
  raise "mode must be one of #{BRIDGE_MODES}" unless BRIDGE_MODES.include?(@mode)
30
- raise 'timeout is required' if parallel? && @timeout.nil?
31
- raise 'timeout is not accepted in this mode' if sequential? && !@timeout.nil?
30
+ raise "timeout is required" if parallel? && @timeout.nil?
31
+ raise "timeout is not accepted in this mode" if sequential? && !@timeout.nil?
32
32
 
33
33
  yield(self) if block_given?
34
34
  end
35
35
 
36
36
  def with_destination(destination_type, destination, timeout = nil)
37
- raise 'timeout is required' if sequential? && timeout.nil?
38
- raise 'timeout is not accepted' if parallel? && !timeout.nil?
37
+ raise "timeout is required" if sequential? && timeout.nil?
38
+ raise "timeout is not accepted" if parallel? && !timeout.nil?
39
39
  raise "destination_type must be one of #{DESTINATION_TYPES}" unless DESTINATION_TYPES.include?(destination_type)
40
- raise 'destination is required' if destination.strip.empty?
40
+ raise "destination is required" if destination.strip.empty?
41
41
 
42
42
  @destinations << {
43
43
  destinationType: destination_type,
@@ -49,7 +49,7 @@ module Tenios
49
49
  end
50
50
 
51
51
  def as_json(*)
52
- raise 'no destinations' if @destinations.empty?
52
+ raise "no destinations" if @destinations.empty?
53
53
 
54
54
  {
55
55
  blockType: BLOCK_TYPE,
@@ -3,7 +3,7 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class CallSettings
6
- BLOCK_TYPE = 'CALL_SETTINGS'
6
+ BLOCK_TYPE = "CALL_SETTINGS"
7
7
 
8
8
  def initialize(forward_ani:)
9
9
  @forward_ani = forward_ani
@@ -3,8 +3,8 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class CollectDigits
6
- BLOCK_TYPE = 'COLLECT_DIGITS'
7
- VARIABLE_REGEX = /^[a-z0-9_]+$/.freeze
6
+ BLOCK_TYPE = "COLLECT_DIGITS"
7
+ VARIABLE_REGEX = /^[a-z0-9_]+$/
8
8
  TERMINATORS = %w[# *].freeze
9
9
 
10
10
  def initialize(
@@ -50,15 +50,15 @@ module Tenios
50
50
  end
51
51
 
52
52
  def validate!
53
- raise 'min_digits must be between 1-32 (inclusive)' unless (1..32).cover?(@min_digits)
54
- raise 'max_digits must be between 1-32 (inclusive)' unless (1..32).cover?(@max_digits)
55
- raise 'min_digits must be less than or equal to max_digits' unless @min_digits <= @max_digits
53
+ raise "min_digits must be between 1-32 (inclusive)" unless (1..32).cover?(@min_digits)
54
+ raise "max_digits must be between 1-32 (inclusive)" unless (1..32).cover?(@max_digits)
55
+ raise "min_digits must be less than or equal to max_digits" unless @min_digits <= @max_digits
56
56
  raise "terminator must be one of #{TERMINATORS}" unless TERMINATORS.include?(@terminator)
57
57
  raise "variable must match #{VARIABLE_REGEX.inspect}" unless @variable.match?(VARIABLE_REGEX)
58
- raise 'max_tries must be between 1-10 (inclusive)' unless (1..10).cover?(@max_tries)
59
- raise 'timeout must be between 0-300 (inclusive)' unless (1..300).cover?(@timeout)
60
- raise 'announcement is required' if @announcement.nil?
61
- raise 'error_announcement is required' if @error_announcement.nil?
58
+ raise "max_tries must be between 1-10 (inclusive)" unless (1..10).cover?(@max_tries)
59
+ raise "timeout must be between 0-300 (inclusive)" unless (1..300).cover?(@timeout)
60
+ raise "announcement is required" if @announcement.nil?
61
+ raise "error_announcement is required" if @error_announcement.nil?
62
62
  end
63
63
  end
64
64
  end
@@ -3,7 +3,7 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class CollectSpeech
6
- BLOCK_TYPE = 'COLLECT_SPEECH'
6
+ BLOCK_TYPE = "COLLECT_SPEECH"
7
7
 
8
8
  def initialize(
9
9
  announcement:,
@@ -3,38 +3,38 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class HangUp
6
- BLOCK_TYPE = 'HANGUP'
6
+ BLOCK_TYPE = "HANGUP"
7
7
 
8
- UNALLOCATED_NUMBER = 'UNALLOCATED_NUMBER'
9
- NO_ROUTE_TRANSIT_NET = 'NO_ROUTE_TRANSIT_NET'
10
- NO_ROUTE_DESTINATION = 'NO_ROUTE_DESTINATION'
11
- USER_BUSY = 'USER_BUSY'
12
- NO_USER_RESPONSE = 'NO_USER_RESPONSE'
13
- NO_ANSWER = 'NO_ANSWER'
14
- SUBSCRIBER_ABSENT = 'SUBSCRIBER_ABSENT'
15
- CALL_REJECTED = 'CALL_REJECTED'
16
- NUMBER_CHANGED = 'NUMBER_CHANGED'
17
- REDIRECTION_TO_NEW_DESTINATION = 'REDIRECTION_TO_NEW_DESTINATION'
18
- EXCHANGE_ROUTING_ERROR = 'EXCHANGE_ROUTING_ERROR'
19
- DESTINATION_OUT_OF_ORDER = 'DESTINATION_OUT_OF_ORDER'
20
- INVALID_NUMBER_FORMAT = 'INVALID_NUMBER_FORMAT'
21
- FACILITY_REJECTED = 'FACILITY_REJECTED'
22
- NORMAL_UNSPECIFIED = 'NORMAL_UNSPECIFIED'
23
- NORMAL_CIRCUIT_CONGESTION = 'NORMAL_CIRCUIT_CONGESTION'
24
- NETWORK_OUT_OF_ORDER = 'NETWORK_OUT_OF_ORDER'
25
- NORMAL_TEMPORARY_FAILURE = 'NORMAL_TEMPORARY_FAILURE'
26
- SWITCH_CONGESTION = 'SWITCH_CONGESTION'
27
- REQUESTED_CHAN_UNAVAIL = 'REQUESTED_CHAN_UNAVAIL'
28
- OUTGOING_CALL_BARRED = 'OUTGOING_CALL_BARRED'
29
- INCOMING_CALL_BARRED = 'INCOMING_CALL_BARRED'
30
- BEARERCAPABILITY_NOTAUTH = 'BEARERCAPABILITY_NOTAUTH'
31
- BEARERCAPABILITY_NOTAVAIL = 'BEARERCAPABILITY_NOTAVAIL'
32
- BEARERCAPABILITY_NOTIMPL = 'BEARERCAPABILITY_NOTIMPL'
33
- FACILITY_NOT_IMPLEMENTED = 'FACILITY_NOT_IMPLEMENTED'
34
- SERVICE_NOT_IMPLEMENTED = 'SERVICE_NOT_IMPLEMENTED'
35
- INCOMPATIBLE_DESTINATION = 'INCOMPATIBLE_DESTINATION'
36
- RECOVERY_ON_TIMER_EXPIRE = 'RECOVERY_ON_TIMER_EXPIRE'
37
- ORIGINATOR_CANCEL = 'ORIGINATOR_CANCEL'
8
+ UNALLOCATED_NUMBER = "UNALLOCATED_NUMBER"
9
+ NO_ROUTE_TRANSIT_NET = "NO_ROUTE_TRANSIT_NET"
10
+ NO_ROUTE_DESTINATION = "NO_ROUTE_DESTINATION"
11
+ USER_BUSY = "USER_BUSY"
12
+ NO_USER_RESPONSE = "NO_USER_RESPONSE"
13
+ NO_ANSWER = "NO_ANSWER"
14
+ SUBSCRIBER_ABSENT = "SUBSCRIBER_ABSENT"
15
+ CALL_REJECTED = "CALL_REJECTED"
16
+ NUMBER_CHANGED = "NUMBER_CHANGED"
17
+ REDIRECTION_TO_NEW_DESTINATION = "REDIRECTION_TO_NEW_DESTINATION"
18
+ EXCHANGE_ROUTING_ERROR = "EXCHANGE_ROUTING_ERROR"
19
+ DESTINATION_OUT_OF_ORDER = "DESTINATION_OUT_OF_ORDER"
20
+ INVALID_NUMBER_FORMAT = "INVALID_NUMBER_FORMAT"
21
+ FACILITY_REJECTED = "FACILITY_REJECTED"
22
+ NORMAL_UNSPECIFIED = "NORMAL_UNSPECIFIED"
23
+ NORMAL_CIRCUIT_CONGESTION = "NORMAL_CIRCUIT_CONGESTION"
24
+ NETWORK_OUT_OF_ORDER = "NETWORK_OUT_OF_ORDER"
25
+ NORMAL_TEMPORARY_FAILURE = "NORMAL_TEMPORARY_FAILURE"
26
+ SWITCH_CONGESTION = "SWITCH_CONGESTION"
27
+ REQUESTED_CHAN_UNAVAIL = "REQUESTED_CHAN_UNAVAIL"
28
+ OUTGOING_CALL_BARRED = "OUTGOING_CALL_BARRED"
29
+ INCOMING_CALL_BARRED = "INCOMING_CALL_BARRED"
30
+ BEARERCAPABILITY_NOTAUTH = "BEARERCAPABILITY_NOTAUTH"
31
+ BEARERCAPABILITY_NOTAVAIL = "BEARERCAPABILITY_NOTAVAIL"
32
+ BEARERCAPABILITY_NOTIMPL = "BEARERCAPABILITY_NOTIMPL"
33
+ FACILITY_NOT_IMPLEMENTED = "FACILITY_NOT_IMPLEMENTED"
34
+ SERVICE_NOT_IMPLEMENTED = "SERVICE_NOT_IMPLEMENTED"
35
+ INCOMPATIBLE_DESTINATION = "INCOMPATIBLE_DESTINATION"
36
+ RECOVERY_ON_TIMER_EXPIRE = "RECOVERY_ON_TIMER_EXPIRE"
37
+ ORIGINATOR_CANCEL = "ORIGINATOR_CANCEL"
38
38
 
39
39
  CAUSES = [
40
40
  UNALLOCATED_NUMBER,
@@ -3,10 +3,10 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class RoutingPlan
6
- BLOCK_TYPE = 'ROUTINGPLAN'
6
+ BLOCK_TYPE = "ROUTINGPLAN"
7
7
 
8
8
  def initialize(routing_plan:)
9
- raise 'routing_plan is required' if routing_plan.nil?
9
+ raise "routing_plan is required" if routing_plan.nil?
10
10
 
11
11
  @routing_plan = routing_plan
12
12
  end
@@ -3,7 +3,7 @@
3
3
  module Tenios
4
4
  class Blocks
5
5
  class Say
6
- BLOCK_TYPE = 'SAY'
6
+ BLOCK_TYPE = "SAY"
7
7
 
8
8
  def initialize(text:, voice:, ssml:)
9
9
  @text = text
@@ -25,8 +25,8 @@ module Tenios
25
25
  private
26
26
 
27
27
  def validate!
28
- raise 'text is required' if @text.nil?
29
- raise 'voice is required' if @voice.nil?
28
+ raise "text is required" if @text.nil?
29
+ raise "voice is required" if @voice.nil?
30
30
  end
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tenios
4
- VERSION = '0.3.0'
4
+ VERSION = "0.4.0"
5
5
  end
data/tenios.gemspec CHANGED
@@ -1,32 +1,32 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('lib', __dir__)
3
+ lib = File.expand_path("lib", __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require 'tenios/version'
5
+ require "tenios/version"
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = 'tenios'
9
- spec.version = Tenios::VERSION
10
- spec.authors = ['carwow Developers']
11
- spec.email = ['developers@carwow.co.uk']
12
- spec.summary = 'A ruby wrapper for Tenios Call Control API'
13
- spec.homepage = 'https://github.com/carwow/tenios-ruby'
14
- spec.license = 'MIT'
8
+ spec.name = "tenios"
9
+ spec.version = Tenios::VERSION
10
+ spec.authors = ["carwow Developers"]
11
+ spec.email = ["developers@carwow.co.uk"]
12
+ spec.summary = "A ruby wrapper for Tenios Call Control API"
13
+ spec.homepage = "https://github.com/carwow/tenios-ruby"
14
+ spec.license = "MIT"
15
15
 
16
16
  if spec.respond_to?(:metadata)
17
- spec.metadata['allowed_push_host'] = 'https://rubygems.org'
17
+ spec.metadata["allowed_push_host"] = "https://rubygems.org"
18
18
  else
19
- raise 'RubyGems 2.0 or newer is required to protect against ' \
20
- 'public gem pushes.'
19
+ raise "RubyGems 2.0 or newer is required to protect against " \
20
+ "public gem pushes."
21
21
  end
22
22
 
23
23
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
24
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
25
25
  end
26
- spec.require_paths = ['lib']
26
+ spec.require_paths = ["lib"]
27
27
 
28
- spec.add_development_dependency 'bundler', '~> 2'
29
- spec.add_development_dependency 'carwow_rubocop'
30
- spec.add_development_dependency 'rake'
31
- spec.add_development_dependency 'rspec'
28
+ spec.add_development_dependency "bundler", "~> 2"
29
+ spec.add_development_dependency "rake", "~> 13"
30
+ spec.add_development_dependency "rspec", "~> 3"
31
+ spec.add_development_dependency "standard", "~> 1"
32
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tenios
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - carwow Developers
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-14 00:00:00.000000000 Z
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -25,48 +25,48 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: carwow_rubocop
28
+ name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '13'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '13'
41
41
  - !ruby/object:Gem::Dependency
42
- name: rake
42
+ name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '3'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rspec
56
+ name: standard
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ">="
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: '1'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
69
- description:
68
+ version: '1'
69
+ description:
70
70
  email:
71
71
  - developers@carwow.co.uk
72
72
  executables: []
@@ -74,12 +74,10 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".circleci/config.yml"
77
+ - ".github/dependabot.yml"
77
78
  - ".gitignore"
78
79
  - ".rspec"
79
- - ".rubocop.yml"
80
- - ".rubocop_todo.yml"
81
80
  - Gemfile
82
- - Gemfile.lock
83
81
  - LICENSE.txt
84
82
  - README.md
85
83
  - Rakefile
@@ -100,7 +98,7 @@ licenses:
100
98
  - MIT
101
99
  metadata:
102
100
  allowed_push_host: https://rubygems.org
103
- post_install_message:
101
+ post_install_message:
104
102
  rdoc_options: []
105
103
  require_paths:
106
104
  - lib
@@ -115,8 +113,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
113
  - !ruby/object:Gem::Version
116
114
  version: '0'
117
115
  requirements: []
118
- rubygems_version: 3.0.3
119
- signing_key:
116
+ rubygems_version: 3.3.11
117
+ signing_key:
120
118
  specification_version: 4
121
119
  summary: A ruby wrapper for Tenios Call Control API
122
120
  test_files: []
data/.rubocop.yml DELETED
@@ -1,8 +0,0 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
- inherit_gem:
4
- carwow_rubocop:
5
- - default.yml
6
-
7
- RSpec/NestedGroups:
8
- Max: 5
data/.rubocop_todo.yml DELETED
@@ -1,41 +0,0 @@
1
- # This configuration was generated by
2
- # `rubocop --auto-gen-config`
3
- # on 2019-02-21 23:25:38 +0000 using RuboCop version 0.63.1.
4
- # The point is for the user to remove these configuration records
5
- # one by one as the offenses are removed from the code base.
6
- # Note that changes in the inspected code, or installation of new
7
- # versions of RuboCop, may require this file to be generated again.
8
-
9
- # Offense count: 2
10
- Metrics/AbcSize:
11
- Max: 22
12
-
13
- # Offense count: 3
14
- Metrics/CyclomaticComplexity:
15
- Max: 10
16
-
17
- # Offense count: 3
18
- # Configuration parameters: CountComments, ExcludedMethods.
19
- Metrics/MethodLength:
20
- Max: 13
21
-
22
- # Offense count: 2
23
- # Configuration parameters: CountKeywordArgs.
24
- Metrics/ParameterLists:
25
- Max: 10
26
-
27
- # Offense count: 1
28
- Metrics/PerceivedComplexity:
29
- Max: 10
30
-
31
- # Offense count: 6
32
- # Configuration parameters: Max.
33
- RSpec/ExampleLength:
34
- Exclude:
35
- - 'spec/tenios/blocks_spec.rb'
36
- - 'spec/tenios_spec.rb'
37
-
38
- # Offense count: 3
39
- # Configuration parameters: AggregateFailuresByDefault.
40
- RSpec/MultipleExpectations:
41
- Max: 2
data/Gemfile.lock DELETED
@@ -1,58 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- tenios (0.2.0)
5
-
6
- GEM
7
- remote: https://rubygems.org/
8
- specs:
9
- ast (2.4.0)
10
- carwow_rubocop (2.1.1)
11
- rubocop (~> 0.58)
12
- rubocop-rspec (~> 1.28)
13
- diff-lcs (1.3)
14
- jaro_winkler (1.5.2)
15
- parallel (1.13.0)
16
- parser (2.6.0.0)
17
- ast (~> 2.4.0)
18
- powerpack (0.1.2)
19
- rainbow (3.0.0)
20
- rake (10.5.0)
21
- rspec (3.8.0)
22
- rspec-core (~> 3.8.0)
23
- rspec-expectations (~> 3.8.0)
24
- rspec-mocks (~> 3.8.0)
25
- rspec-core (3.8.0)
26
- rspec-support (~> 3.8.0)
27
- rspec-expectations (3.8.2)
28
- diff-lcs (>= 1.2.0, < 2.0)
29
- rspec-support (~> 3.8.0)
30
- rspec-mocks (3.8.0)
31
- diff-lcs (>= 1.2.0, < 2.0)
32
- rspec-support (~> 3.8.0)
33
- rspec-support (3.8.0)
34
- rubocop (0.63.1)
35
- jaro_winkler (~> 1.5.1)
36
- parallel (~> 1.10)
37
- parser (>= 2.5, != 2.5.1.1)
38
- powerpack (~> 0.1)
39
- rainbow (>= 2.2.2, < 4.0)
40
- ruby-progressbar (~> 1.7)
41
- unicode-display_width (~> 1.4.0)
42
- rubocop-rspec (1.32.0)
43
- rubocop (>= 0.60.0)
44
- ruby-progressbar (1.10.0)
45
- unicode-display_width (1.4.1)
46
-
47
- PLATFORMS
48
- ruby
49
-
50
- DEPENDENCIES
51
- bundler (~> 2)
52
- carwow_rubocop
53
- rake
54
- rspec
55
- tenios!
56
-
57
- BUNDLED WITH
58
- 2.0.2