tinder_client 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +12 -3
- data/README.md +1 -1
- data/bin/console +1 -1
- data/lib/tasks/tinder.rake +1 -1
- data/lib/tinder/client.rb +1 -1
- data/lib/tinder/get_recommendations.rb +30 -31
- data/lib/tinder/get_updates.rb +53 -50
- data/lib/tinder/profile.rb +70 -71
- data/lib/tinder/version.rb +1 -1
- data/lib/{tinder.rb → tinder_client.rb} +0 -0
- data/tinder_client.gemspec +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 167cc4ebb326169d8ae16da13a2152c868a988cbdad04d2cf1624aa8755f716f
|
4
|
+
data.tar.gz: a791451985f07ef5e3bf6f1fc1eb253a1cb9aacd6dc1f3dd7791b18f50086f74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf42e0127c461cd11918f1c06dc9051a4558d3e463cedbdd7ed76ba321f3d9bfe9faf6883402b97b5273db2d1f28c5de4b913c5ee4a5f46357fa6a77f8039b4a
|
7
|
+
data.tar.gz: 01faabdf01872223930df55161b474e5daf0b58464bcdcb9d1b133a0ae8e9c0c8063b5c528d5813dcc891f04d9e7dae84d8bfb83f062d27f298e116896dc19c6
|
data/Gemfile
CHANGED
@@ -1,16 +1,25 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
|
+
|
2
3
|
gem 'bundler', '~> 1.17.2'
|
3
4
|
|
5
|
+
gem 'simplecov'
|
4
6
|
gem 'codecov'
|
5
7
|
|
6
8
|
gem 'faraday', '~> 0.15.0'
|
7
|
-
gem 'hashdiff', ['>= 1.0.0.beta1'] # fix for webmock
|
8
9
|
gem 'rspec', '~> 3.8'
|
9
|
-
gem 'webmock', '3.6.0'
|
10
10
|
|
11
|
-
gem 'dry-initializer', git: 'https://github.com/dry-rb/dry-initializer.git', ref: 'dd7b590'
|
12
11
|
gem 'dry-struct', git: 'https://github.com/dry-rb/dry-struct.git', ref: 'fe507e6'
|
13
12
|
gem 'dry-types', git: 'https://github.com/dry-rb/dry-types.git', ref: '3d54d08'
|
14
13
|
|
14
|
+
# web Mocks/stubs
|
15
|
+
gem 'vcr'
|
16
|
+
gem 'webmock', '3.6.0'
|
17
|
+
gem 'hashdiff', ['>= 1.0.0.beta1'] # fix for webmock
|
18
|
+
gem 'multi_json'
|
19
|
+
|
20
|
+
# Dev stuff
|
21
|
+
gem 'ruby-debug-ide'
|
22
|
+
gem 'debase'
|
23
|
+
|
15
24
|
# Specify your gem's dependencies in tinder.gemspec
|
16
25
|
gemspec
|
data/README.md
CHANGED
@@ -65,7 +65,7 @@ That means, call the services with your API token to return a struct:
|
|
65
65
|
attribute :id, Types.string
|
66
66
|
attribute? :crop_info do
|
67
67
|
attribute? :user do
|
68
|
-
attribute :width_pct, Types.float
|
68
|
+
attribute :width_pct, Dry::Types['coercible.float']
|
69
69
|
attribute :x_offset_pct, Types.float
|
70
70
|
attribute :height_pct, Types.float
|
71
71
|
attribute :y_offset_pct, Types.float
|
data/bin/console
CHANGED
data/lib/tasks/tinder.rake
CHANGED
data/lib/tinder/client.rb
CHANGED
@@ -20,25 +20,24 @@ module Tinder
|
|
20
20
|
|
21
21
|
results.map { |user_data| Recommendation.new(user_data) }
|
22
22
|
end
|
23
|
+
|
24
|
+
alias_method :recommendations, :get_recommendations
|
25
|
+
end
|
26
|
+
|
27
|
+
class PhotoMetadata < Dry::Struct
|
28
|
+
attribute :width_pct, Dry::Types['coercible.integer']
|
29
|
+
attribute :x_offset_pct, Dry::Types['coercible.integer']
|
30
|
+
attribute :height_pct, Dry::Types['coercible.integer']
|
31
|
+
attribute :y_offset_pct, Dry::Types['coercible.integer']
|
23
32
|
end
|
24
33
|
|
25
34
|
class Photo < Dry::Struct
|
26
35
|
attribute :id, Types.string
|
27
36
|
attribute? :crop_info do
|
28
|
-
attribute? :user
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
attribute :y_offset_pct, Types.float
|
33
|
-
end
|
34
|
-
attribute? :algo do
|
35
|
-
attribute :width_pct, Types.float
|
36
|
-
attribute :x_offset_pct, Types.float
|
37
|
-
attribute :height_pct, Types.float
|
38
|
-
attribute :y_offset_pct, Types.float
|
39
|
-
end
|
40
|
-
attribute :processed_by_bullseye, Types.bool
|
41
|
-
attribute :user_customized, Types.bool
|
37
|
+
attribute? :user, PhotoMetadata
|
38
|
+
attribute? :algo, PhotoMetadata
|
39
|
+
attribute? :processed_by_bullseye, Types.bool
|
40
|
+
attribute? :user_customized, Types.bool
|
42
41
|
attribute? :url, Types.string
|
43
42
|
attribute? :processedFiles, Types.array
|
44
43
|
attribute? :fileName, Types.string
|
@@ -51,14 +50,14 @@ module Tinder
|
|
51
50
|
attribute :bio, Types.string
|
52
51
|
attribute :birth_date, Types.string
|
53
52
|
attribute :name, Types.string
|
54
|
-
attribute :photos, Types.array.of(Photo)
|
55
|
-
attribute :gender, Types.integer
|
56
|
-
attribute :jobs, Types.array
|
57
|
-
attribute :schools, Types.array do
|
58
|
-
attribute :name, Types.string
|
53
|
+
attribute? :photos, Types.array.of(Photo)
|
54
|
+
attribute? :gender, Types.integer
|
55
|
+
attribute? :jobs, Types.array
|
56
|
+
attribute? :schools, Types.array do
|
57
|
+
attribute? :name, Types.string
|
59
58
|
end
|
60
59
|
attribute? :city do
|
61
|
-
attribute :name, Types.string
|
60
|
+
attribute? :name, Types.string
|
62
61
|
end
|
63
62
|
attribute? :is_traveling, Types.bool
|
64
63
|
attribute? :hide_age, Types.bool
|
@@ -69,18 +68,18 @@ module Tinder
|
|
69
68
|
class Recommendation < Dry::Struct
|
70
69
|
attribute :type, Types.string
|
71
70
|
attribute :user, User
|
72
|
-
attribute :facebook do
|
73
|
-
attribute :common_connections, Types.array
|
74
|
-
attribute :connection_count, Types.integer
|
75
|
-
attribute :common_interests, Types.array
|
71
|
+
attribute? :facebook do
|
72
|
+
attribute? :common_connections, Types.array
|
73
|
+
attribute? :connection_count, Types.integer
|
74
|
+
attribute? :common_interests, Types.array
|
76
75
|
end
|
77
|
-
attribute :spotify, Types.hash
|
78
|
-
attribute :distance_mi, Types.integer
|
79
|
-
attribute :content_hash, Types.string
|
80
|
-
attribute :s_number, Types.integer
|
81
|
-
attribute :teasers, Types.array do
|
82
|
-
attribute :type, Types.string
|
83
|
-
attribute :string, Types.string
|
76
|
+
attribute? :spotify, Types.hash
|
77
|
+
attribute? :distance_mi, Types.integer
|
78
|
+
attribute? :content_hash, Types.string
|
79
|
+
attribute? :s_number, Types.integer
|
80
|
+
attribute? :teasers, Types.array do
|
81
|
+
attribute? :type, Types.string
|
82
|
+
attribute? :string, Types.string
|
84
83
|
end
|
85
84
|
end
|
86
85
|
end
|
data/lib/tinder/get_updates.rb
CHANGED
@@ -11,73 +11,76 @@ module Tinder
|
|
11
11
|
# The next one only occurs without Tinder Plus subscription
|
12
12
|
fail 'No Results Left' if response.dig('error', 'message') == 'There is no one around you'
|
13
13
|
|
14
|
-
updates = Updates.new(response)
|
14
|
+
updates = Updates.new(response['data'])
|
15
15
|
end
|
16
|
+
|
17
|
+
alias_method :updates, :get_updates
|
16
18
|
end
|
17
19
|
|
18
20
|
class Message < Dry::Struct
|
19
|
-
attribute :_id, Types.string
|
20
|
-
attribute :match_id, Types.string
|
21
|
-
attribute :sent_date, Types.string
|
22
|
-
attribute :message, Types.string
|
23
|
-
attribute :to, Types.string
|
24
|
-
attribute :from, Types.string
|
25
|
-
attribute :created_date, Types.string
|
26
|
-
attribute :timestamp, Types.send('coercible.string')
|
21
|
+
attribute? :_id, Types.string
|
22
|
+
attribute? :match_id, Types.string
|
23
|
+
attribute? :sent_date, Types.string
|
24
|
+
attribute? :message, Types.string
|
25
|
+
attribute? :to, Types.string
|
26
|
+
attribute? :from, Types.string
|
27
|
+
attribute? :created_date, Types.string
|
28
|
+
attribute? :timestamp, Types.send('coercible.string')
|
27
29
|
end
|
28
30
|
|
29
31
|
class LikedMessage < Dry::Struct
|
30
|
-
attribute :message_id, Types.string
|
31
|
-
attribute :updated_at, Types.string
|
32
|
-
attribute :liker_id, Types.string
|
33
|
-
attribute :match_id, Types.string
|
34
|
-
attribute :is_liked, Types.bool
|
32
|
+
attribute? :message_id, Types.string
|
33
|
+
attribute? :updated_at, Types.string
|
34
|
+
attribute? :liker_id, Types.string
|
35
|
+
attribute? :match_id, Types.string
|
36
|
+
attribute? :is_liked, Types.bool
|
35
37
|
end
|
36
38
|
|
37
39
|
class Person < Dry::Struct
|
40
|
+
attribute? :_id, Types.string
|
38
41
|
attribute? :bio, Types.string
|
39
|
-
attribute :birth_date, Types.string
|
40
|
-
attribute :gender, Types.integer
|
41
|
-
attribute :name, Types.string
|
42
|
-
attribute :ping_time, Types.string
|
43
|
-
attribute :photos, Types.array
|
42
|
+
attribute? :birth_date, Types.string
|
43
|
+
attribute? :gender, Types.integer
|
44
|
+
attribute? :name, Types.string
|
45
|
+
attribute? :ping_time, Types.string
|
46
|
+
attribute? :photos, Types.array
|
44
47
|
end
|
45
48
|
|
46
49
|
class Match < Dry::Struct
|
47
|
-
attribute :_id, Types.string
|
48
|
-
attribute :closed, Types.bool
|
49
|
-
attribute :common_friend_count, Types.integer
|
50
|
-
attribute :common_like_count, Types.integer
|
51
|
-
attribute :created_date, Types.string
|
52
|
-
attribute :dead, Types.bool
|
53
|
-
attribute :following, Types.bool
|
54
|
-
attribute :following_moments, Types.bool
|
55
|
-
attribute :id, Types.string
|
56
|
-
attribute :is_boost_match, Types.bool
|
57
|
-
attribute :is_fast_match, Types.bool
|
58
|
-
attribute :is_super_like, Types.bool
|
59
|
-
attribute :last_activity_date, Types.string
|
60
|
-
attribute :message_count, Types.integer
|
61
|
-
attribute :messages, Types.array.of(Message)
|
62
|
-
attribute :muted, Types.bool
|
63
|
-
attribute :participants, Types.array
|
64
|
-
attribute :pending, Types.bool
|
65
|
-
attribute :person, Person
|
66
|
-
attribute :readreceipt, Types.hash
|
67
|
-
attribute :seen, Types.hash
|
50
|
+
attribute? :_id, Types.string
|
51
|
+
attribute? :closed, Types.bool
|
52
|
+
attribute? :common_friend_count, Types.integer
|
53
|
+
attribute? :common_like_count, Types.integer
|
54
|
+
attribute? :created_date, Types.string
|
55
|
+
attribute? :dead, Types.bool
|
56
|
+
attribute? :following, Types.bool
|
57
|
+
attribute? :following_moments, Types.bool
|
58
|
+
attribute? :id, Types.string
|
59
|
+
attribute? :is_boost_match, Types.bool
|
60
|
+
attribute? :is_fast_match, Types.bool
|
61
|
+
attribute? :is_super_like, Types.bool
|
62
|
+
attribute? :last_activity_date, Types.string
|
63
|
+
attribute? :message_count, Types.integer
|
64
|
+
attribute? :messages, Types.array.of(Message)
|
65
|
+
attribute? :muted, Types.bool
|
66
|
+
attribute? :participants, Types.array
|
67
|
+
attribute? :pending, Types.bool
|
68
|
+
attribute? :person, Person
|
69
|
+
attribute? :readreceipt, Types.hash
|
70
|
+
attribute? :seen, Types.hash
|
68
71
|
end
|
69
72
|
|
70
73
|
class Updates < Dry::Struct
|
71
|
-
attribute :blocks, Types.array.of(Types.string)
|
72
|
-
attribute :deleted_lists, Types.array
|
73
|
-
attribute :goingout, Types.array
|
74
|
-
attribute :harassing_messages, Types.array
|
75
|
-
attribute :inbox, Types.array.of(Message)
|
76
|
-
attribute :poll_interval, Types.hash
|
77
|
-
attribute :liked_messages, Types.array.of(LikedMessage)
|
78
|
-
attribute :lists, Types.array
|
79
|
-
attribute :matches, Types.array.of(Match)
|
80
|
-
attribute :squads, Types.array
|
74
|
+
attribute? :blocks, Types.array.of(Types.string)
|
75
|
+
attribute? :deleted_lists, Types.array
|
76
|
+
attribute? :goingout, Types.array
|
77
|
+
attribute? :harassing_messages, Types.array
|
78
|
+
attribute? :inbox, Types.array.of(Message)
|
79
|
+
attribute? :poll_interval, Types.hash
|
80
|
+
attribute? :liked_messages, Types.array.of(LikedMessage)
|
81
|
+
attribute? :lists, Types.array
|
82
|
+
attribute? :matches, Types.array.of(Match)
|
83
|
+
attribute? :squads, Types.array
|
81
84
|
end
|
82
85
|
end
|
83
86
|
|
data/lib/tinder/profile.rb
CHANGED
@@ -22,87 +22,86 @@ module Tinder
|
|
22
22
|
|
23
23
|
class ActiveProfile < Dry::Struct
|
24
24
|
|
25
|
-
attribute :account do
|
26
|
-
attribute :is_email_verified,
|
27
|
-
attribute :account_email,
|
28
|
-
attribute :account_phone_number,
|
25
|
+
attribute? :account do
|
26
|
+
attribute? :is_email_verified, Types.bool
|
27
|
+
attribute? :account_email, Types.string
|
28
|
+
attribute? :account_phone_number, Types.string
|
29
29
|
end
|
30
|
-
attribute :boost do
|
31
|
-
attribute :duration,
|
32
|
-
attribute :allotment,
|
33
|
-
attribute :allotment_used,
|
34
|
-
attribute :allotment_remaining,
|
35
|
-
attribute :internal_remaining,
|
36
|
-
attribute :purchased_remaining,
|
37
|
-
attribute :remaining,
|
38
|
-
attribute :super_boost_purchased_remaining,
|
39
|
-
attribute :
|
40
|
-
attribute :
|
41
|
-
attribute :
|
42
|
-
attribute :boost_refresh_interval_unit, Dry::Types['string']
|
30
|
+
attribute? :boost do
|
31
|
+
attribute? :duration, Types.integer
|
32
|
+
attribute? :allotment, Types.integer
|
33
|
+
attribute? :allotment_used, Types.integer
|
34
|
+
attribute? :allotment_remaining, Types.integer
|
35
|
+
attribute? :internal_remaining, Types.integer
|
36
|
+
attribute? :purchased_remaining, Types.integer
|
37
|
+
attribute? :remaining, Types.integer
|
38
|
+
attribute? :super_boost_purchased_remaining, Types.integer
|
39
|
+
attribute? :boost_refresh_amount, Types.integer
|
40
|
+
attribute? :boost_refresh_interval, Types.integer
|
41
|
+
attribute? :boost_refresh_interval_unit, Types.string
|
43
42
|
end
|
44
|
-
attribute :email_settings do
|
45
|
-
attribute :email,
|
46
|
-
attribute :email_settings do
|
47
|
-
attribute :promotions,
|
48
|
-
attribute :messages,
|
49
|
-
attribute :new_matches,
|
43
|
+
attribute? :email_settings do
|
44
|
+
attribute? :email, Types.string
|
45
|
+
attribute? :email_settings do
|
46
|
+
attribute? :promotions, Types.bool
|
47
|
+
attribute? :messages, Types.bool
|
48
|
+
attribute? :new_matches, Types.bool
|
50
49
|
end
|
51
50
|
end
|
52
|
-
attribute :instagram do
|
53
|
-
attribute :username,
|
54
|
-
attribute :profile_picture,
|
55
|
-
attribute :media_count,
|
56
|
-
attribute :last_fetch_time,
|
57
|
-
attribute :completed_initial_fetch,
|
58
|
-
attribute :photos,
|
59
|
-
attribute :should_reauthenticate,
|
51
|
+
attribute? :instagram do
|
52
|
+
attribute? :username, Types.string
|
53
|
+
attribute? :profile_picture, Types.string
|
54
|
+
attribute? :media_count, Types.integer
|
55
|
+
attribute? :last_fetch_time, Types.string
|
56
|
+
attribute? :completed_initial_fetch, Types.bool
|
57
|
+
attribute? :photos, Types.array
|
58
|
+
attribute? :should_reauthenticate, Types.bool
|
60
59
|
end
|
61
|
-
attribute :likes do
|
62
|
-
attribute :likes_remaining,
|
60
|
+
attribute? :likes do
|
61
|
+
attribute? :likes_remaining, Types.integer
|
63
62
|
end
|
64
|
-
attribute :notifications,
|
65
|
-
attribute :plus_control do
|
66
|
-
attribute :discoverable_party,
|
67
|
-
attribute :hide_ads,
|
68
|
-
attribute :hide_age,
|
69
|
-
attribute :hide_distance,
|
70
|
-
attribute :blend,
|
63
|
+
attribute? :notifications, Types.array
|
64
|
+
attribute? :plus_control do
|
65
|
+
attribute? :discoverable_party, Types.string
|
66
|
+
attribute? :hide_ads, Types.bool
|
67
|
+
attribute? :hide_age, Types.bool
|
68
|
+
attribute? :hide_distance, Types.bool
|
69
|
+
attribute? :blend, Types.string
|
71
70
|
end
|
72
|
-
attribute :products,
|
73
|
-
attribute :purchase,
|
74
|
-
attribute :spotify,
|
75
|
-
attribute :super_likes do
|
76
|
-
attribute :remaining,
|
77
|
-
attribute :alc_remaining,
|
78
|
-
attribute :new_alc_remaining,
|
79
|
-
attribute :allotment,
|
80
|
-
attribute :superlike_refresh_amount,
|
81
|
-
attribute :superlike_refresh_interval,
|
82
|
-
attribute :superlike_refresh_interval_unit,
|
83
|
-
attribute :resets_at,
|
71
|
+
attribute? :products, Types.hash
|
72
|
+
attribute? :purchase, Types.hash
|
73
|
+
attribute? :spotify, Types.hash
|
74
|
+
attribute? :super_likes do
|
75
|
+
attribute? :remaining, Types.integer
|
76
|
+
attribute? :alc_remaining, Types.integer
|
77
|
+
attribute? :new_alc_remaining, Types.integer
|
78
|
+
attribute? :allotment, Types.integer
|
79
|
+
attribute? :superlike_refresh_amount, Types.integer
|
80
|
+
attribute? :superlike_refresh_interval, Types.integer
|
81
|
+
attribute? :superlike_refresh_interval_unit, Types.string
|
82
|
+
attribute? :resets_at, Types.string.optional
|
84
83
|
end
|
85
|
-
attribute :tinder_u do
|
86
|
-
attribute :status,
|
84
|
+
attribute? :tinder_u do
|
85
|
+
attribute? :status, Types.string
|
87
86
|
end
|
88
|
-
attribute :travel do
|
89
|
-
attribute :is_traveling,
|
87
|
+
attribute? :travel do
|
88
|
+
attribute? :is_traveling, Types.bool
|
90
89
|
end
|
91
|
-
attribute :tutorials,
|
92
|
-
attribute :user do
|
93
|
-
attribute :_id,
|
94
|
-
attribute :age_filter_max,
|
95
|
-
attribute :age_filter_min,
|
96
|
-
attribute :bio,
|
97
|
-
attribute :birth_date,
|
98
|
-
attribute :create_date,
|
99
|
-
attribute :crm_id,
|
100
|
-
attribute :discoverable,
|
101
|
-
attribute :distance_filter,
|
102
|
-
attribute :gender,
|
103
|
-
attribute :gender_filter,
|
104
|
-
attribute :name,
|
105
|
-
attribute :photos,
|
90
|
+
attribute? :tutorials, Types.array
|
91
|
+
attribute? :user do
|
92
|
+
attribute? :_id, Types.string
|
93
|
+
attribute? :age_filter_max, Types.integer
|
94
|
+
attribute? :age_filter_min, Types.integer
|
95
|
+
attribute? :bio, Types.string
|
96
|
+
attribute? :birth_date, Types.string
|
97
|
+
attribute? :create_date, Types.string
|
98
|
+
attribute? :crm_id, Types.string
|
99
|
+
attribute? :discoverable, Types.bool
|
100
|
+
attribute? :distance_filter, Types.integer
|
101
|
+
attribute? :gender, Types.integer
|
102
|
+
attribute? :gender_filter, Types.integer
|
103
|
+
attribute? :name, Types.string
|
104
|
+
attribute? :photos, Types.array
|
106
105
|
end
|
107
106
|
end
|
108
107
|
|
data/lib/tinder/version.rb
CHANGED
File without changes
|
data/tinder_client.gemspec
CHANGED
@@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
29
|
spec.add_dependency "bundler"
|
30
|
-
spec.add_dependency "dry-initializer"
|
31
30
|
spec.add_dependency "dry-struct"
|
32
31
|
spec.add_dependency "dry-types"
|
33
32
|
spec.add_dependency "faraday"
|
@@ -35,4 +34,5 @@ Gem::Specification.new do |spec|
|
|
35
34
|
spec.add_dependency "rake"
|
36
35
|
spec.add_dependency "rspec"
|
37
36
|
spec.add_dependency "webmock"
|
37
|
+
spec.add_dependency "vcr"
|
38
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tinder_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Clery
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name: dry-
|
28
|
+
name: dry-struct
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name: dry-
|
42
|
+
name: dry-types
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: faraday
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: hashdiff
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - ">="
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -95,7 +95,7 @@ dependencies:
|
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - ">="
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: webmock
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '0'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: vcr
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - ">="
|
@@ -158,7 +158,6 @@ files:
|
|
158
158
|
- bin/setup
|
159
159
|
- lib/dry_helper.rb
|
160
160
|
- lib/tasks/tinder.rake
|
161
|
-
- lib/tinder.rb
|
162
161
|
- lib/tinder/account_settings.rb
|
163
162
|
- lib/tinder/client.rb
|
164
163
|
- lib/tinder/get_recommendations.rb
|
@@ -167,6 +166,7 @@ files:
|
|
167
166
|
- lib/tinder/pass.rb
|
168
167
|
- lib/tinder/profile.rb
|
169
168
|
- lib/tinder/version.rb
|
169
|
+
- lib/tinder_client.rb
|
170
170
|
- tinder_client.gemspec
|
171
171
|
homepage: https://github.com/patrickclery/tinder_client
|
172
172
|
licenses:
|