branch_io 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.rubocop.yml +242 -0
- data/.ruby-version +1 -1
- data/.travis.yml +1 -2
- data/Rakefile +7 -4
- data/branch_io.gemspec +9 -5
- data/lib/branch_io.rb +2 -5
- data/lib/branch_io/client.rb +5 -8
- data/lib/branch_io/client/links.rb +8 -11
- data/lib/branch_io/client/response.rb +8 -4
- data/lib/branch_io/link_properties.rb +4 -6
- data/lib/branch_io/version.rb +1 -1
- metadata +68 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52055a70b4c8c8037f42010e08bfc77c6978c68f
|
4
|
+
data.tar.gz: 9ae189b23d59056108a8ace997ea8f8e37e07697
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e09d7d9674a92e6e8f73b5af47e8eedf594982f0b88923e1dc3385bef16c874ed4a590a78ca33e30ec65a797fc7a3cf9e78c4c210dfe27edd098c496ca8bf18
|
7
|
+
data.tar.gz: 4db7f87336d7b7495066f467cb723b08be1f581367728e235b01f70f23dc4ec8fee922cdd8b2ce13c753d6479706354a529f067621541223677f7ea85db31146
|
data/.rspec
CHANGED
data/.rubocop.yml
ADDED
@@ -0,0 +1,242 @@
|
|
1
|
+
Naming/HeredocDelimiterNaming:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Style/MultipleComparison:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Style/PercentLiteralDelimiters:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
# kind_of? is a good way to check a type
|
11
|
+
Style/ClassCheck:
|
12
|
+
EnforcedStyle: kind_of?
|
13
|
+
|
14
|
+
Style/FrozenStringLiteralComment:
|
15
|
+
Enabled: false
|
16
|
+
|
17
|
+
# This doesn't work with older versions of Ruby (pre 2.4.0)
|
18
|
+
Style/SafeNavigation:
|
19
|
+
Enabled: false
|
20
|
+
|
21
|
+
# This doesn't work with older versions of Ruby (pre 2.4.0)
|
22
|
+
Performance/RegexpMatch:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
# This suggests use of `tr` instead of `gsub`. While this might be more performant,
|
26
|
+
# these methods are not at all interchangable, and behave very differently. This can
|
27
|
+
# lead to people making the substitution without considering the differences.
|
28
|
+
Performance/StringReplacement:
|
29
|
+
Enabled: false
|
30
|
+
|
31
|
+
# .length == 0 is also good, we don't always want .zero?
|
32
|
+
Style/NumericPredicate:
|
33
|
+
Enabled: false
|
34
|
+
|
35
|
+
# this would cause errors with long lanes
|
36
|
+
Metrics/BlockLength:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
# this is a bit buggy
|
40
|
+
Metrics/ModuleLength:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
# certificate_1 is an okay variable name
|
44
|
+
Naming/VariableNumber:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
# This is used a lot across the fastlane code base for config files
|
48
|
+
Style/MethodMissing:
|
49
|
+
Enabled: false
|
50
|
+
|
51
|
+
#
|
52
|
+
# File.chmod(0777, f)
|
53
|
+
#
|
54
|
+
# is easier to read than
|
55
|
+
#
|
56
|
+
# File.chmod(0o777, f)
|
57
|
+
#
|
58
|
+
Style/NumericLiteralPrefix:
|
59
|
+
Enabled: false
|
60
|
+
|
61
|
+
#
|
62
|
+
# command = (!clean_expired.nil? || !clean_pattern.nil?) ? CLEANUP : LIST
|
63
|
+
#
|
64
|
+
# is easier to read than
|
65
|
+
#
|
66
|
+
# command = !clean_expired.nil? || !clean_pattern.nil? ? CLEANUP : LIST
|
67
|
+
#
|
68
|
+
Style/TernaryParentheses:
|
69
|
+
Enabled: false
|
70
|
+
|
71
|
+
# sometimes it is useful to have those empty methods
|
72
|
+
Style/EmptyMethod:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
# It's better to be more explicit about the type
|
76
|
+
Style/BracesAroundHashParameters:
|
77
|
+
Enabled: false
|
78
|
+
|
79
|
+
# specs sometimes have useless assignments, which is fine
|
80
|
+
Lint/UselessAssignment:
|
81
|
+
Exclude:
|
82
|
+
- '**/spec/**/*'
|
83
|
+
|
84
|
+
# We could potentially enable the 2 below:
|
85
|
+
Layout/IndentHash:
|
86
|
+
Enabled: false
|
87
|
+
|
88
|
+
Layout/AlignHash:
|
89
|
+
Enabled: false
|
90
|
+
|
91
|
+
# HoundCI doesn't like this rule
|
92
|
+
Layout/DotPosition:
|
93
|
+
Enabled: false
|
94
|
+
|
95
|
+
# We allow !! as it's an easy way to convert ot boolean
|
96
|
+
Style/DoubleNegation:
|
97
|
+
Enabled: false
|
98
|
+
|
99
|
+
# Prevent to replace [] into %i
|
100
|
+
Style/SymbolArray:
|
101
|
+
Enabled: false
|
102
|
+
|
103
|
+
# We still support Ruby 2.0.0
|
104
|
+
Layout/IndentHeredoc:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
# This cop would not work fine with rspec
|
108
|
+
Style/MixinGrouping:
|
109
|
+
Exclude:
|
110
|
+
- '**/spec/**/*'
|
111
|
+
|
112
|
+
# Sometimes we allow a rescue block that doesn't contain code
|
113
|
+
Lint/HandleExceptions:
|
114
|
+
Enabled: false
|
115
|
+
|
116
|
+
# Cop supports --auto-correct.
|
117
|
+
Lint/UnusedBlockArgument:
|
118
|
+
Enabled: false
|
119
|
+
|
120
|
+
Lint/AmbiguousBlockAssociation:
|
121
|
+
Enabled: false
|
122
|
+
|
123
|
+
# Needed for $verbose
|
124
|
+
Style/GlobalVars:
|
125
|
+
Enabled: false
|
126
|
+
|
127
|
+
# We want to allow class Fastlane::Class
|
128
|
+
Style/ClassAndModuleChildren:
|
129
|
+
Enabled: false
|
130
|
+
|
131
|
+
# $? Exit
|
132
|
+
Style/SpecialGlobalVars:
|
133
|
+
Enabled: false
|
134
|
+
|
135
|
+
Metrics/AbcSize:
|
136
|
+
Enabled: false
|
137
|
+
|
138
|
+
Metrics/MethodLength:
|
139
|
+
Enabled: false
|
140
|
+
|
141
|
+
Metrics/CyclomaticComplexity:
|
142
|
+
Enabled: false
|
143
|
+
|
144
|
+
# The %w might be confusing for new users
|
145
|
+
Style/WordArray:
|
146
|
+
MinSize: 19
|
147
|
+
|
148
|
+
# raise and fail are both okay
|
149
|
+
Style/SignalException:
|
150
|
+
Enabled: false
|
151
|
+
|
152
|
+
# Better too much 'return' than one missing
|
153
|
+
Style/RedundantReturn:
|
154
|
+
Enabled: false
|
155
|
+
|
156
|
+
# Having if in the same line might not always be good
|
157
|
+
Style/IfUnlessModifier:
|
158
|
+
Enabled: false
|
159
|
+
|
160
|
+
# and and or is okay
|
161
|
+
Style/AndOr:
|
162
|
+
Enabled: false
|
163
|
+
|
164
|
+
# Configuration parameters: CountComments.
|
165
|
+
Metrics/ClassLength:
|
166
|
+
Max: 320
|
167
|
+
|
168
|
+
|
169
|
+
# Configuration parameters: AllowURI, URISchemes.
|
170
|
+
Metrics/LineLength:
|
171
|
+
Max: 370
|
172
|
+
|
173
|
+
# Configuration parameters: CountKeywordArgs.
|
174
|
+
Metrics/ParameterLists:
|
175
|
+
Max: 17
|
176
|
+
|
177
|
+
Metrics/PerceivedComplexity:
|
178
|
+
Max: 18
|
179
|
+
|
180
|
+
# Sometimes it's easier to read without guards
|
181
|
+
Style/GuardClause:
|
182
|
+
Enabled: false
|
183
|
+
|
184
|
+
# We allow both " and '
|
185
|
+
Style/StringLiterals:
|
186
|
+
Enabled: false
|
187
|
+
|
188
|
+
# something = if something_else
|
189
|
+
# that's confusing
|
190
|
+
Style/ConditionalAssignment:
|
191
|
+
Enabled: false
|
192
|
+
|
193
|
+
# Better to have too much self than missing a self
|
194
|
+
Style/RedundantSelf:
|
195
|
+
Enabled: false
|
196
|
+
|
197
|
+
# e.g.
|
198
|
+
# def self.is_supported?(platform)
|
199
|
+
# we may never use `platform`
|
200
|
+
Lint/UnusedMethodArgument:
|
201
|
+
Enabled: false
|
202
|
+
|
203
|
+
# the let(:key) { ... }
|
204
|
+
Lint/ParenthesesAsGroupedExpression:
|
205
|
+
Exclude:
|
206
|
+
- '**/spec/**/*'
|
207
|
+
|
208
|
+
# This would reject is_ in front of methods
|
209
|
+
# We use `is_supported?` everywhere already
|
210
|
+
Naming/PredicateName:
|
211
|
+
Enabled: false
|
212
|
+
|
213
|
+
# We allow the $
|
214
|
+
Style/PerlBackrefs:
|
215
|
+
Enabled: false
|
216
|
+
|
217
|
+
# They have not to be snake_case
|
218
|
+
Naming/FileName:
|
219
|
+
Exclude:
|
220
|
+
- '**/Gemfile'
|
221
|
+
- '**/Rakefile'
|
222
|
+
- '**/*.gemspec'
|
223
|
+
|
224
|
+
# We're not there yet
|
225
|
+
Style/Documentation:
|
226
|
+
Enabled: false
|
227
|
+
|
228
|
+
# Added after upgrade to 0.38.0
|
229
|
+
Style/MutableConstant:
|
230
|
+
Enabled: false
|
231
|
+
|
232
|
+
# length > 0 is good
|
233
|
+
Style/ZeroLengthPredicate:
|
234
|
+
Enabled: false
|
235
|
+
|
236
|
+
# Adds complexity
|
237
|
+
Style/IfInsideElse:
|
238
|
+
Enabled: false
|
239
|
+
|
240
|
+
# Sometimes we just want to 'collect'
|
241
|
+
Style/CollectionMethods:
|
242
|
+
Enabled: false
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.2
|
data/.travis.yml
CHANGED
data/Rakefile
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
require
|
2
|
-
require "rspec/core/rake_task"
|
1
|
+
require 'bundler/gem_tasks'
|
3
2
|
|
4
|
-
|
3
|
+
require 'rspec/core/rake_task'
|
4
|
+
RSpec::Core::RakeTask.new
|
5
5
|
|
6
|
-
|
6
|
+
require 'rubocop/rake_task'
|
7
|
+
RuboCop::RakeTask.new(:rubocop)
|
8
|
+
|
9
|
+
task default: [:spec, :rubocop]
|
data/branch_io.gemspec
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require 'branch_io/version'
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.authors = ["Aurélien Noce"]
|
10
10
|
spec.email = ["aurelien.noce@imagine-app.fr"]
|
11
11
|
|
12
|
-
spec.summary =
|
13
|
-
spec.description =
|
12
|
+
spec.summary = 'A Client for the Branch.io deep linking public API'
|
13
|
+
spec.description = 'This wrapper allows you to create and update deep links on branch.io, using the public REST API.'
|
14
14
|
spec.homepage = "https://github.com/ushu/branch_io"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
@@ -22,7 +22,11 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "httparty", "~> 0.13"
|
23
23
|
spec.add_development_dependency "vcr", "~> 3.0"
|
24
24
|
spec.add_development_dependency "webmock", "~> 2.1"
|
25
|
-
spec.add_development_dependency "bundler"
|
26
|
-
spec.add_development_dependency "rake"
|
25
|
+
spec.add_development_dependency "bundler"
|
26
|
+
spec.add_development_dependency "rake"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
+
spec.add_development_dependency "rspec_junit_formatter"
|
29
|
+
spec.add_development_dependency "rspec-simplecov"
|
30
|
+
spec.add_development_dependency "rubocop", "~> 0.50.0"
|
31
|
+
spec.add_development_dependency "simplecov"
|
28
32
|
end
|
data/lib/branch_io.rb
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
require "branch_io/version"
|
2
|
+
require "branch_io/client"
|
3
|
+
require "branch_io/link_properties"
|
2
4
|
|
3
5
|
module BranchIO
|
4
|
-
|
5
|
-
autoload :Client, "branch_io/client"
|
6
|
-
autoload :LinkProperties, "branch_io/link_properties"
|
7
|
-
|
8
6
|
# Default client helper methods: delegate unknown calls to a new Client instance w/ default constructor params
|
9
7
|
|
10
8
|
def self.method_missing(name, *args, &block)
|
@@ -23,5 +21,4 @@ module BranchIO
|
|
23
21
|
end
|
24
22
|
super
|
25
23
|
end
|
26
|
-
|
27
24
|
end
|
data/lib/branch_io/client.rb
CHANGED
@@ -5,7 +5,6 @@ require "json"
|
|
5
5
|
require_relative "client/links"
|
6
6
|
|
7
7
|
module BranchIO
|
8
|
-
|
9
8
|
class Client
|
10
9
|
class ErrorMissingBranchKey < StandardError; end
|
11
10
|
|
@@ -18,12 +17,12 @@ module BranchIO
|
|
18
17
|
|
19
18
|
# Basic Api client
|
20
19
|
attr_reader :branch_key, :branch_secret
|
21
|
-
def initialize(branch_key=ENV["BRANCH_KEY"], branch_secret=ENV["BRANCH_SECRET"])
|
20
|
+
def initialize(branch_key = ENV["BRANCH_KEY"], branch_secret = ENV["BRANCH_SECRET"])
|
22
21
|
@branch_key = branch_key
|
23
22
|
@branch_secret = branch_secret
|
24
23
|
|
25
24
|
unless branch_key
|
26
|
-
raise ErrorMissingBranchKey
|
25
|
+
raise ErrorMissingBranchKey, "No Branch Key found: please provided one such key to BranchIO::Client#initialize or by setting the BRANCH_KEY environment variable"
|
27
26
|
end
|
28
27
|
end
|
29
28
|
|
@@ -31,12 +30,12 @@ module BranchIO
|
|
31
30
|
self.class.get(url, headers: default_headers)
|
32
31
|
end
|
33
32
|
|
34
|
-
def post(url, data={})
|
33
|
+
def post(url, data = {})
|
35
34
|
body = data.to_json
|
36
35
|
self.class.post(url, body: body, headers: default_headers)
|
37
36
|
end
|
38
37
|
|
39
|
-
def put(url, data={})
|
38
|
+
def put(url, data = {})
|
40
39
|
body = data.to_json
|
41
40
|
self.class.put(url, body: body, headers: default_headers)
|
42
41
|
end
|
@@ -45,7 +44,7 @@ module BranchIO
|
|
45
44
|
|
46
45
|
def ensure_branch_secret_defined!
|
47
46
|
unless branch_secret
|
48
|
-
raise ErrorMissingBranchKey
|
47
|
+
raise ErrorMissingBranchKey, "No Branch Secret found: please provided one such key to BranchIO::Client#initialize or by setting the BRANCH_SECRET environment variable"
|
49
48
|
end
|
50
49
|
end
|
51
50
|
|
@@ -55,7 +54,5 @@ module BranchIO
|
|
55
54
|
"Accept" => "application/json"
|
56
55
|
}
|
57
56
|
end
|
58
|
-
|
59
57
|
end
|
60
|
-
|
61
58
|
end
|
@@ -2,17 +2,16 @@ require_relative "response"
|
|
2
2
|
|
3
3
|
module BranchIO
|
4
4
|
class Client
|
5
|
-
|
6
5
|
module Links
|
7
6
|
LINK_PATH = "/v1/url"
|
8
7
|
|
9
|
-
def link!(options={})
|
8
|
+
def link!(options = {})
|
10
9
|
res = link(options)
|
11
10
|
res.validate!
|
12
11
|
res
|
13
12
|
end
|
14
13
|
|
15
|
-
def link(options={})
|
14
|
+
def link(options = {})
|
16
15
|
# Load and check the link properties
|
17
16
|
link_properties = BranchIO::LinkProperties.wrap(options)
|
18
17
|
|
@@ -34,15 +33,15 @@ module BranchIO
|
|
34
33
|
end
|
35
34
|
end
|
36
35
|
|
37
|
-
def links!(options={})
|
36
|
+
def links!(options = {})
|
38
37
|
res = links(options)
|
39
38
|
res.validate!
|
40
39
|
res
|
41
40
|
end
|
42
41
|
|
43
|
-
def links(options=[])
|
42
|
+
def links(options = [])
|
44
43
|
# Load and check the links properties
|
45
|
-
link_properties_array = options.map{ |o| BranchIO::LinkProperties.wrap(o) }
|
44
|
+
link_properties_array = options.map { |o| BranchIO::LinkProperties.wrap(o) }
|
46
45
|
|
47
46
|
# Build the request
|
48
47
|
links_url = "#{LINK_PATH}/bulk/#{self.branch_key}"
|
@@ -59,13 +58,13 @@ module BranchIO
|
|
59
58
|
end
|
60
59
|
end
|
61
60
|
|
62
|
-
def update_link!(options={})
|
61
|
+
def update_link!(options = {})
|
63
62
|
res = update_link(options)
|
64
63
|
res.validate!
|
65
64
|
res
|
66
65
|
end
|
67
66
|
|
68
|
-
def update_link(url, options={})
|
67
|
+
def update_link(url, options = {})
|
69
68
|
ensure_branch_secret_defined!
|
70
69
|
|
71
70
|
# Load and check the links configuration properties
|
@@ -94,7 +93,7 @@ module BranchIO
|
|
94
93
|
end
|
95
94
|
end
|
96
95
|
|
97
|
-
def link_info!(options={})
|
96
|
+
def link_info!(options = {})
|
98
97
|
res = link_info(options)
|
99
98
|
res.validate!
|
100
99
|
res
|
@@ -116,8 +115,6 @@ module BranchIO
|
|
116
115
|
ErrorResponse.new(raw_response)
|
117
116
|
end
|
118
117
|
end
|
119
|
-
|
120
118
|
end
|
121
|
-
|
122
119
|
end
|
123
120
|
end
|
@@ -28,7 +28,7 @@ module BranchIO
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def validate!
|
31
|
-
raise ErrorApiCallFailed
|
31
|
+
raise ErrorApiCallFailed, self unless success?
|
32
32
|
end
|
33
33
|
|
34
34
|
def json
|
@@ -84,7 +84,7 @@ module BranchIO
|
|
84
84
|
def responses
|
85
85
|
@responses ||= json.map do |url_info|
|
86
86
|
# below the EmbeddedResponseWrapper(s) act as a dummp HTTParty response
|
87
|
-
if url_info.
|
87
|
+
if url_info.key?("error")
|
88
88
|
ErrorResponse.new(EmbeddedResponseWrapper.new(url_info))
|
89
89
|
else
|
90
90
|
UrlResponse.new(EmbeddedResponseWrapper.new(url_info))
|
@@ -92,9 +92,14 @@ module BranchIO
|
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
|
+
# rubocop: disable Lint/UselessAccessModifier
|
96
|
+
# Not sure why RuboCop thinks this is useless.
|
97
|
+
|
95
98
|
private
|
96
99
|
|
97
|
-
|
100
|
+
# rubocop: enable Lint/UselessAccessModifier
|
101
|
+
|
102
|
+
EmbeddedResponseWrapper = Struct.new(:parsed_response)
|
98
103
|
end
|
99
104
|
|
100
105
|
class LinkPropertiesResponse < Response
|
@@ -102,6 +107,5 @@ module BranchIO
|
|
102
107
|
@link_properties ||= BranchIO::LinkProperties.new(json)
|
103
108
|
end
|
104
109
|
end
|
105
|
-
|
106
110
|
end
|
107
111
|
end
|
@@ -1,5 +1,4 @@
|
|
1
1
|
module BranchIO
|
2
|
-
|
3
2
|
class LinkProperties
|
4
3
|
attr_reader :tags
|
5
4
|
attr_reader :channel
|
@@ -18,8 +17,8 @@ module BranchIO
|
|
18
17
|
end
|
19
18
|
end
|
20
19
|
|
21
|
-
def initialize(options={})
|
22
|
-
@tags = options.delete(:tags)
|
20
|
+
def initialize(options = {})
|
21
|
+
@tags = options.delete(:tags) || options.delete("tags")
|
23
22
|
@channel = options.delete(:channel) || options.delete("channel")
|
24
23
|
@feature = options.delete(:feature) || options.delete("feature")
|
25
24
|
@campaign = options.delete(:campaign) || options.delete("campaign")
|
@@ -29,7 +28,7 @@ module BranchIO
|
|
29
28
|
@data = options.delete(:data) || options.delete("data")
|
30
29
|
|
31
30
|
unless options.empty?
|
32
|
-
raise ErrorInvalidParameters
|
31
|
+
raise ErrorInvalidParameters, options.keys
|
33
32
|
end
|
34
33
|
end
|
35
34
|
|
@@ -50,9 +49,8 @@ module BranchIO
|
|
50
49
|
attr_reader :parameters
|
51
50
|
def initialize(parameters)
|
52
51
|
@parameters = parameters
|
53
|
-
super("Invalid parameters for BranchIO::LinkProperties: \"#{@parameters.join(
|
52
|
+
super("Invalid parameters for BranchIO::LinkProperties: \"#{@parameters.join(', ')}\"")
|
54
53
|
end
|
55
54
|
end
|
56
55
|
end
|
57
|
-
|
58
56
|
end
|
data/lib/branch_io/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: branch_io
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aurélien Noce
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
@@ -56,30 +56,30 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,62 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '3.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec_junit_formatter
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-simplecov
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rubocop
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 0.50.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 0.50.0
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simplecov
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
97
153
|
description: This wrapper allows you to create and update deep links on branch.io,
|
98
154
|
using the public REST API.
|
99
155
|
email:
|
@@ -104,6 +160,7 @@ extra_rdoc_files: []
|
|
104
160
|
files:
|
105
161
|
- ".gitignore"
|
106
162
|
- ".rspec"
|
163
|
+
- ".rubocop.yml"
|
107
164
|
- ".ruby-version"
|
108
165
|
- ".travis.yml"
|
109
166
|
- CODE_OF_CONDUCT.md
|
@@ -140,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
197
|
version: '0'
|
141
198
|
requirements: []
|
142
199
|
rubyforge_project:
|
143
|
-
rubygems_version: 2.
|
200
|
+
rubygems_version: 2.6.14
|
144
201
|
signing_key:
|
145
202
|
specification_version: 4
|
146
203
|
summary: A Client for the Branch.io deep linking public API
|