applinks 0.0.4 → 0.0.6
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/{LICENSE.txt → MIT-LICENSE} +1 -4
- data/README.rdoc +3 -0
- data/Rakefile +34 -1
- data/app/controllers/applinks/application_controller.rb +4 -0
- data/app/helpers/applinks/application_helper.rb +24 -0
- data/app/views/applinks/_head.html.erb +17 -0
- data/config/initializers/applinks.rb +3 -0
- data/lib/applinks/builder.rb +43 -0
- data/lib/applinks/config.rb +10 -0
- data/lib/applinks/engine.rb +5 -0
- data/lib/applinks/version.rb +2 -5
- data/lib/applinks.rb +3 -5
- data/lib/tasks/applinks_tasks.rake +4 -0
- data/test/applinks_test.rb +7 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +15 -0
- metadata +86 -136
- data/.gitignore +0 -4
- data/.rspec +0 -4
- data/.travis.yml +0 -10
- data/Gemfile +0 -4
- data/README.md +0 -31
- data/applinks.gemspec +0 -36
- data/lib/applinks/helper.rb +0 -37
- data/npm-debug.log +0 -21
- data/rspec_output.txt +0 -95
- data/spec/applinks/applink_spec.rb +0 -5
- data/spec/spec_helper.rb +0 -15
- /data/{app/views/applinks/head.html.erb → test/dummy/public/favicon.ico} +0 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Configure Rails Environment
|
2
|
+
ENV["RAILS_ENV"] = "test"
|
3
|
+
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require "rails/test_help"
|
6
|
+
|
7
|
+
Rails.backtrace_cleaner.remove_silencers!
|
8
|
+
|
9
|
+
# Load support files
|
10
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
11
|
+
|
12
|
+
# Load fixtures from the engine
|
13
|
+
if ActiveSupport::TestCase.method_defined?(:fixture_path=)
|
14
|
+
ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
|
15
|
+
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.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stuart Jones
|
@@ -11,156 +11,74 @@ cert_chain: []
|
|
11
11
|
date: 2014-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
type: :development
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.3'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: simplecov
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0.8'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0.8'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: vcr
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.9'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.9'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '2.14'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '2.14'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: webmock
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.17'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.17'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: faraday
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - "~>"
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: 0.8.9
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - "~>"
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: 0.8.9
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: faraday-http-cache
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - "~>"
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0.4'
|
19
|
+
version: 4.0.4
|
118
20
|
type: :runtime
|
119
21
|
prerelease: false
|
120
22
|
version_requirements: !ruby/object:Gem::Requirement
|
121
23
|
requirements:
|
122
24
|
- - "~>"
|
123
25
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
125
|
-
|
126
|
-
name: faraday_middleware
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0.8'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0.8'
|
139
|
-
description: A gem to add and read applinks
|
26
|
+
version: 4.0.4
|
27
|
+
description: Description of Applinks.
|
140
28
|
email:
|
141
29
|
- applinks@skillbox.com
|
142
30
|
executables: []
|
143
31
|
extensions: []
|
144
32
|
extra_rdoc_files: []
|
145
33
|
files:
|
146
|
-
-
|
147
|
-
-
|
148
|
-
- ".travis.yml"
|
149
|
-
- Gemfile
|
150
|
-
- LICENSE.txt
|
151
|
-
- README.md
|
34
|
+
- MIT-LICENSE
|
35
|
+
- README.rdoc
|
152
36
|
- Rakefile
|
37
|
+
- app/controllers/applinks/application_controller.rb
|
38
|
+
- app/helpers/applinks/application_helper.rb
|
153
39
|
- app/views/applinks/_head.html.erb
|
154
|
-
-
|
155
|
-
- applinks.gemspec
|
40
|
+
- config/initializers/applinks.rb
|
156
41
|
- lib/applinks.rb
|
157
|
-
- lib/applinks/
|
42
|
+
- lib/applinks/builder.rb
|
43
|
+
- lib/applinks/config.rb
|
44
|
+
- lib/applinks/engine.rb
|
158
45
|
- lib/applinks/version.rb
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
-
|
163
|
-
|
46
|
+
- lib/tasks/applinks_tasks.rake
|
47
|
+
- test/applinks_test.rb
|
48
|
+
- test/dummy/README.rdoc
|
49
|
+
- test/dummy/Rakefile
|
50
|
+
- test/dummy/app/assets/javascripts/application.js
|
51
|
+
- test/dummy/app/assets/stylesheets/application.css
|
52
|
+
- test/dummy/app/controllers/application_controller.rb
|
53
|
+
- test/dummy/app/helpers/application_helper.rb
|
54
|
+
- test/dummy/app/views/layouts/application.html.erb
|
55
|
+
- test/dummy/bin/bundle
|
56
|
+
- test/dummy/bin/rails
|
57
|
+
- test/dummy/bin/rake
|
58
|
+
- test/dummy/config.ru
|
59
|
+
- test/dummy/config/application.rb
|
60
|
+
- test/dummy/config/boot.rb
|
61
|
+
- test/dummy/config/database.yml
|
62
|
+
- test/dummy/config/environment.rb
|
63
|
+
- test/dummy/config/environments/development.rb
|
64
|
+
- test/dummy/config/environments/production.rb
|
65
|
+
- test/dummy/config/environments/test.rb
|
66
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
67
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
68
|
+
- test/dummy/config/initializers/inflections.rb
|
69
|
+
- test/dummy/config/initializers/mime_types.rb
|
70
|
+
- test/dummy/config/initializers/secret_token.rb
|
71
|
+
- test/dummy/config/initializers/session_store.rb
|
72
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
73
|
+
- test/dummy/config/locales/en.yml
|
74
|
+
- test/dummy/config/routes.rb
|
75
|
+
- test/dummy/public/404.html
|
76
|
+
- test/dummy/public/422.html
|
77
|
+
- test/dummy/public/500.html
|
78
|
+
- test/dummy/public/favicon.ico
|
79
|
+
- test/integration/navigation_test.rb
|
80
|
+
- test/test_helper.rb
|
81
|
+
homepage: https://github.com/stujo/applinks
|
164
82
|
licenses:
|
165
83
|
- MIT
|
166
84
|
metadata: {}
|
@@ -170,9 +88,9 @@ require_paths:
|
|
170
88
|
- lib
|
171
89
|
required_ruby_version: !ruby/object:Gem::Requirement
|
172
90
|
requirements:
|
173
|
-
- - "
|
91
|
+
- - ">="
|
174
92
|
- !ruby/object:Gem::Version
|
175
|
-
version: '
|
93
|
+
version: '0'
|
176
94
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
95
|
requirements:
|
178
96
|
- - ">="
|
@@ -183,8 +101,40 @@ rubyforge_project:
|
|
183
101
|
rubygems_version: 2.2.2
|
184
102
|
signing_key:
|
185
103
|
specification_version: 4
|
186
|
-
summary:
|
104
|
+
summary: Trying to make it easy to add and use applinks in your webapp
|
187
105
|
test_files:
|
188
|
-
-
|
189
|
-
-
|
106
|
+
- test/applinks_test.rb
|
107
|
+
- test/dummy/app/assets/javascripts/application.js
|
108
|
+
- test/dummy/app/assets/stylesheets/application.css
|
109
|
+
- test/dummy/app/controllers/application_controller.rb
|
110
|
+
- test/dummy/app/helpers/application_helper.rb
|
111
|
+
- test/dummy/app/views/layouts/application.html.erb
|
112
|
+
- test/dummy/bin/bundle
|
113
|
+
- test/dummy/bin/rails
|
114
|
+
- test/dummy/bin/rake
|
115
|
+
- test/dummy/config/application.rb
|
116
|
+
- test/dummy/config/boot.rb
|
117
|
+
- test/dummy/config/database.yml
|
118
|
+
- test/dummy/config/environment.rb
|
119
|
+
- test/dummy/config/environments/development.rb
|
120
|
+
- test/dummy/config/environments/production.rb
|
121
|
+
- test/dummy/config/environments/test.rb
|
122
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
123
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
124
|
+
- test/dummy/config/initializers/inflections.rb
|
125
|
+
- test/dummy/config/initializers/mime_types.rb
|
126
|
+
- test/dummy/config/initializers/secret_token.rb
|
127
|
+
- test/dummy/config/initializers/session_store.rb
|
128
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
129
|
+
- test/dummy/config/locales/en.yml
|
130
|
+
- test/dummy/config/routes.rb
|
131
|
+
- test/dummy/config.ru
|
132
|
+
- test/dummy/public/404.html
|
133
|
+
- test/dummy/public/422.html
|
134
|
+
- test/dummy/public/500.html
|
135
|
+
- test/dummy/public/favicon.ico
|
136
|
+
- test/dummy/Rakefile
|
137
|
+
- test/dummy/README.rdoc
|
138
|
+
- test/integration/navigation_test.rb
|
139
|
+
- test/test_helper.rb
|
190
140
|
has_rdoc:
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
data/Gemfile
DELETED
data/README.md
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
#applinks
|
2
|
-
|
3
|
-
[](http://badge.fury.io/rb/applinks)
|
4
|
-
|
5
|
-
[](https://travis-ci.org/stujo/applinks)
|
6
|
-
|
7
|
-
[](https://codeclimate.com/github/stujo/applinks)
|
8
|
-
|
9
|
-
#Overview
|
10
|
-
A Helper to add applinks to pages
|
11
|
-
|
12
|
-
#Installation
|
13
|
-
|
14
|
-
##Install the gem
|
15
|
-
```
|
16
|
-
|
17
|
-
gem install applinks
|
18
|
-
|
19
|
-
```
|
20
|
-
|
21
|
-
##Use it in your gemfile
|
22
|
-
```
|
23
|
-
gem "applinks"
|
24
|
-
|
25
|
-
```
|
26
|
-
|
27
|
-
|
28
|
-
#Usage
|
29
|
-
|
30
|
-
|
31
|
-
|
data/applinks.gemspec
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
|
5
|
-
|
6
|
-
require "applinks/version"
|
7
|
-
|
8
|
-
Gem::Specification.new do |spec|
|
9
|
-
spec.name = "applinks"
|
10
|
-
spec.version = Applinks::VERSION
|
11
|
-
spec.authors = ["Stuart Jones"]
|
12
|
-
spec.email = ["applinks@skillbox.com"]
|
13
|
-
spec.description = 'A gem to add and read applinks'
|
14
|
-
spec.summary = ''
|
15
|
-
spec.homepage = "https://github.com/stujo/applinks/"
|
16
|
-
spec.license = "MIT"
|
17
|
-
|
18
|
-
spec.files = `git ls-files`.split($/)
|
19
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
20
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
21
|
-
spec.require_paths = ["lib"]
|
22
|
-
|
23
|
-
spec.required_ruby_version = '~> 2.0'
|
24
|
-
|
25
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
26
|
-
spec.add_development_dependency "simplecov", "~> 0.8"
|
27
|
-
spec.add_development_dependency "vcr", "~> 2.9"
|
28
|
-
|
29
|
-
spec.add_development_dependency "rake", "~> 0"
|
30
|
-
spec.add_development_dependency "rspec", "~> 2.14"
|
31
|
-
spec.add_development_dependency "webmock", "~> 1.17"
|
32
|
-
|
33
|
-
spec.add_dependency 'faraday', '~> 0.8.9'
|
34
|
-
spec.add_dependency 'faraday-http-cache', '~> 0.4'
|
35
|
-
spec.add_dependency "faraday_middleware", '~> 0.8'
|
36
|
-
end
|
data/lib/applinks/helper.rb
DELETED
@@ -1,37 +0,0 @@
|
|
1
|
-
require 'erb'
|
2
|
-
|
3
|
-
module Applinks
|
4
|
-
module Helper
|
5
|
-
def demo_data
|
6
|
-
{
|
7
|
-
ios: {
|
8
|
-
url: 'applinks://docs',
|
9
|
-
app_store_id: '12345',
|
10
|
-
app_name: 'App Links'
|
11
|
-
},
|
12
|
-
android: {
|
13
|
-
url: 'applinks://docs',
|
14
|
-
package: 'org.applinks',
|
15
|
-
app_name: 'App Links'
|
16
|
-
}
|
17
|
-
}
|
18
|
-
end
|
19
|
-
|
20
|
-
def applinks(data = demo_data, template = 'applinks/head')
|
21
|
-
render(:partial => template,
|
22
|
-
:locals => {applinks: data})
|
23
|
-
end
|
24
|
-
|
25
|
-
# def applinks_header data
|
26
|
-
# <<-eos
|
27
|
-
# <meta property="al:ios:url" content="applinks://docs" />
|
28
|
-
# <meta property="al:ios:app_store_id" content="12345" />
|
29
|
-
# <meta property="al:ios:app_name" content="App Links" />
|
30
|
-
# <meta property="al:android:url" content="applinks://docs" />
|
31
|
-
# <meta property="al:android:app_name" content="App Links" />
|
32
|
-
# <meta property="al:android:package" content="org.applinks" />
|
33
|
-
# <meta property="al:web:url" content="http://applinks.org/documentation" />
|
34
|
-
# eos
|
35
|
-
# end
|
36
|
-
end
|
37
|
-
end
|
data/npm-debug.log
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
0 info it worked if it ends with ok
|
2
|
-
1 verbose cli [ '/usr/local/Cellar/node/0.10.21/bin/node',
|
3
|
-
1 verbose cli '/usr/local/bin/npm',
|
4
|
-
1 verbose cli 'install' ]
|
5
|
-
2 info using npm@1.3.11
|
6
|
-
3 info using node@v0.10.21
|
7
|
-
4 error install Couldn't read dependencies
|
8
|
-
5 error Error: ENOENT, open '/work/projects/omdbgateway/package.json'
|
9
|
-
6 error If you need help, you may report this log at:
|
10
|
-
6 error <http://github.com/isaacs/npm/issues>
|
11
|
-
6 error or email it to:
|
12
|
-
6 error <npm-@googlegroups.com>
|
13
|
-
7 error System Darwin 13.1.0
|
14
|
-
8 error command "/usr/local/Cellar/node/0.10.21/bin/node" "/usr/local/bin/npm" "install"
|
15
|
-
9 error cwd /work/projects/omdbgateway
|
16
|
-
10 error node -v v0.10.21
|
17
|
-
11 error npm -v 1.3.11
|
18
|
-
12 error path /work/projects/omdbgateway/package.json
|
19
|
-
13 error code ENOENT
|
20
|
-
14 error errno 34
|
21
|
-
15 verbose exit [ 34, true ]
|