fizzy-api 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/.gitlab-ci.yml +23 -0
  3. data/.rubocop.yml +17 -1
  4. data/Gemfile +3 -1
  5. data/Gemfile.lock +71 -66
  6. data/circle.yml +1 -1
  7. data/fizzy_api.gemspec +6 -6
  8. data/lib/fizzy-api.rb +2 -0
  9. data/lib/fizzy/api.rb +2 -0
  10. data/lib/fizzy/api/endpoints.rb +2 -0
  11. data/lib/fizzy/api/endpoints/calculate_outcome.rb +2 -0
  12. data/lib/fizzy/api/endpoints/endpoint.rb +2 -0
  13. data/lib/fizzy/api/endpoints/render_graph.rb +2 -0
  14. data/lib/fizzy/api/endpoints/render_graph_synchronous.rb +2 -0
  15. data/lib/fizzy/api/endpoints/render_overview.rb +2 -0
  16. data/lib/fizzy/api/errors.rb +2 -0
  17. data/lib/fizzy/api/errors/graph_not_found_error.rb +2 -0
  18. data/lib/fizzy/api/errors/method_not_allowed_error.rb +2 -0
  19. data/lib/fizzy/api/errors/outcome_not_available_error.rb +2 -0
  20. data/lib/fizzy/api/errors/too_few_measurements_error.rb +2 -0
  21. data/lib/fizzy/api/errors/unexpected_status_error.rb +2 -0
  22. data/lib/fizzy/api/sessions.rb +2 -0
  23. data/lib/fizzy/api/sessions/basic_auth_session.rb +2 -0
  24. data/lib/fizzy/api/version.rb +3 -1
  25. data/spec/factories/basic_auth_session.rb +3 -1
  26. data/spec/fizzy/api/endpoints/calculate_outcome_spec.rb +3 -1
  27. data/spec/fizzy/api/endpoints/render_graph_spec.rb +3 -1
  28. data/spec/fizzy/api/endpoints/render_graph_synchronous_spec.rb +3 -1
  29. data/spec/fizzy/api/endpoints/render_overview_spec.rb +3 -1
  30. data/spec/fizzy/api/sessions/basic_auth_session_spec.rb +4 -3
  31. data/spec/fizzy/api/sessions_spec.rb +2 -0
  32. data/spec/shared_examples_for_endpoints.rb +2 -0
  33. data/spec/spec_helper.rb +6 -3
  34. data/spec/support/httparty_helpers.rb +2 -0
  35. metadata +17 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 41d9309bfa369b94a284a5364c64e014e8b46e9a
4
- data.tar.gz: a8bfea6a25221eb9932494150b02786cd90c9ed5
3
+ metadata.gz: 802f27fc26033f44a46a7fe28743f072dc3dbbb3
4
+ data.tar.gz: e0ebc607de244a2971dd9e90e227694f3f712f90
5
5
  SHA512:
6
- metadata.gz: 22f787bdcd75f9d4148bf10a580ed26685f0701bce905ee682473de4ca84b28ec78b20e94a50b754d9f2621b47666ab0e4f216caeebaf274d5e6a747929d7c8c
7
- data.tar.gz: 1f8c65590cd845755c37e8b32e578df0968d63f1ef9dc02dc23a060cc33e7321212ed9736af31bf6d4f86716bef31b356687c863492cce5cc6b9ef06c08191a0
6
+ metadata.gz: c5be9b79ee001ed0e5d2ee387ac6fc0fe9079738f7e33abcfbabba2ba3e5448e9dbdcfe1abb795ed2fcd654b4c5fbcf8b810c141132a53090715b2fb7232589b
7
+ data.tar.gz: f9cd61d2f011df75f56b585901a9582393bb8d07ec67226061bd33d70e691c187bd7fc7aae5a8e3e4d6b332119d5aa67c9cf3e90f54dc60e6500471888b2c8bc
@@ -0,0 +1,23 @@
1
+ image: "roqua/roqua-build-images:ruby-2.3.3-phantomjs-2.1.1-bundler-gemnasium"
2
+
3
+ variables:
4
+ POSTGRES_DB: fizzy_api_test
5
+ POSTGRES_USER: runner
6
+ POSTGRES_PASSWORD: ""
7
+ DATABASE_URL: "postgres://runner@postgres:5432/fizzy_api_test"
8
+ RAILS_ENV: test
9
+ RACK_ENV: test
10
+
11
+ before_script:
12
+ - ruby -v
13
+ - eval $(ssh-agent -s)
14
+
15
+ - bundle-cache
16
+
17
+ rspec:
18
+ script:
19
+ - bundle exec rspec spec
20
+
21
+ rubocop:
22
+ script:
23
+ - bundle exec rubocop -D
@@ -1,6 +1,7 @@
1
1
  inherit_from: rubocop-todo.yml
