tophat 2.2.1 → 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b56ca22052879feee712624be7e4280ba092ebe4
4
- data.tar.gz: 17028a90e939dff0feb788e70638376330b9d97a
3
+ metadata.gz: 3e65929144368accc83aa32c0598b5b9ee18341f
4
+ data.tar.gz: e4238dc1b161344e76e83d1decdc127503663e87
5
5
  SHA512:
6
- metadata.gz: 232aa078654be03c161781b600c5589bbcc1d7b3987282f5856bef5bad67264d3a325eb66aebc5129d442f7afd3b97b5b12811e55a1b80e2774abef2cb1bbb9b
7
- data.tar.gz: a7b08dbbab148bd2456f2883d1008059f960f1477e6939454f23bfa770943b80edd46fccc74d7e4fbd803687b2fdb0d95a2d1d746958a7e1139e6e5b214213e8
6
+ metadata.gz: be483e1b82aa1f0dea42fa9d3deb0d0e4b12954ebc800bfcc052b6536ab1338e9d6b658c283144f4bbcedb8abad114268e03999a3052c1eea8326a71c5c4b3d0
7
+ data.tar.gz: 43dbe59f48be8c4d3d0b4f75ad50e4f92b693715a9ec7332ba4382c332ff39f0af5c19b315545374aa0453b2648a08c3e8867f96032c7f6f59935efc5760dcbf
data/.travis.yml CHANGED
@@ -1,19 +1,12 @@
1
- bundler_args: --without development
1
+ bundler_args: --without development --retry=3 --jobs=3
2
2
  language: ruby
3
3
  rvm:
4
- - 1.9.3
5
4
  - 2.0
6
5
  - 2.1
7
- - jruby-19mode
8
- - jruby-19mode
9
- - jruby-head
10
- - rbx-2
6
+ - 2.2
11
7
  - ruby-head
12
8
  matrix:
13
9
  allow_failures:
14
- - rvm: jruby-head
15
- - rvm: jruby-19mode
16
- - rvm: rbx-2
17
10
  - rvm: ruby-head
18
11
  fash_finish: true
19
12
  sudo: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,11 @@
1
+ # Master / Unreleased
2
+
3
+
4
+
5
+ # 2.3.0 / July 13, 2016
6
+
7
+ * [BUGFIX] Use ActiveSupport.on_load looks to inject behavior into ActionView::Base
8
+
9
+ # 2.2.1 / Jul 1, 2015
10
+
11
+ * [BUGFIX] Do not override default description when custom description is blank
data/README.md CHANGED
@@ -1,7 +1,12 @@
1
- # TopHat [![Build Status](https://secure.travis-ci.org/stve/tophat.png?branch=master)][travis] [![Dependency Status](https://gemnasium.com/stve/tophat.png?travis)][gemnasium] [![Code Climate](https://codeclimate.com/github/stve/tophat.png)][codeclimate]
1
+ # TopHat
2
2
 
3
+ [![Gem Version](http://img.shields.io/gem/v/tophat.svg)][gem]
4
+ [![Build Status](http://img.shields.io/travis/stve/tophat.svg)][travis]
5
+ [![Dependency Status](http://img.shields.io/gemnasium/stve/tophat.svg)][gemnasium]
6
+ [![Code Climate](http://img.shields.io/codeclimate/github/stve/tophat.svg)][codeclimate]
3
7
 
4
- [travis]: http://travis-ci.org/stve/tophat
8
+ [gem]: https://rubygems.org/gems/tophat
9
+ [travis]: https://travis-ci.org/stve/tophat
5
10
  [gemnasium]: https://gemnasium.com/stve/tophat
6
11
  [codeclimate]: https://codeclimate.com/github/stve/tophat
7
12
 
data/lib/tophat.rb CHANGED
@@ -21,13 +21,14 @@ module TopHat
21
21
  end
22
22
 
23
23
  def setup
24
- ActionView::Base.send :include, TopHat::HtmlHelper
25
- ActionView::Base.send :include, TopHat::TitleHelper
26
- ActionView::Base.send :include, TopHat::MetaHelper
27
- ActionView::Base.send :include, TopHat::StylesheetHelper
28
- ActionView::Base.send :include, TopHat::RobotsHelper
29
- ActionView::Base.send :include, TopHat::OpenGraphHelper
30
- ActionView::Base.send :include, TopHat::TwitterCardHelper
24
+ ActiveSupport.on_load(:action_view) do
25
+ include TopHat::HtmlHelper
26
+ include TopHat::TitleHelper
27
+ include TopHat::MetaHelper
28
+ include TopHat::StylesheetHelper
29
+ include TopHat::RobotsHelper
30
+ include TopHat::OpenGraphHelper
31
+ include TopHat::TwitterCardHelper
32
+ end
31
33
  end
32
-
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module TopHat
2
- VERSION = '2.2.1'
2
+ VERSION = '2.3.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tophat
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Agalloco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-02 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -35,6 +35,7 @@ files:
35
35
  - ".gitignore"
36
36
  - ".rspec"
37
37
  - ".travis.yml"
38
+ - CHANGELOG.md
38
39
  - Gemfile
39
40
  - LICENSE.md
40
41
  - README.md