applinks 0.1.4 → 0.1.5
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/Rakefile +9 -20
- data/app/helpers/applinks/application_helper.rb +1 -15
- data/app/views/applinks/_head.html.erb +34 -26
- data/lib/applinks/builder.rb +24 -17
- data/lib/applinks/engine.rb +8 -0
- data/lib/applinks/version.rb +1 -1
- data/{test → spec}/dummy/Rakefile +0 -0
- data/{test → spec}/dummy/app/assets/javascripts/application.js +0 -0
- data/{test → spec}/dummy/app/assets/stylesheets/application.css +0 -0
- data/{test → spec}/dummy/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/app/controllers/home_controller.rb +4 -0
- data/{test → spec}/dummy/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/app/helpers/home_helper.rb +2 -0
- data/spec/dummy/app/views/home/index.html.erb +1 -0
- data/spec/dummy/app/views/layouts/application.html.erb +45 -0
- data/{test → spec}/dummy/bin/bundle +0 -0
- data/{test → spec}/dummy/bin/rails +0 -0
- data/{test → spec}/dummy/bin/rake +0 -0
- data/{test → spec}/dummy/config/application.rb +2 -1
- data/{test → spec}/dummy/config/boot.rb +0 -0
- data/{test → spec}/dummy/config/database.yml +0 -0
- data/{test → spec}/dummy/config/environment.rb +0 -0
- data/{test → spec}/dummy/config/environments/development.rb +0 -6
- data/{test → spec}/dummy/config/environments/production.rb +0 -0
- data/{test → spec}/dummy/config/environments/test.rb +0 -5
- data/{test → spec}/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/{test → spec}/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/{test → spec}/dummy/config/initializers/inflections.rb +0 -0
- data/{test → spec}/dummy/config/initializers/mime_types.rb +0 -0
- data/{test → spec}/dummy/config/initializers/secret_token.rb +1 -1
- data/{test → spec}/dummy/config/initializers/session_store.rb +0 -0
- data/{test → spec}/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/{test → spec}/dummy/config/locales/en.yml +0 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/{test → spec}/dummy/config.ru +0 -0
- data/{test/dummy/public/favicon.ico → spec/dummy/db/development.sqlite3} +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +210 -0
- data/spec/dummy/log/test.log +3240 -0
- data/{test → spec}/dummy/public/404.html +0 -0
- data/{test → spec}/dummy/public/422.html +0 -0
- data/{test → spec}/dummy/public/500.html +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/spec/controllers/home_controller_spec.rb +5 -0
- data/spec/dummy/spec/helpers/application_helper_spec.rb +318 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0 +0 -0
- data/spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/spec_helper.rb +21 -0
- metadata +123 -71
- data/test/applinks_test.rb +0 -7
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/app/views/layouts/application.html.erb +0 -14
- data/test/dummy/config/routes.rb +0 -4
- data/test/integration/navigation_test.rb +0 -10
- data/test/test_helper.rb +0 -15
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,318 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe ApplicationHelper do
|
4
|
+
|
5
|
+
IOS_URL_TAG = '<meta property="al:ios:url" content="xyz://docs" />'
|
6
|
+
IOS_APP_TAG = '<meta property="al:ios:app_name" content="Stu Test App" />'
|
7
|
+
IOS_STORE_TAG = '<meta property="al:ios:app_store_id" content="STUJO123" />'
|
8
|
+
|
9
|
+
IOS_DATA = {ios:
|
10
|
+
{
|
11
|
+
url: 'xyz://docs',
|
12
|
+
app_name: 'Stu Test App',
|
13
|
+
app_store_id: 'STUJO123'
|
14
|
+
}
|
15
|
+
}
|
16
|
+
|
17
|
+
IPHONE_URL_TAG = '<meta property="al:iphone:url" content="ipxyz://docs" />'
|
18
|
+
IPHONE_APP_TAG = '<meta property="al:iphone:app_name" content="Stu iPhone App" />'
|
19
|
+
IPHONE_STORE_TAG = '<meta property="al:iphone:app_store_id" content="STuPHONE123" />'
|
20
|
+
|
21
|
+
IPHONE_DATA = {iphone:
|
22
|
+
{
|
23
|
+
url: 'ipxyz://docs',
|
24
|
+
app_name: 'Stu iPhone App',
|
25
|
+
app_store_id: 'STuPHONE123'
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
|
30
|
+
IPAD_URL_TAG = '<meta property="al:ipad:url" content="ipadxyz://docs" />'
|
31
|
+
IPAD_APP_TAG = '<meta property="al:ipad:app_name" content="Stu iPad App" />'
|
32
|
+
IPAD_STORE_TAG = '<meta property="al:ipad:app_store_id" content="STuPAD123" />'
|
33
|
+
|
34
|
+
IPAD_DATA = {ipad:
|
35
|
+
{
|
36
|
+
url: 'ipadxyz://docs',
|
37
|
+
app_name: 'Stu iPad App',
|
38
|
+
app_store_id: 'STuPAD123'
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
IPHONE_IPAD_DATA = {
|
43
|
+
ipad: IPAD_DATA[:ipad],
|
44
|
+
iphone: IPHONE_DATA[:iphone],
|
45
|
+
}
|
46
|
+
|
47
|
+
ANDROID_URL_TAG = '<meta property="al:android:url" content="andy://docs1" />'
|
48
|
+
ANDROID_APP_TAG = '<meta property="al:android:app_name" content="Stu Andy App" />'
|
49
|
+
ANDROID_STORE_TAG = '<meta property="al:android:package" content="stujo.android" />'
|
50
|
+
|
51
|
+
ANDROID_DATA = {android:
|
52
|
+
{
|
53
|
+
url: 'andy://docs1',
|
54
|
+
app_name: 'Stu Andy App',
|
55
|
+
package: 'stujo.android'
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
IOS_MULTI_DATA = {
|
61
|
+
ios: [
|
62
|
+
{
|
63
|
+
url: 'applinks_v2://docs',
|
64
|
+
app_name: 'App Links',
|
65
|
+
app_store_id: '12345'
|
66
|
+
},
|
67
|
+
{
|
68
|
+
url: 'applinks_v1://browse',
|
69
|
+
app_name: 'App Links Old',
|
70
|
+
}
|
71
|
+
]
|
72
|
+
}
|
73
|
+
|
74
|
+
IOS_VERSION_BREAKER = '<meta property="al:ios" />'
|
75
|
+
|
76
|
+
|
77
|
+
WINDOWS_PHONE_MULTI_DATA = {
|
78
|
+
windows_phone: [
|
79
|
+
{
|
80
|
+
url: 'applinks_v2://docs',
|
81
|
+
app_name: 'App Links',
|
82
|
+
app_id: '12345'
|
83
|
+
},
|
84
|
+
{
|
85
|
+
url: 'applinks_v1://browse',
|
86
|
+
app_name: 'App Links Old',
|
87
|
+
}
|
88
|
+
]
|
89
|
+
}
|
90
|
+
|
91
|
+
WINDOWS_PHONE_VERSION_BREAKER = '<meta property="al:windows_phone" />'
|
92
|
+
|
93
|
+
ALL_TARGETS = ["android", "windows", "iphone", "ios", "web"]
|
94
|
+
|
95
|
+
it 'should respond to applinks' do
|
96
|
+
expect(helper).to respond_to :applinks
|
97
|
+
end
|
98
|
+
context 'without configuration' do
|
99
|
+
it 'should do nothing with no arguments' do
|
100
|
+
expect(helper.applinks()).to eq ""
|
101
|
+
end
|
102
|
+
|
103
|
+
def all_targets_except *ex
|
104
|
+
ALL_TARGETS.select { |v| !ex.include? v }
|
105
|
+
end
|
106
|
+
|
107
|
+
context 'ios only' do
|
108
|
+
let(:full_ios) { helper.applinks(IOS_DATA) }
|
109
|
+
|
110
|
+
it 'should not render any of the other meta tags' do
|
111
|
+
expect(full_ios).to_not include *all_targets_except("ios")
|
112
|
+
end
|
113
|
+
|
114
|
+
it 'should render all the ios meta tags' do
|
115
|
+
expect(full_ios).to include(IOS_URL_TAG, IOS_APP_TAG, IOS_STORE_TAG)
|
116
|
+
end
|
117
|
+
|
118
|
+
let(:part_ios_url) do
|
119
|
+
helper.applinks({ios: {:url => IOS_DATA[:ios][:url]}})
|
120
|
+
end
|
121
|
+
|
122
|
+
it 'should only render the ios url meta tags' do
|
123
|
+
expect(part_ios_url).to include IOS_URL_TAG
|
124
|
+
end
|
125
|
+
it 'should only render the ios url meta tags' do
|
126
|
+
expect(part_ios_url).to_not include(IOS_APP_TAG, IOS_STORE_TAG)
|
127
|
+
end
|
128
|
+
it 'should not render any of the other meta tags' do
|
129
|
+
expect(part_ios_url).to_not(
|
130
|
+
include *all_targets_except("ios")
|
131
|
+
)
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
context 'iphone only' do
|
136
|
+
|
137
|
+
let(:full_iphone) { helper.applinks(IPHONE_DATA) }
|
138
|
+
|
139
|
+
it 'should not render any of the other meta tags' do
|
140
|
+
expect(full_iphone).to_not include *all_targets_except("iphone")
|
141
|
+
end
|
142
|
+
|
143
|
+
it 'should render all the iphone meta tags' do
|
144
|
+
expect(full_iphone).to include(IPHONE_URL_TAG, IPHONE_APP_TAG, IPHONE_STORE_TAG)
|
145
|
+
end
|
146
|
+
|
147
|
+
let(:part_iphone_url) do
|
148
|
+
helper.applinks({iphone: {:url => IPHONE_DATA[:iphone][:url]}})
|
149
|
+
end
|
150
|
+
|
151
|
+
it 'should only render the iphone url meta tags' do
|
152
|
+
expect(part_iphone_url).to include IPHONE_URL_TAG
|
153
|
+
end
|
154
|
+
it 'should only render the iphone url meta tags' do
|
155
|
+
expect(part_iphone_url).to_not include(IPHONE_APP_TAG, IPHONE_STORE_TAG)
|
156
|
+
end
|
157
|
+
it 'should not render any of the other meta tags' do
|
158
|
+
expect(part_iphone_url).to_not(
|
159
|
+
include *all_targets_except("iphone")
|
160
|
+
)
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
|
165
|
+
context 'ipad only' do
|
166
|
+
|
167
|
+
let(:full_ipad) { helper.applinks(IPAD_DATA) }
|
168
|
+
|
169
|
+
it 'should not render any of the other meta tags' do
|
170
|
+
expect(full_ipad).to_not include *all_targets_except("ipad")
|
171
|
+
end
|
172
|
+
|
173
|
+
it 'should render all the ipad meta tags' do
|
174
|
+
expect(full_ipad).to include(IPAD_URL_TAG, IPAD_APP_TAG, IPAD_STORE_TAG)
|
175
|
+
end
|
176
|
+
|
177
|
+
let(:part_ipad_url) do
|
178
|
+
helper.applinks({ipad: {:url => IPAD_DATA[:ipad][:url]}})
|
179
|
+
end
|
180
|
+
|
181
|
+
it 'should only render the ipad url meta tags' do
|
182
|
+
expect(part_ipad_url).to include IPAD_URL_TAG
|
183
|
+
end
|
184
|
+
it 'should only render the ipad url meta tags' do
|
185
|
+
expect(part_ipad_url).to_not include(IPAD_APP_TAG, IPAD_STORE_TAG)
|
186
|
+
end
|
187
|
+
it 'should not render any of the other meta tags' do
|
188
|
+
expect(part_ipad_url).to_not(
|
189
|
+
include *all_targets_except("ipad")
|
190
|
+
)
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
context 'iphone and ipad only' do
|
195
|
+
let(:iphone_ipad) { helper.applinks(IPHONE_IPAD_DATA) }
|
196
|
+
|
197
|
+
it 'should not render any of the other meta tags' do
|
198
|
+
expect(iphone_ipad).to_not include *all_targets_except("ipad", "iphone")
|
199
|
+
end
|
200
|
+
|
201
|
+
it 'should render all the iphone and ipad meta tags' do
|
202
|
+
expect(iphone_ipad).to include(IPHONE_URL_TAG, IPHONE_APP_TAG, IPHONE_STORE_TAG,
|
203
|
+
IPAD_URL_TAG, IPAD_APP_TAG, IPAD_STORE_TAG)
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
context 'android only' do
|
208
|
+
let(:full_android) { helper.applinks(ANDROID_DATA) }
|
209
|
+
|
210
|
+
it 'should not render any of the other meta tags' do
|
211
|
+
expect(full_android).to_not include *all_targets_except("android")
|
212
|
+
end
|
213
|
+
|
214
|
+
it 'should render all the android meta tags' do
|
215
|
+
expect(full_android).to include(ANDROID_URL_TAG, ANDROID_APP_TAG, ANDROID_STORE_TAG)
|
216
|
+
end
|
217
|
+
|
218
|
+
let(:part_android_url) do
|
219
|
+
helper.applinks({android: {:url => ANDROID_DATA[:android][:url]}})
|
220
|
+
end
|
221
|
+
|
222
|
+
let(:part_android_package) do
|
223
|
+
helper.applinks({android: {:package => ANDROID_DATA[:android][:package]}})
|
224
|
+
end
|
225
|
+
|
226
|
+
it 'should only render the iphone url meta tags' do
|
227
|
+
expect(part_android_package).to include ANDROID_STORE_TAG
|
228
|
+
end
|
229
|
+
|
230
|
+
|
231
|
+
it 'should not render the android url meta tags because package not supplied' do
|
232
|
+
expect(part_android_url).to eq ""
|
233
|
+
end
|
234
|
+
it 'should only render the android url meta tags' do
|
235
|
+
expect(part_android_package).to_not include(ANDROID_APP_TAG, ANDROID_URL_TAG)
|
236
|
+
end
|
237
|
+
it 'should not render any of the other meta tags' do
|
238
|
+
expect(part_android_package).to_not(
|
239
|
+
include *all_targets_except("android")
|
240
|
+
)
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
context 'has multiple ios versions' do
|
245
|
+
let(:multi_version_meta_array) do
|
246
|
+
helper.applinks(IOS_MULTI_DATA).to_s.split("\n")
|
247
|
+
end
|
248
|
+
|
249
|
+
it 'should start with the version breaker' do
|
250
|
+
expect(multi_version_meta_array[0]).to eq IOS_VERSION_BREAKER
|
251
|
+
end
|
252
|
+
|
253
|
+
it 'should be newest url' do
|
254
|
+
expect(multi_version_meta_array[1]).to eq '<meta property="al:ios:url" content="applinks_v2://docs" />'
|
255
|
+
end
|
256
|
+
|
257
|
+
it 'should be newest app_store_id' do
|
258
|
+
expect(multi_version_meta_array[2]).to eq '<meta property="al:ios:app_store_id" content="12345" />'
|
259
|
+
end
|
260
|
+
|
261
|
+
it 'should be newest app_name' do
|
262
|
+
expect(multi_version_meta_array[3]).to eq '<meta property="al:ios:app_name" content="App Links" />'
|
263
|
+
end
|
264
|
+
|
265
|
+
it 'should end block with the version breaker' do
|
266
|
+
expect(multi_version_meta_array[4]).to eq IOS_VERSION_BREAKER
|
267
|
+
end
|
268
|
+
|
269
|
+
it 'should be older url' do
|
270
|
+
expect(multi_version_meta_array[5]).to eq '<meta property="al:ios:url" content="applinks_v1://browse" />'
|
271
|
+
end
|
272
|
+
|
273
|
+
it 'should be older app_name' do
|
274
|
+
expect(multi_version_meta_array[6]).to eq '<meta property="al:ios:app_name" content="App Links Old" />'
|
275
|
+
end
|
276
|
+
it 'should be 7 lines' do
|
277
|
+
expect(multi_version_meta_array.length).to eq 7
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
context 'has multiple windows_phone versions' do
|
282
|
+
let(:multi_version_meta_array) do
|
283
|
+
helper.applinks(WINDOWS_PHONE_MULTI_DATA).to_s.split("\n")
|
284
|
+
end
|
285
|
+
|
286
|
+
it 'should start with the version breaker' do
|
287
|
+
expect(multi_version_meta_array[0]).to eq WINDOWS_PHONE_VERSION_BREAKER
|
288
|
+
end
|
289
|
+
|
290
|
+
it 'should be newest url' do
|
291
|
+
expect(multi_version_meta_array[1]).to eq '<meta property="al:windows_phone:url" content="applinks_v2://docs" />'
|
292
|
+
end
|
293
|
+
|
294
|
+
it 'should be newest app_id' do
|
295
|
+
expect(multi_version_meta_array[2]).to eq '<meta property="al:windows_phone:app_id" content="12345" />'
|
296
|
+
end
|
297
|
+
|
298
|
+
it 'should be newest app_name' do
|
299
|
+
expect(multi_version_meta_array[3]).to eq '<meta property="al:windows_phone:app_name" content="App Links" />'
|
300
|
+
end
|
301
|
+
|
302
|
+
it 'should end block with the version breaker' do
|
303
|
+
expect(multi_version_meta_array[4]).to eq WINDOWS_PHONE_VERSION_BREAKER
|
304
|
+
end
|
305
|
+
|
306
|
+
it 'should be older url' do
|
307
|
+
expect(multi_version_meta_array[5]).to eq '<meta property="al:windows_phone:url" content="applinks_v1://browse" />'
|
308
|
+
end
|
309
|
+
|
310
|
+
it 'should be older app_name' do
|
311
|
+
expect(multi_version_meta_array[6]).to eq '<meta property="al:windows_phone:app_name" content="App Links Old" />'
|
312
|
+
end
|
313
|
+
it 'should be 7 lines' do
|
314
|
+
expect(multi_version_meta_array.length).to eq 7
|
315
|
+
end
|
316
|
+
end
|
317
|
+
end
|
318
|
+
end
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
56083
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
# Load support files
|
9
|
+
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
RSpec.configure do |config|
|
13
|
+
|
14
|
+
config.treat_symbols_as_metadata_keys_with_true_values = true
|
15
|
+
config.run_all_when_everything_filtered = true
|
16
|
+
config.filter_run :focus
|
17
|
+
|
18
|
+
config.mock_with :rspec
|
19
|
+
config.infer_base_class_for_anonymous_controllers = false
|
20
|
+
config.order = "random"
|
21
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: applinks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Jones
|
@@ -16,14 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.0
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0
|
26
|
+
version: '4.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec-rails
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.14'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.14'
|
27
41
|
description: A rails engine that provides a helper which writes (hopefully) correctly
|
28
42
|
formatted applinks meta tags into your layout
|
29
43
|
email:
|
@@ -42,40 +56,59 @@ files:
|
|
42
56
|
- lib/applinks/config.rb
|
43
57
|
- lib/applinks/engine.rb
|
44
58
|
- lib/applinks/version.rb
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
-
|
54
|
-
-
|
55
|
-
-
|
56
|
-
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
-
|
60
|
-
-
|
61
|
-
-
|
62
|
-
-
|
63
|
-
-
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
67
|
-
-
|
68
|
-
-
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
-
|
78
|
-
-
|
59
|
+
- spec/dummy/Rakefile
|
60
|
+
- spec/dummy/app/assets/javascripts/application.js
|
61
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
62
|
+
- spec/dummy/app/controllers/application_controller.rb
|
63
|
+
- spec/dummy/app/controllers/home_controller.rb
|
64
|
+
- spec/dummy/app/helpers/application_helper.rb
|
65
|
+
- spec/dummy/app/helpers/home_helper.rb
|
66
|
+
- spec/dummy/app/views/home/index.html.erb
|
67
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
68
|
+
- spec/dummy/bin/bundle
|
69
|
+
- spec/dummy/bin/rails
|
70
|
+
- spec/dummy/bin/rake
|
71
|
+
- spec/dummy/config.ru
|
72
|
+
- spec/dummy/config/application.rb
|
73
|
+
- spec/dummy/config/boot.rb
|
74
|
+
- spec/dummy/config/database.yml
|
75
|
+
- spec/dummy/config/environment.rb
|
76
|
+
- spec/dummy/config/environments/development.rb
|
77
|
+
- spec/dummy/config/environments/production.rb
|
78
|
+
- spec/dummy/config/environments/test.rb
|
79
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
80
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
81
|
+
- spec/dummy/config/initializers/inflections.rb
|
82
|
+
- spec/dummy/config/initializers/mime_types.rb
|
83
|
+
- spec/dummy/config/initializers/secret_token.rb
|
84
|
+
- spec/dummy/config/initializers/session_store.rb
|
85
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
86
|
+
- spec/dummy/config/locales/en.yml
|
87
|
+
- spec/dummy/config/routes.rb
|
88
|
+
- spec/dummy/db/development.sqlite3
|
89
|
+
- spec/dummy/db/test.sqlite3
|
90
|
+
- spec/dummy/log/development.log
|
91
|
+
- spec/dummy/log/test.log
|
92
|
+
- spec/dummy/public/404.html
|
93
|
+
- spec/dummy/public/422.html
|
94
|
+
- spec/dummy/public/500.html
|
95
|
+
- spec/dummy/public/favicon.ico
|
96
|
+
- spec/dummy/spec/controllers/home_controller_spec.rb
|
97
|
+
- spec/dummy/spec/helpers/application_helper_spec.rb
|
98
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
99
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c
|
100
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2
|
101
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
102
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
103
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683
|
104
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
|
105
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
|
106
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
107
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
108
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0
|
109
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
110
|
+
- spec/dummy/tmp/pids/server.pid
|
111
|
+
- spec/spec_helper.rb
|
79
112
|
homepage: https://github.com/stujo/applinks
|
80
113
|
licenses:
|
81
114
|
- MIT
|
@@ -101,38 +134,57 @@ signing_key:
|
|
101
134
|
specification_version: 4
|
102
135
|
summary: Trying to make it easy to add applinks meta tags in your webapp
|
103
136
|
test_files:
|
104
|
-
-
|
105
|
-
-
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
-
|
111
|
-
-
|
112
|
-
-
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
-
|
125
|
-
-
|
126
|
-
-
|
127
|
-
-
|
128
|
-
-
|
129
|
-
-
|
130
|
-
-
|
131
|
-
-
|
132
|
-
-
|
133
|
-
-
|
134
|
-
-
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
137
|
+
- spec/dummy/app/assets/javascripts/application.js
|
138
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
139
|
+
- spec/dummy/app/controllers/application_controller.rb
|
140
|
+
- spec/dummy/app/controllers/home_controller.rb
|
141
|
+
- spec/dummy/app/helpers/application_helper.rb
|
142
|
+
- spec/dummy/app/helpers/home_helper.rb
|
143
|
+
- spec/dummy/app/views/home/index.html.erb
|
144
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
145
|
+
- spec/dummy/bin/bundle
|
146
|
+
- spec/dummy/bin/rails
|
147
|
+
- spec/dummy/bin/rake
|
148
|
+
- spec/dummy/config/application.rb
|
149
|
+
- spec/dummy/config/boot.rb
|
150
|
+
- spec/dummy/config/database.yml
|
151
|
+
- spec/dummy/config/environment.rb
|
152
|
+
- spec/dummy/config/environments/development.rb
|
153
|
+
- spec/dummy/config/environments/production.rb
|
154
|
+
- spec/dummy/config/environments/test.rb
|
155
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
156
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
157
|
+
- spec/dummy/config/initializers/inflections.rb
|
158
|
+
- spec/dummy/config/initializers/mime_types.rb
|
159
|
+
- spec/dummy/config/initializers/secret_token.rb
|
160
|
+
- spec/dummy/config/initializers/session_store.rb
|
161
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
162
|
+
- spec/dummy/config/locales/en.yml
|
163
|
+
- spec/dummy/config/routes.rb
|
164
|
+
- spec/dummy/config.ru
|
165
|
+
- spec/dummy/db/development.sqlite3
|
166
|
+
- spec/dummy/db/test.sqlite3
|
167
|
+
- spec/dummy/log/development.log
|
168
|
+
- spec/dummy/log/test.log
|
169
|
+
- spec/dummy/public/404.html
|
170
|
+
- spec/dummy/public/422.html
|
171
|
+
- spec/dummy/public/500.html
|
172
|
+
- spec/dummy/public/favicon.ico
|
173
|
+
- spec/dummy/Rakefile
|
174
|
+
- spec/dummy/spec/controllers/home_controller_spec.rb
|
175
|
+
- spec/dummy/spec/helpers/application_helper_spec.rb
|
176
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705
|
177
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/1c9faaf28d05409b88ad3113374d613c
|
178
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2822de3b22c28bd5e718c9bf500457b2
|
179
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af
|
180
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953
|
181
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/40fc2f3d2a468a00e463f1d313cb1683
|
182
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/a9f028f7a492b5907ed80268be8f50f4
|
183
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/b878faf942403e313a5b103e5d80488e
|
184
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994
|
185
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6
|
186
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/edbef6e0d0a4742346cf479f2c522eb0
|
187
|
+
- spec/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
188
|
+
- spec/dummy/tmp/pids/server.pid
|
189
|
+
- spec/spec_helper.rb
|
138
190
|
has_rdoc:
|
data/test/applinks_test.rb
DELETED
data/test/dummy/README.rdoc
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|