2
2
 
3
3
  AllCops:
4
+ TargetRubyVersion: 2.3
4
5
  Exclude:
5
6
  - 'fizzy_api.gemspec'
6
7
  - 'tmp/**/*'
@@ -15,11 +16,26 @@ Encoding:
15
16
  LineLength:
16
17
  Max: 120
17
18
 
19
+ Metrics/BlockLength:
20
+ Exclude:
21
+ - 'spec/**/*'
22
+
23
+ Style/MixinUsage:
24
+ Exclude:
25
+ - 'spec/spec_helper.rb'
26
+
18
27
  # Avoid methods longer than 10 lines of code
19
28
  MethodLength:
20
29
  CountComments: false # count full line comments?
21
30
  Max: 20
22
31
 
32
+ # Describe specs fail this test
33
+ # Namespaces in rake tasks do too
34
+ Metrics/BlockLength:
35
+ Exclude:
36
+ - 'spec/**/*'
37
+ - '**/*.rake'
38
+
23
39
  ################################################################## DISABLED COPS
24
40
 
25
41
  # These cops are disabled because we think they are a Bad Idea. If you add one
@@ -33,7 +49,7 @@ Documentation:
33
49
  Enabled: false
34
50
 
35
51
  # Gems typically have one file named the-gem-name.rb which can be autorequired by bundler
36
- Style/FileName:
52
+ Naming/FileName:
37
53
  Exclude:
38
54
  - lib/fizzy-api.rb
39
55
 
data/Gemfile CHANGED
@@ -1,8 +1,10 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'https://rubygems.org'
2
4
  gemspec
3
5
 
4
6
  group :test do
5
- gem 'factory_girl_rails'
7
+ gem 'factory_bot_rails'
6
8
  gem 'rspec'
7
9
  gem 'rubocop'
8
10
  end
@@ -2,31 +2,31 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  fizzy-api (0.1.4)
5
- active_interaction (~> 3.4.0)
6
- httparty (~> 0.12)
5
+ active_interaction (~> 3.6)
6
+ httparty (~> 0.15)
7
7
  virtus (~> 1.0)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actionpack (5.0.0.1)
13
- actionview (= 5.0.0.1)
14
- activesupport (= 5.0.0.1)
12
+ actionpack (5.1.4)
13
+ actionview (= 5.1.4)
14
+ activesupport (= 5.1.4)
15
15
  rack (~> 2.0)
16
- rack-test (~> 0.6.3)
16
+ rack-test (>= 0.6.3)
17
17
  rails-dom-testing (~> 2.0)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (5.0.0.1)
20
- activesupport (= 5.0.0.1)
19
+ actionview (5.1.4)
20
+ activesupport (= 5.1.4)
21
21
  builder (~> 3.1)
22
- erubis (~> 2.7.0)
22
+ erubi (~> 1.4)
23
23
  rails-dom-testing (~> 2.0)
24
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- active_interaction (3.4.0)
24
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
25
+ active_interaction (3.6.1)
26
26
  activemodel (>= 4, < 6)
