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.
- checksums.yaml +4 -4
- data/.circleci/config.yml +44 -0
- data/.gitignore +2 -1
- data/.rspec +1 -0
- data/.rubocop-https---raw-githubusercontent-com-rubocop-hq-rubocop-master-config-enabled-yml +2099 -0
- data/.rubocop.yml +0 -3
- data/Gemfile +5 -0
- data/Gemfile.lock +20 -3
- data/lib/mystery_shopper/game.rb +2 -2
- data/lib/mystery_shopper/version.rb +1 -1
- metadata +4 -1
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,19 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
mystery_shopper (0.1.
|
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
|
-
|
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.
|
55
|
+
1.17.2
|
data/lib/mystery_shopper/game.rb
CHANGED
@@ -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
|
63
|
+
@video_link ||= data['video_link']
|
64
64
|
end
|
65
65
|
|
66
66
|
def front_box_art
|
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.
|
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
|