toolsmith 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
|
|
1
1
|
module Toolsmith
|
2
2
|
module ViewHelpers
|
3
3
|
module BootstrapHelpers
|
4
|
-
FLASH_LEVELS = [:success, :error, :notice]
|
4
|
+
FLASH_LEVELS = [:success, :error, :notice, :alert]
|
5
5
|
|
6
6
|
def form_actions(&block)
|
7
7
|
content_tag(:div, class: "form-actions", &block)
|
@@ -16,4 +16,4 @@ module Toolsmith
|
|
16
16
|
end
|
17
17
|
end
|
18
18
|
end
|
19
|
-
end
|
19
|
+
end
|
data/lib/toolsmith/version.rb
CHANGED
@@ -2,8 +2,9 @@ module Toolsmith
|
|
2
2
|
module Views
|
3
3
|
class FlashDiv < Base
|
4
4
|
LEVEL_MAPPING = {
|
5
|
-
error: :error,
|
6
|
-
|
5
|
+
error: :error,
|
6
|
+
alert: :error,
|
7
|
+
success: :success,
|
7
8
|
notice: :info
|
8
9
|
}
|
9
10
|
|
@@ -48,4 +49,4 @@ module Toolsmith
|
|
48
49
|
end
|
49
50
|
end
|
50
51
|
end
|
51
|
-
end
|
52
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toolsmith
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.15
|
5
4
|
prerelease:
|
5
|
+
version: 0.0.16
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Robert Ross
|
@@ -10,11 +10,10 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-03-
|
13
|
+
date: 2013-03-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
-
|
17
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
@@ -23,9 +22,9 @@ dependencies:
|
|
23
22
|
- - <
|
24
23
|
- !ruby/object:Gem::Version
|
25
24
|
version: '4.1'
|
26
|
-
|
25
|
+
name: rails
|
27
26
|
prerelease: false
|
28
|
-
|
27
|
+
requirement: !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ! '>='
|
@@ -34,8 +33,16 @@ dependencies:
|
|
34
33
|
- - <
|
35
34
|
- !ruby/object:Gem::Version
|
36
35
|
version: '4.1'
|
36
|
+
type: :runtime
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
+
version_requirements: !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.0.3
|
38
44
|
name: compass-rails
|
45
|
+
prerelease: false
|
39
46
|
requirement: !ruby/object:Gem::Requirement
|
40
47
|
none: false
|
41
48
|
requirements:
|
@@ -43,15 +50,15 @@ dependencies:
|
|
43
50
|
- !ruby/object:Gem::Version
|
44
51
|
version: 1.0.3
|
45
52
|
type: :runtime
|
46
|
-
|
53
|
+
- !ruby/object:Gem::Dependency
|
47
54
|
version_requirements: !ruby/object:Gem::Requirement
|
48
55
|
none: false
|
49
56
|
requirements:
|
50
57
|
- - ~>
|
51
58
|
- !ruby/object:Gem::Version
|
52
|
-
version:
|
53
|
-
- !ruby/object:Gem::Dependency
|
59
|
+
version: 2.2.2.0
|
54
60
|
name: bootstrap-sass
|
61
|
+
prerelease: false
|
55
62
|
requirement: !ruby/object:Gem::Requirement
|
56
63
|
none: false
|
57
64
|
requirements:
|
@@ -59,15 +66,15 @@ dependencies:
|
|
59
66
|
- !ruby/object:Gem::Version
|
60
67
|
version: 2.2.2.0
|
61
68
|
type: :runtime
|
62
|
-
|
69
|
+
- !ruby/object:Gem::Dependency
|
63
70
|
version_requirements: !ruby/object:Gem::Requirement
|
64
71
|
none: false
|
65
72
|
requirements:
|
66
73
|
- - ~>
|
67
74
|
- !ruby/object:Gem::Version
|
68
|
-
version: 2.
|
69
|
-
- !ruby/object:Gem::Dependency
|
75
|
+
version: 2.11.0
|
70
76
|
name: rspec-rails
|
77
|
+
prerelease: false
|
71
78
|
requirement: !ruby/object:Gem::Requirement
|
72
79
|
none: false
|
73
80
|
requirements:
|
@@ -75,15 +82,15 @@ dependencies:
|
|
75
82
|
- !ruby/object:Gem::Version
|
76
83
|
version: 2.11.0
|
77
84
|
type: :development
|
78
|
-
|
85
|
+
- !ruby/object:Gem::Dependency
|
79
86
|
version_requirements: !ruby/object:Gem::Requirement
|
80
87
|
none: false
|
81
88
|
requirements:
|
82
89
|
- - ~>
|
83
90
|
- !ruby/object:Gem::Version
|
84
|
-
version: 2.
|
85
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version: 2.3.3
|
86
92
|
name: guard-rspec
|
93
|
+
prerelease: false
|
87
94
|
requirement: !ruby/object:Gem::Requirement
|
88
95
|
none: false
|
89
96
|
requirements:
|
@@ -91,15 +98,15 @@ dependencies:
|
|
91
98
|
- !ruby/object:Gem::Version
|
92
99
|
version: 2.3.3
|
93
100
|
type: :development
|
94
|
-
|
101
|
+
- !ruby/object:Gem::Dependency
|
95
102
|
version_requirements: !ruby/object:Gem::Requirement
|
96
103
|
none: false
|
97
104
|
requirements:
|
98
105
|
- - ~>
|
99
106
|
- !ruby/object:Gem::Version
|
100
|
-
version:
|
101
|
-
- !ruby/object:Gem::Dependency
|
107
|
+
version: 0.9.1
|
102
108
|
name: rb-fsevent
|
109
|
+
prerelease: false
|
103
110
|
requirement: !ruby/object:Gem::Requirement
|
104
111
|
none: false
|
105
112
|
requirements:
|
@@ -107,15 +114,15 @@ dependencies:
|
|
107
114
|
- !ruby/object:Gem::Version
|
108
115
|
version: 0.9.1
|
109
116
|
type: :development
|
110
|
-
|
117
|
+
- !ruby/object:Gem::Dependency
|
111
118
|
version_requirements: !ruby/object:Gem::Requirement
|
112
119
|
none: false
|
113
120
|
requirements:
|
114
121
|
- - ~>
|
115
122
|
- !ruby/object:Gem::Version
|
116
|
-
version:
|
117
|
-
- !ruby/object:Gem::Dependency
|
123
|
+
version: 1.5.6
|
118
124
|
name: nokogiri
|
125
|
+
prerelease: false
|
119
126
|
requirement: !ruby/object:Gem::Requirement
|
120
127
|
none: false
|
121
128
|
requirements:
|
@@ -123,29 +130,22 @@ dependencies:
|
|
123
130
|
- !ruby/object:Gem::Version
|
124
131
|
version: 1.5.6
|
125
132
|
type: :development
|
126
|
-
prerelease: false
|
127
|
-
version_requirements: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
|
-
requirements:
|
130
|
-
- - ~>
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 1.5.6
|
133
133
|
- !ruby/object:Gem::Dependency
|
134
|
-
|
135
|
-
requirement: !ruby/object:Gem::Requirement
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
136
135
|
none: false
|
137
136
|
requirements:
|
138
137
|
- - ! '>='
|
139
138
|
- !ruby/object:Gem::Version
|
140
139
|
version: '0'
|
141
|
-
|
140
|
+
name: awesome_print
|
142
141
|
prerelease: false
|
143
|
-
|
142
|
+
requirement: !ruby/object:Gem::Requirement
|
144
143
|
none: false
|
145
144
|
requirements:
|
146
145
|
- - ! '>='
|
147
146
|
- !ruby/object:Gem::Version
|
148
147
|
version: '0'
|
148
|
+
type: :development
|
149
149
|
description: Toolsmith provides common helpers for UI components and styles.
|
150
150
|
email:
|
151
151
|
- bobby@gophilosophie.com
|
@@ -188,18 +188,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
188
188
|
requirements:
|
189
189
|
- - ! '>='
|
190
190
|
- !ruby/object:Gem::Version
|
191
|
+
segments:
|
192
|
+
- 0
|
193
|
+
hash: 1160224894924154974
|
191
194
|
version: '0'
|
192
195
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
193
196
|
none: false
|
194
197
|
requirements:
|
195
198
|
- - ! '>='
|
196
199
|
- !ruby/object:Gem::Version
|
200
|
+
segments:
|
201
|
+
- 0
|
202
|
+
hash: 1160224894924154974
|
197
203
|
version: '0'
|
198
204
|
requirements: []
|
199
205
|
rubyforge_project:
|
200
|
-
rubygems_version: 1.8.
|
206
|
+
rubygems_version: 1.8.25
|
201
207
|
signing_key:
|
202
208
|
specification_version: 3
|
203
209
|
summary: A gem to craft UI's easily.
|
204
210
|
test_files: []
|
205
|
-
has_rdoc:
|