27
- activemodel (5.0.0.1)
28
- activesupport (= 5.0.0.1)
29
- activesupport (5.0.0.1)
27
+ activemodel (5.1.4)
28
+ activesupport (= 5.1.4)
29
+ activesupport (5.1.4)
30
30
  concurrent-ruby (~> 1.0, >= 1.0.2)
31
31
  i18n (~> 0.7)
32
32
  minitest (~> 5.1)
@@ -36,76 +36,81 @@ GEM
36
36
  descendants_tracker (~> 0.0.4)
37
37
  ice_nine (~> 0.11.0)
38
38
  thread_safe (~> 0.3, >= 0.3.1)
39
- builder (3.2.2)
39
+ builder (3.2.3)
40
40
  coercible (1.0.0)
41
41
  descendants_tracker (~> 0.0.1)
42
- concurrent-ruby (1.0.2)
42
+ concurrent-ruby (1.0.5)
43
+ crass (1.0.3)
43
44
  descendants_tracker (0.0.4)
44
45
  thread_safe (~> 0.3, >= 0.3.1)
45
- diff-lcs (1.2.5)
46
+ diff-lcs (1.3)
46
47
  equalizer (0.0.11)
47
- erubis (2.7.0)
48
- factory_girl (4.7.0)
48
+ erubi (1.7.0)
49
+ factory_bot (4.8.2)
49
50
  activesupport (>= 3.0.0)
50
- factory_girl_rails (4.7.0)
51
- factory_girl (~> 4.7.0)
51
+ factory_bot_rails (4.8.2)
52
+ factory_bot (~> 4.8.2)
52
53
  railties (>= 3.0.0)
53
- httparty (0.14.0)
54
+ httparty (0.15.6)
54
55
  multi_xml (>= 0.5.2)
55
- i18n (0.7.0)
56
+ i18n (0.9.1)
57
+ concurrent-ruby (~> 1.0)
56
58
  ice_nine (0.11.2)
57
- loofah (2.0.3)
59
+ loofah (2.1.1)
60
+ crass (~> 1.0.2)
58
61
  nokogiri (>= 1.5.9)
59
- method_source (0.8.2)
60
- mini_portile2 (2.1.0)
61
- minitest (5.9.1)
62
- multi_xml (0.5.5)
63
- nokogiri (1.6.8.1)
64
- mini_portile2 (~> 2.1.0)
65
- parser (2.3.2.0)
66
- ast (~> 2.2)
62
+ method_source (0.9.0)
63
+ mini_portile2 (2.3.0)
64
+ minitest (5.11.1)
65
+ multi_xml (0.6.0)
66
+ nokogiri (1.8.1)
67
+ mini_portile2 (~> 2.3.0)
68
+ parallel (1.12.1)
69
+ parser (2.4.0.2)
70
+ ast (~> 2.3)
67
71
  powerpack (0.1.1)
68
- rack (2.0.1)
69
- rack-test (0.6.3)
70
- rack (>= 1.0)
71
- rails-dom-testing (2.0.1)
72
- activesupport (>= 4.2.0, < 6.0)
73
- nokogiri (~> 1.6.0)
72
+ rack (2.0.3)
73
+ rack-test (0.8.2)
74
+ rack (>= 1.0, < 3)
75
+ rails-dom-testing (2.0.3)
76
+ activesupport (>= 4.2.0)
77
+ nokogiri (>= 1.6)
74
78
  rails-html-sanitizer (1.0.3)
75
79
  loofah (~> 2.0)
76
- railties (5.0.0.1)
77
- actionpack (= 5.0.0.1)
78
- activesupport (= 5.0.0.1)
80
+ railties (5.1.4)
81
+ actionpack (= 5.1.4)
82
+ activesupport (= 5.1.4)
79
83
  method_source
80
84
  rake (>= 0.8.7)
81
85
  thor (>= 0.18.1, < 2.0)
