twitter-bootswatch-rails-helpers 3.2.0.0 → 3.3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/.travis.yml +2 -1
- data/README.md +3 -2
- data/app/helpers/twitter/bootswatch/flash_helper.rb +4 -3
- data/lib/twitter/bootswatch/rails/helpers/version.rb +1 -1
- data/twitter-bootswatch-rails-helpers.gemspec +3 -3
- metadata +20 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 150bf456a6bb50dbdafe920782086a5e0cead624
|
4
|
+
data.tar.gz: a7ce69ba63e428a9e1a07d09a0bdf5769e27fc1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f347cb9d21fde1dd34f2e8c2ac925fa8e02a5b01802412e79cf2f4c19631770ed62edd1c778f356124fabe39b1f4ef49331c995b04a3463849dacb31bfa88c71
|
7
|
+
data.tar.gz: 00a2600858a7c37df09b3f1a99b48f907a1e3f69d1bc79cfabbbc12e8c510e041f8690f5f4fa153782e67b89e00405284fa2ba632fd26250162d027912b5d50e
|
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
twbs
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.
|
1
|
+
ruby-2.1.2
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
|
-
# Bootswatch Rails 3.
|
1
|
+
# Bootswatch Rails 3.3.2 Helpers gem
|
2
|
+
|
2
3
|
|
3
4
|
[![Build Status](https://travis-ci.org/scottvrosenthal/twitter-bootswatch-rails-helpers.png?branch=master)](https://travis-ci.org/scottvrosenthal/twitter-bootswatch-rails-helpers)
|
4
5
|
|
@@ -9,7 +10,7 @@
|
|
9
10
|
|
10
11
|
Add this line to your application's Gemfile:
|
11
12
|
|
12
|
-
gem 'twitter-bootswatch-rails', '~> 3.
|
13
|
+
gem 'twitter-bootswatch-rails', '~> 3.3.2'
|
13
14
|
|
14
15
|
gem 'twitter-bootswatch-rails-helpers'
|
15
16
|
|
@@ -46,10 +46,11 @@ module Twitter
|
|
46
46
|
end
|
47
47
|
|
48
48
|
def bootswatch_alert_types(alert_type)
|
49
|
+
#Rails 4.1 started using Strings instead of Symbol.
|
49
50
|
case alert_type
|
50
|
-
when :info then 'alert-info'
|
51
|
-
when :notice, :success then 'alert-success'
|
52
|
-
when :alert, :error then 'alert-danger'
|
51
|
+
when :info, 'info' then 'alert-info'
|
52
|
+
when :notice, :success, 'notice', 'success' then 'alert-success'
|
53
|
+
when :alert, :error, 'alert', 'error' then 'alert-danger'
|
53
54
|
else 'alert-warning' # warning
|
54
55
|
end
|
55
56
|
end
|
@@ -8,8 +8,8 @@ Gem::Specification.new do |gem|
|
|
8
8
|
gem.version = Twitter::Bootswatch::Rails::Helpers::VERSION
|
9
9
|
gem.required_ruby_version = '>= 1.9.3'
|
10
10
|
gem.required_rubygems_version = '>= 1.8.11'
|
11
|
-
gem.authors = [
|
12
|
-
gem.email = [
|
11
|
+
gem.authors = ['scottvrosenthal']
|
12
|
+
gem.email = ['sr7575@gmail.com']
|
13
13
|
gem.homepage = 'https://github.com/scottvrosenthal/twitter-bootswatch-rails-helpers'
|
14
14
|
gem.summary = %q{Bootswatch Rails Helpers gem for use with the twitter-bootswatch-rails & less-rails gems}
|
15
15
|
gem.description = %q{twitter-bootswatch-rails-helpers gem provides common view helpers for use with the twitter-bootswatch-rails & less-rails gems}
|
@@ -20,6 +20,6 @@ Gem::Specification.new do |gem|
|
|
20
20
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
21
21
|
gem.require_paths = ['lib']
|
22
22
|
|
23
|
-
gem.add_dependency 'twitter-bootswatch-rails', '~> 3.2
|
23
|
+
gem.add_dependency 'twitter-bootswatch-rails', '~> 3.3', '>= 3.3.2'
|
24
24
|
|
25
25
|
end
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-bootswatch-rails-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.0
|
4
|
+
version: 3.3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- scottvrosenthal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: twitter-bootswatch-rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 3.
|
19
|
+
version: '3.3'
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.3.2
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - ~>
|
27
|
+
- - "~>"
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '3.3'
|
30
|
+
- - ">="
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: 3.2
|
32
|
+
version: 3.3.2
|
27
33
|
description: twitter-bootswatch-rails-helpers gem provides common view helpers for
|
28
34
|
use with the twitter-bootswatch-rails & less-rails gems
|
29
35
|
email:
|
@@ -32,10 +38,10 @@ executables: []
|
|
32
38
|
extensions: []
|
33
39
|
extra_rdoc_files: []
|
34
40
|
files:
|
35
|
-
- .gitignore
|
36
|
-
- .ruby-gemset
|
37
|
-
- .ruby-version
|
38
|
-
- .travis.yml
|
41
|
+
- ".gitignore"
|
42
|
+
- ".ruby-gemset"
|
43
|
+
- ".ruby-version"
|
44
|
+
- ".travis.yml"
|
39
45
|
- Gemfile
|
40
46
|
- LICENSE.txt
|
41
47
|
- README.md
|
@@ -60,17 +66,17 @@ require_paths:
|
|
60
66
|
- lib
|
61
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
62
68
|
requirements:
|
63
|
-
- -
|
69
|
+
- - ">="
|
64
70
|
- !ruby/object:Gem::Version
|
65
71
|
version: 1.9.3
|
66
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
73
|
requirements:
|
68
|
-
- -
|
74
|
+
- - ">="
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: 1.8.11
|
71
77
|
requirements: []
|
72
78
|
rubyforge_project:
|
73
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.4.1
|
74
80
|
signing_key:
|
75
81
|
specification_version: 4
|
76
82
|
summary: Bootswatch Rails Helpers gem for use with the twitter-bootswatch-rails &
|