ads-rails 4.0.0.0 → 4.0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/lib/ads/rails/railtie.rb +6 -4
- data/lib/ads/rails/version.rb +1 -1
- data/test/dummy/log/test.log +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8efba92a9e7de71afa73949b7d6ed1deee897cc5
|
4
|
+
data.tar.gz: ce86fbce5298182395a4f496a541af9f3b52aafb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68f8465a753e3455af1e84558da271fed357d22df31d075cb06f6c686be294dde8f03ca62503e7968e9bf3cadd934685faa5dabd71f61012900b874734295e02
|
7
|
+
data.tar.gz: 2e4592e35b1a8e14bd1ad7871f005d68977adbed3c4870070133539aa968f58427060acb65a342b77bb6fa9d1ef5cf725b90c083b45772de90abb0ca8c460dbc
|
data/README.md
CHANGED
@@ -62,6 +62,12 @@ google_ad_slot = 1234
|
|
62
62
|
|
63
63
|
NOTE: If environment is not production, the sample tag will be use instead.
|
64
64
|
|
65
|
+
## Contributing
|
66
|
+
|
67
|
+
Any issue, pull request, comment of any kind is more than welcome!
|
68
|
+
|
69
|
+
I will mainly ensure compatibility to PostgreSQL, AWS, Redis, Elasticsearch, FreeBSD and Memcached.
|
70
|
+
|
65
71
|
## Credits
|
66
72
|
|
67
73
|
This gem is maintained and funded by [mmontossi](https://github.com/mmontossi).
|
data/lib/ads/rails/railtie.rb
CHANGED
@@ -2,10 +2,12 @@ module Ads
|
|
2
2
|
module Rails
|
3
3
|
class Railtie < ::Rails::Railtie
|
4
4
|
|
5
|
-
initializer 'ads.
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
initializer 'ads.action_view' do
|
6
|
+
ActiveSupport.on_load :action_view do
|
7
|
+
::ActionView::Base.include(
|
8
|
+
Ads::Rails::Extensions::ActionView::Base
|
9
|
+
)
|
10
|
+
end
|
9
11
|
end
|
10
12
|
|
11
13
|
end
|
data/lib/ads/rails/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -58,3 +58,9 @@ ViewTest: test_tag
|
|
58
58
|
----------------------------
|
59
59
|
GeneratorsTest: test_install
|
60
60
|
----------------------------
|
61
|
+
------------------
|
62
|
+
ViewTest: test_tag
|
63
|
+
------------------
|
64
|
+
----------------------------
|
65
|
+
GeneratorsTest: test_install
|
66
|
+
----------------------------
|
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: 4.0.0.
|
4
|
+
version: 4.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mmontossi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|