82
- rainbow (2.1.0)
83
- rake (11.3.0)
84
- rspec (3.5.0)
85
- rspec-core (~> 3.5.0)
86
- rspec-expectations (~> 3.5.0)
87
- rspec-mocks (~> 3.5.0)
88
- rspec-core (3.5.4)
89
- rspec-support (~> 3.5.0)
90
- rspec-expectations (3.5.0)
86
+ rainbow (3.0.0)
87
+ rake (12.3.0)
88
+ rspec (3.7.0)
89
+ rspec-core (~> 3.7.0)
90
+ rspec-expectations (~> 3.7.0)
91
+ rspec-mocks (~> 3.7.0)
92
+ rspec-core (3.7.1)
93
+ rspec-support (~> 3.7.0)
94
+ rspec-expectations (3.7.0)
91
95
  diff-lcs (>= 1.2.0, < 2.0)
92
- rspec-support (~> 3.5.0)
93
- rspec-mocks (3.5.0)
96
+ rspec-support (~> 3.7.0)
97
+ rspec-mocks (3.7.0)
94
98
  diff-lcs (>= 1.2.0, < 2.0)
95
- rspec-support (~> 3.5.0)
96
- rspec-support (3.5.0)
97
- rubocop (0.45.0)
98
- parser (>= 2.3.1.1, < 3.0)
99
+ rspec-support (~> 3.7.0)
100
+ rspec-support (3.7.0)
101
+ rubocop (0.52.1)
102
+ parallel (~> 1.10)
103
+ parser (>= 2.4.0.2, < 3.0)
99
104
  powerpack (~> 0.1)
100
- rainbow (>= 1.99.1, < 3.0)
105
+ rainbow (>= 2.2.2, < 4.0)
101
106
  ruby-progressbar (~> 1.7)
102
107
  unicode-display_width (~> 1.0, >= 1.0.1)
103
- ruby-progressbar (1.8.1)
104
- thor (0.19.1)
105
- thread_safe (0.3.5)
106
- tzinfo (1.2.2)
108
+ ruby-progressbar (1.9.0)
109
+ thor (0.20.0)
110
+ thread_safe (0.3.6)
111
+ tzinfo (1.2.4)
107
112
  thread_safe (~> 0.1)
108
- unicode-display_width (1.1.1)
113
+ unicode-display_width (1.3.0)
109
114
  virtus (1.0.5)
110
115
  axiom-types (~> 0.1)
111
116
  coercible (~> 1.0)
@@ -116,12 +121,12 @@ PLATFORMS
116
121
  ruby
117
122
 
118
123
  DEPENDENCIES
119
- bundler (~> 1.9)
120
- factory_girl_rails
124
+ bundler (~> 1.16)
125
+ factory_bot_rails
121
126
  fizzy-api!
122
- rake (~> 11.3)
127
+ rake (~> 12.3)
123
128
  rspec
124
129
  rubocop
125
130
 
126
131
  BUNDLED WITH
127
- 1.12.5
132
+ 1.16.1
data/circle.yml CHANGED
@@ -2,7 +2,7 @@ machine:
2
2
  timezone:
3
3
  Europe/Amsterdam
4
4
  ruby:
5
- version: 2.2.4
5
+ version: 2.3.3
6
6
  test:
7
7
  override:
8
8
  - bundle exec rspec spec:
@@ -16,12 +16,12 @@ Gem::Specification.new do |gem|
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ['lib']
18
18
 
19
- gem.add_dependency 'httparty', '~> 0.12'
20
- gem.add_dependency 'active_interaction', '~> 3.4.0'
19
+ gem.add_dependency 'httparty', '~> 0.15'
20
+ gem.add_dependency 'active_interaction', '~> 3.6'
21
21
  gem.add_dependency 'virtus', '~> 1.0'
22
22
 
