ads-rails 0.0.8 → 0.1.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/MIT-LICENSE +1 -1
- data/README.rdoc +1 -1
- data/lib/ads/rails/version.rb +1 -1
- data/test/dummy/config/initializers/secret_token.rb +1 -0
- data/test/dummy/log/test.log +43 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +15 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3a718faa5f0d5b92d7817cf378cf902b6a6a95e
|
|
4
|
+
data.tar.gz: e2831ca03f42c7dc64653ab7d487613eecb7f864
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 752c3b4eacb0c08e9bf04d37d5cc9717c2d9a0a3eafc331c6283b39711c871c35919dee7d89ff7abba0c6499b81afdd88908155e1876f421e2cad29d95ddddad
|
|
7
|
+
data.tar.gz: 992f635fd4ddfe5549b36e6be759ba68b5230091fdd1c9d152adaa52d6424fbd02b4b533c8b8c3190908d343884348fcb46901f22e562add8ef619bbffffc56d
|
data/MIT-LICENSE
CHANGED
data/README.rdoc
CHANGED
|
@@ -21,7 +21,7 @@ Then bundle:
|
|
|
21
21
|
In your view add a line like this wherever you like:
|
|
22
22
|
<%= google_adsense_include_tag client: 'client', slot: 'slot', width: 'width', height: 'height' %>
|
|
23
23
|
|
|
24
|
-
(Will only show the include tag in production
|
|
24
|
+
(Will only show the include tag in production)
|
|
25
25
|
|
|
26
26
|
= Configuration
|
|
27
27
|
|
data/lib/ads/rails/version.rb
CHANGED
|
@@ -9,4 +9,5 @@
|
|
|
9
9
|
|
|
10
10
|
# Make sure your secret_key_base is kept private
|
|
11
11
|
# if you're sharing your code publicly.
|
|
12
|
+
Dummy::Application.config.secret_token = '3761e5818ce76ffc66003c18a54f10ea508328bda385c5de7987bdd89e1bb990ba0545c71a3015102055064b9a6ed06d46424758b3bb60ff243eaea584a5657f'
|
|
12
13
|
Dummy::Application.config.secret_key_base = '3761e5818ce76ffc66003c18a54f10ea508328bda385c5de7987bdd89e1bb990ba0545c71a3015102055064b9a6ed06d46424758b3bb60ff243eaea584a5657f'
|
data/test/dummy/log/test.log
CHANGED
|
@@ -957,3 +957,46 @@ Started GET "/" for 127.0.0.1 at 2014-03-01 15:03:35 -0200
|
|
|
957
957
|
Processing by PagesController#index as HTML
|
|
958
958
|
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
|
959
959
|
[1m[35m (0.0ms)[0m rollback transaction
|
|
960
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
961
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
|
962
|
+
[1m[36m (0.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
963
|
+
[1m[35m (0.0ms)[0m SELECT version FROM "schema_migrations"
|
|
964
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('0')[0m
|
|
965
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
966
|
+
-------------------------------------------------------------------------------------------
|
|
967
|
+
IncludeTagTest: test_should_show_adsense_code_if_env_is_production_and_there_is_no_renderer
|
|
968
|
+
-------------------------------------------------------------------------------------------
|
|
969
|
+
Started GET "/" for 127.0.0.1 at 2014-06-08 18:12:29 -0300
|
|
970
|
+
Processing by PagesController#index as HTML
|
|
971
|
+
Rendered pages/index.html.erb within layouts/application (1.3ms)
|
|
972
|
+
Completed 200 OK in 26ms (Views: 25.6ms | ActiveRecord: 0.0ms)
|
|
973
|
+
Started GET "/" for 127.0.0.1 at 2014-06-08 18:12:29 -0300
|
|
974
|
+
Processing by PagesController#index as HTML
|
|
975
|
+
Rendered pages/index.html.erb within layouts/application (0.2ms)
|
|
976
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
|
977
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
978
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
979
|
+
-------------------------------------------------------------------------------------------
|
|
980
|
+
IncludeTagTest: test_should_show_gray_div_if_env_is_not_production_and_there_is_no_renderer
|
|
981
|
+
-------------------------------------------------------------------------------------------
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
Started GET "/" for 127.0.0.1 at 2014-06-08 18:12:29 -0300
|
|
985
|
+
Processing by PagesController#index as HTML
|
|
986
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
|
987
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
|
988
|
+
[1m[35m (0.1ms)[0m begin transaction
|
|
989
|
+
-------------------------------------------------------------------------------------------------
|
|
990
|
+
IncludeTagTest: test_should_show_renderer_output_if_env_is_not_production_and_there_is_a_renderer
|
|
991
|
+
-------------------------------------------------------------------------------------------------
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
Started GET "/" for 127.0.0.1 at 2014-06-08 18:12:29 -0300
|
|
995
|
+
Processing by PagesController#index as HTML
|
|
996
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
997
|
+
|
|
998
|
+
|
|
999
|
+
Started GET "/" for 127.0.0.1 at 2014-06-08 18:12:29 -0300
|
|
1000
|
+
Processing by PagesController#index as HTML
|
|
1001
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
|
1002
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ads-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Museways
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-
|
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -16,28 +16,34 @@ dependencies:
|
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.
|
|
19
|
+
version: 3.1.0
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 4.2.0
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
27
|
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 3.
|
|
29
|
+
version: 3.1.0
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 4.2.0
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: sqlite3
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
30
36
|
requirements:
|
|
31
|
-
- - "
|
|
37
|
+
- - "~>"
|
|
32
38
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
39
|
+
version: '1.3'
|
|
34
40
|
type: :development
|
|
35
41
|
prerelease: false
|
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
43
|
requirements:
|
|
38
|
-
- - "
|
|
44
|
+
- - "~>"
|
|
39
45
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
46
|
+
version: '1.3'
|
|
41
47
|
description: Adds a simple view helper to create the google adsense include tag.
|
|
42
48
|
email:
|
|
43
49
|
- hello@museways.com
|
|
@@ -117,7 +123,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
117
123
|
requirements:
|
|
118
124
|
- - ">="
|
|
119
125
|
- !ruby/object:Gem::Version
|
|
120
|
-
version:
|
|
126
|
+
version: 1.9.3
|
|
121
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
128
|
requirements:
|
|
123
129
|
- - ">="
|