facegroups 0.2.2 → 0.3.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
  SHA1:
3
- metadata.gz: 152e77831c3b594ae33626c56057d8fb18f932a5
4
- data.tar.gz: a8b9d264b3d9c4b286bc2bd9439683ff8bd53ff7
3
+ metadata.gz: a38b4a1bbadfc425d517db2431c0e73b420143bb
4
+ data.tar.gz: 18e87447ef4f72a2c47908697a6b4884097087ec
5
5
  SHA512:
6
- metadata.gz: 073edf44bb3f9c94215bff47e8f79384965791d3a3896e5845ef8dcd6f37117074daca460dabb098cad6ee4c01414ad48a8989adcd53dfcf78143f250da0016b
7
- data.tar.gz: 568826166250023151216166adb15a7a9dfe6bae079d857a161224a6637520b1c4366cc39cbfd371c9236828b3118ec3eeeae47c5f1198e4fdeecac3c10fdf11
6
+ metadata.gz: e7eea6952145e45fd31dea57565f5874b9d504561508918f226b0e3dc7bc3dd5022c64de9b4a7cd537b191e89db9c808bc108ca19aac51770c8c2f29d209053c
7
+ data.tar.gz: 00a60a5254b356db714848976459afe08a97129bf8d6c796a1a3748a3084171febf466b37ced2e5621d8f351fb33e2889f408ee4304a6c57abc81ddc977d8772
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- facegroups (0.2.2)
4
+ facegroups (0.3.0)
5
5
  http (~> 2.0)
6
6
 
7
7
  GEM
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FaceGroups
4
- VERSION = '0.2.2'
4
+ VERSION = '0.3.0'
5
5
  end
@@ -2,22 +2,6 @@
2
2
  require_relative 'spec_helper.rb'
3
3
 
4
4
  describe 'FaceGroups specifications' do
5
- VCR.configure do |c|
6
- c.cassette_library_dir = CASSETTES_FOLDER
7
- c.hook_into :webmock
8
-
9
- c.filter_sensitive_data('<ACCESS_TOKEN>') do
10
- URI.unescape(ENV['FB_ACCESS_TOKEN'])
11
- end
12
-
13
- c.filter_sensitive_data('<ACCESS_TOKEN_ESCAPED>') do
14
- ENV['FB_ACCESS_TOKEN']
15
- end
16
-
17
- c.filter_sensitive_data('<CLIENT_ID>') { ENV['FB_CLIENT_ID'] }
18
- c.filter_sensitive_data('<CLIENT_SECRET>') { ENV['FB_CLIENT_SECRET'] }
19
- end
20
-
21
5
  before do
22
6
  VCR.insert_cassette CASSETTE_FILE, record: :new_episodes
23
7
  end
data/spec/spec_helper.rb CHANGED
@@ -25,3 +25,21 @@ end
25
25
  RESULT_FILE = "#{FIXTURES_FOLDER}/fb_api_results.yml"
26
26
  FB_RESULT = YAML.load(File.read(RESULT_FILE))
27
27
  INVALID_RESOURCE_ID = '_12345'
28
+
29
+ VCR.configure do |c|
30
+ c.cassette_library_dir = CASSETTES_FOLDER
31
+ c.hook_into :webmock
32
+
33
+ c.filter_sensitive_data('<ACCESS_TOKEN>') do
34
+ URI.unescape(ENV['FB_ACCESS_TOKEN'])
35
+ end
36
+
37
+ c.filter_sensitive_data('<ACCESS_TOKEN_ESCAPED>') do
38
+ ENV['FB_ACCESS_TOKEN']
39
+ end
40
+
41
+ c.filter_sensitive_data('<CLIENT_ID>') { ENV['FB_CLIENT_ID'] }
42
+ c.filter_sensitive_data('<CLIENT_SECRET>') { ENV['FB_CLIENT_SECRET'] }
43
+
44
+ c.ignore_hosts 'codeclimate.com'
45
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facegroups
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditya Utama Wijaya