23
- gem.add_development_dependency 'bundler', '~> 1.9'
24
- gem.add_development_dependency 'rake', '~> 11.3'
25
- gem.add_development_dependency 'rspec', '~> 3.4'
26
- gem.add_development_dependency 'factory_girl_rails', '~> 4.6'
23
+ gem.add_development_dependency 'bundler', '~> 1.16'
24
+ gem.add_development_dependency 'rake', '~> 12.3'
25
+ gem.add_development_dependency 'rspec', '~> 3.7'
26
+ gem.add_development_dependency 'factory_bot_rails', '~> 4.8'
27
27
  end
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fizzy/api'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'active_interaction'
2
4
  require 'fizzy/api/version'
3
5
  require 'fizzy/api/sessions'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fizzy/api/endpoints/endpoint'
2
4
  require 'fizzy/api/endpoints/calculate_outcome'
3
5
  require 'fizzy/api/endpoints/render_graph'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Endpoints
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Endpoints
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Endpoints
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Endpoints
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Endpoints
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'fizzy/api/errors/graph_not_found_error'
2
4
  require 'fizzy/api/errors/outcome_not_available_error'
3
5
  require 'fizzy/api/errors/too_few_measurements_error'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Errors
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'httparty'
2
4
  require 'fizzy/api/sessions/basic_auth_session'
3
5
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Sessions
@@ -1,5 +1,7 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
- VERSION = '0.1.4'.freeze
5
+ VERSION = '0.1.5'
4
6
  end
5
7
  end
@@ -1,4 +1,6 @@
1
- FactoryGirl.define do
1
+ # frozen_string_literal: true
2
+
3
+ FactoryBot.define do
2
4
  factory :basic_auth_session do
3
5
  initialize_with { new(username: 'some_username', password: 'some_password', fizzy_url: 'http://fizzy.dev') }
4
6
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
  require 'shared_examples_for_endpoints'
3
5
  module Fizzy
@@ -7,7 +9,7 @@ module Fizzy
7
9
  let(:dossier_id) { '123' }
8
10
  let(:protocol_subscription_id) { 'abc' }
9
11
  let(:response) { httparty_response('body') }
10
- let(:session) { FactoryGirl.build :basic_auth_session }
12
+ let(:session) { FactoryBot.build :basic_auth_session }
11
13
 
12
14
  it_behaves_like 'an endpoint'
13
15
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
  require 'shared_examples_for_endpoints'
3
5
  module Fizzy
@@ -9,7 +11,7 @@ module Fizzy
9
11
  let(:path) { 'welbevinden.svg' }
10
12
  let(:options) { {} }
11
13
  let(:response) { httparty_response('<svg>') }
12
- let(:session) { FactoryGirl.build :basic_auth_session }
14
+ let(:session) { FactoryBot.build :basic_auth_session }
13
15
 
14
16
  it_behaves_like 'an endpoint'
15
17
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
  require 'shared_examples_for_endpoints'
3
5
  module Fizzy
@@ -9,7 +11,7 @@ module Fizzy
9
11
  let(:path) { 'welbevinden.svg' }
10
12
  let(:options) { {} }
11
13
  let(:response) { httparty_response('<svg>') }
12
- let(:session) { FactoryGirl.build :basic_auth_session }
14
+ let(:session) { FactoryBot.build :basic_auth_session }
13
15
 
14
16
  it_behaves_like 'an endpoint'
15
17
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
4
  require 'shared_examples_for_endpoints'
3
5
  module Fizzy
@@ -7,7 +9,7 @@ module Fizzy
7
9
  let(:dossier_id) { '123' }
8
10
  let(:protocol_subscription_id) { 'abc' }
9
11
  let(:response) { httparty_response('{}') }
10
- let(:session) { FactoryGirl.build :basic_auth_session }
12
+ let(:session) { FactoryBot.build :basic_auth_session }
11
13
 
12
14
  it_behaves_like 'an endpoint'
13
15
 
@@ -1,8 +1,9 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
2
- include Sessions
3
4
 
4
5
  describe BasicAuthSession do
5
- let(:session) { FactoryGirl.build :basic_auth_session }
6
+ let(:session) { FactoryBot.build :basic_auth_session }
6
7
  let(:response) { double('response', code: 201, parsed_response: 'some_response') }
