mystery_shopper 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,3 @@
1
- inherit_from:
2
- - https://raw.githubusercontent.com/rubocop-hq/rubocop/master/config/enabled.yml
3
-
4
1
  Metrics/BlockLength:
5
2
  Enabled: true
6
3
  Exclude:
data/Gemfile CHANGED
@@ -4,3 +4,8 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in mystery_shopper.gemspec
6
6
  gemspec
7
+
8
+ group :development, :test do
9
+ gem 'byebug'
10
+ gem 'rspec'
11
+ end
@@ -1,19 +1,34 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mystery_shopper (0.1.0)
4
+ mystery_shopper (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  ast (2.4.0)
10
- jaro_winkler (1.5.1-x86_64-darwin-17)
10
+ byebug (11.0.0)
11
+ diff-lcs (1.3)
12
+ jaro_winkler (1.5.1)
11
13
  parallel (1.12.1)
12
14
  parser (2.5.1.2)
13
15
  ast (~> 2.4.0)
14
16
  powerpack (0.1.1)
15
17
  rainbow (3.0.0)
16
18
  rake (10.5.0)
19
+ rspec (3.8.0)
20
+ rspec-core (~> 3.8.0)
21
+ rspec-expectations (~> 3.8.0)
22
+ rspec-mocks (~> 3.8.0)
23
+ rspec-core (3.8.0)
24
+ rspec-support (~> 3.8.0)
25
+ rspec-expectations (3.8.2)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.8.0)
28
+ rspec-mocks (3.8.0)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.8.0)
31
+ rspec-support (3.8.0)
17
32
  rubocop (0.58.1)
18
33
  jaro_winkler (~> 1.5.1)
19
34
  parallel (~> 1.10)
@@ -30,9 +45,11 @@ PLATFORMS
30
45
 
31
46
  DEPENDENCIES
32
47
  bundler (~> 1.16)
48
+ byebug
33
49
  mystery_shopper!
34
50
  rake (~> 10.0)
51
+ rspec
35
52
  rubocop (~> 0.58)
36
53
 
37
54
  BUNDLED WITH
38
- 1.16.1
55
+ 1.17.2
@@ -12,7 +12,7 @@ module MysteryShopper
12
12
  end
13
13
 
14
14
  def categories
15
- @categories ||= data.dig('categories', 'category')
15
+ @categories ||= Array(data.dig('categories', 'category'))
16
16
  end
17
17
 
18
18
  def url
@@ -60,7 +60,7 @@ module MysteryShopper
60
60
  end
61
61
 
62
62
  def video_link
63
- @video_link ||= data.fetch('video_link')
63
+ @video_link ||= data['video_link']
64
64
  end
65
65
 
66
66
  def front_box_art
@@ -1,3 +1,3 @@
1
1
  module MysteryShopper
2
- VERSION = '0.1.6'.freeze
2
+ VERSION = '0.1.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mystery_shopper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hunter Braun
@@ -59,7 +59,10 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - ".circleci/config.yml"
62
63
  - ".gitignore"
64
+ - ".rspec"
65
+ - ".rubocop-https---raw-githubusercontent-com-rubocop-hq-rubocop-master-config-enabled-yml"
63
66
  - ".rubocop.yml"
64
67
  - Gemfile
65
68
  - Gemfile.lock