iugu-ux 1.0.17 → 1.0.18

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MzliYjRmYjc3NmZlMGIwOTU2ZGUxYjQxZDhlMTBjZGVjYzRiZWEwZQ==
5
- data.tar.gz: !binary |-
6
- NDdiMTUxN2NiOGE2YzA1OTkyNWZiMjdjMjBlNzBjYjM3ZDZiOTBhYw==
2
+ SHA1:
3
+ metadata.gz: 444185314fc40cfd0a76a1f657acfdca3aff5c10
4
+ data.tar.gz: 2c1444d18278b7f13cde96012acbd0c69106cf40
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MjBlOGU0MWNhN2QxM2ZjNmRiMmFjYjVjMjg5MTkyZTgyNjdiMTFhNWI2YzMz
10
- MGEyZDA4ODJkNmU5MWNiYmQ0YmZlYTQxYTZjNTg2ZTBlMjc3MmZjZDVmODc0
11
- N2RhNzdkZDlmZWYxMmEzODlkMDMzN2U5Njg0NWFhOWYzODA3MWQ=
12
- data.tar.gz: !binary |-
13
- NDQ1MjE1M2ZjNzBkNzc0Y2VjNDVjOGQ4NTBiOGI5MWE5NGIxNDVmNDMxMzA4
14
- YmRlODk0MTA5ZmEwNTk4ZTEzZjNhMmM2YjA1MTA1MDZiMDBhMjYwOWRjZjRk
15
- MWQxYmU3NTFiOGVjYWVjYWJiN2I3NzRlMzQ4Y2YyNTE0M2YyNGE=
6
+ metadata.gz: e3bc687dd5e7a247fcdddba5bd99cc383316a7b2bc926400f16bf5ffba22e81737ef9257cac764c8a652176a92d2e9d6d60c909052d591fd036e4cb13e946f2e
7
+ data.tar.gz: 666236abeef95febed89131a557fc81017a31a0735a8a365909f97d3ee23f6af15b70d44e856765970f4acb3921052ba4d50fd3ef48fdf0dd3f21f3d91df2eca
@@ -1,3 +1,3 @@
1
1
  module IuguUX
2
- VERSION = "1.0.17"
2
+ VERSION = "1.0.18"
3
3
  end
@@ -24,12 +24,16 @@ class IuguUI.Dataset extends IuguUI.View
24
24
  layout: @options.itemLayout
25
25
  fields: @options.fields
26
26
  tagName: @options.itemTagName
27
- className: @options.itemClassName
27
+ className: @classForItem(item)
28
28
  identifier: @identifier() + "record"
29
29
  presenter: @options.recordPresenter
30
30
  parent: @
31
31
  ).render().el
32
32
 
33
+ classForItem: (item) ->
34
+ mod = @options.classModifier(item) if @options.classModifier
35
+ "#{@options.itemClassName} #{mod}"
36
+
33
37
  context: ->
34
38
  dataset: @collection
35
39
  options: @options
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iugu-ux
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Negri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-09-10 00:00:00.000000000 Z
11
+ date: 2015-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
@@ -42,154 +42,154 @@ dependencies:
42
42
  name: eco
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: haml
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: compass
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: bundler
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ! '>='
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
89
  version: 1.0.0
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ! '>='
94
+ - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: 1.0.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: sass-rails
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: haml-rails
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: compass-rails
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: jquery-rails
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ! '>='
143
+ - - ">="
144
144
  - !ruby/object:Gem::Version
145
145
  version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ! '>='
150
+ - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: railties
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '3.1'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '3.1'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rails
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ~>
171
+ - - "~>"
172
172
  - !ruby/object:Gem::Version
173
173
  version: 3.2.6
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ~>
178
+ - - "~>"
179
179
  - !ruby/object:Gem::Version
180
180
  version: 3.2.6
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: uglifier
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - ! '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
- - - ! '>='
192
+ - - ">="
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
195
  description: Iugu User Experience and Components for HTML5,CSS,JS
@@ -467,17 +467,17 @@ require_paths:
467
467
  - lib
468
468
  required_ruby_version: !ruby/object:Gem::Requirement
469
469
  requirements:
470
- - - ! '>='
470
+ - - ">="
471
471
  - !ruby/object:Gem::Version
472
472
  version: '0'
473
473
  required_rubygems_version: !ruby/object:Gem::Requirement
474
474
  requirements:
475
- - - ! '>='
475
+ - - ">="
476
476
  - !ruby/object:Gem::Version
477
477
  version: '0'
478
478
  requirements: []
479
479
  rubyforge_project: iugu-ux
480
- rubygems_version: 2.2.2
480
+ rubygems_version: 2.4.3
481
481
  signing_key:
482
482
  specification_version: 4
483
483
  summary: Iugu UX Library