7
8
 
8
9
  describe '#initialize' do
@@ -51,7 +52,7 @@ describe BasicAuthSession do
51
52
  expect(HTTParty).to receive(:get).with('http://fizzy.dev/api/v1/some_path',
52
53
  query: { some: 'param' },
53
54
  basic_auth: { username: 'some_username', password: 'some_password' })
54
- .and_return(response)
55
+ .and_return(response)
55
56
  session.get('/some_path', some: 'param')
56
57
  end
57
58
 
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'spec_helper'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Fizzy
2
4
  module Api
3
5
  module Endpoints
@@ -1,13 +1,16 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rspec'
2
- require 'factory_girl_rails'
4
+ require 'factory_bot_rails'
3
5
  require 'fizzy-api'
4
6
  require 'httparty'
7
+
5
8
  include Fizzy::Api
6
9
  include Fizzy::Api::Sessions
7
10
  # include Fizzy::Api::Models
8
11
 
9
- Dir[File.join(File.expand_path(File.dirname(__FILE__)), 'support', '*.rb')].each { |f| require f }
10
- Dir[File.join(File.expand_path(File.dirname(__FILE__)), 'factories', '*.rb')].each { |f| require f }
12
+ Dir[File.join(__dir__, 'support', '*.rb')].each { |f| require f }
13
+ Dir[File.join(__dir__, 'factories', '*.rb')].each { |f| require f }
11
14
 
12
15
  RSpec.configure do |config|
13
16
  config.filter_run :focus
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  def httparty_response(response_data)
2
4
  response = double('reponse')
3
5
  allow(response).to receive(:body).and_return response_data
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fizzy-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank Blaauw
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-21 00:00:00.000000000 Z
12
+ date: 2018-07-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -17,28 +17,28 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '0.12'
20
+ version: '0.15'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '0.12'
27
+ version: '0.15'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: active_interaction
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 3.4.0
34
+ version: '3.6'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 3.4.0
41
+ version: '3.6'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: virtus
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -59,56 +59,56 @@ dependencies:
59
59
  requirements:
60
60
  - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '1.9'
62
+ version: '1.16'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '1.9'
69
+ version: '1.16'
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rake
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - "~>"
75
75
  - !ruby/object:Gem::Version
76
- version: '11.3'
76
+ version: '12.3'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - "~>"
82
82
  - !ruby/object:Gem::Version
83
- version: '11.3'
83
+ version: '12.3'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: rspec
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
88
  - - "~>"
89
89
  - !ruby/object:Gem::Version
90
- version: '3.4'
90
+ version: '3.7'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
95
  - - "~>"
96
96
  - !ruby/object:Gem::Version
97
- version: '3.4'
97
+ version: '3.7'
98
98
  - !ruby/object:Gem::Dependency
99
- name: factory_girl_rails
99
+ name: factory_bot_rails
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - "~>"
103
103
  - !ruby/object:Gem::Version
104
- version: '4.6'
104
+ version: '4.8'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
109
  - - "~>"
110
110
  - !ruby/object:Gem::Version
111
- version: '4.6'
111
+ version: '4.8'
112
112
  description: Provides authenticated access to fizzy utilities
113
113
  email:
114
114
  - f.j.blaauw@umcg.nl
@@ -118,6 +118,7 @@ extensions: []
118
118
  extra_rdoc_files: []
119
119
  files:
120
120
  - ".gitignore"
121
+ - ".gitlab-ci.yml"
121
122
  - ".rubocop.yml"
122
123
  - Gemfile
123
124
  - Gemfile.lock
@@ -174,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
175
  version: '0'
175
176
  requirements: []
176
177
  rubyforge_project:
177
- rubygems_version: 2.4.8
178
+ rubygems_version: 2.5.2
178
179
  signing_key:
179
180
  specification_version: 4
180
181
  summary: API wrapper gem around Fizzy's Graph API