RubyApp 0.0.58 → 0.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- RubyApp (0.0.58)
4
+ RubyApp (0.0.59)
5
5
  BlueCloth
6
6
  chronic
7
7
  chronic_duration
@@ -31,7 +31,7 @@ GEM
31
31
  rack-test (>= 0.5.4)
32
32
  selenium-webdriver (~> 2.0)
33
33
  xpath (~> 0.1.4)
34
- childprocess (0.2.6)
34
+ childprocess (0.2.8)
35
35
  ffi (~> 1.0.6)
36
36
  chronic (0.6.6)
37
37
  chronic_duration (0.9.6)
@@ -5,10 +5,10 @@ Feature: Input elements
5
5
  When I click "InputTestPage"
6
6
  Then I should see "Input"
7
7
  And I fill in the "Input" field with "value" and I change focus
8
- Then I should see "You input 'value'."
8
+ Then I should see "You input 'value'"
9
9
  When I click "Close"
10
10
  And I fill in the "Input" field with "" and I change focus
11
- Then I should see "You input '(nil)'."
11
+ Then I should see "You input '(nil)'"
12
12
  Then I click "Close"
13
13
  Then I quit
14
14
 
@@ -17,7 +17,7 @@ Feature: Input elements
17
17
  When I click "InputTestPage"
18
18
  Then I should see "DurationInput"
19
19
  When I fill in the "DurationInput" field with "2h 3m" and I change focus
20
- Then I should see "You input '7,380'."
20
+ Then I should see "You input '7,380'"
21
21
  When I click "Close"
22
22
  Then the "DurationInput" field should contain "2 hrs 3 mins"
23
23
  Then I quit
@@ -27,10 +27,10 @@ Feature: Input elements
27
27
  When I click "InputTestPage"
28
28
  Then I should see "MultilineInput"
29
29
  And I fill in the "MultilineInput" field with "value" and I change focus
30
- Then I should see "You input 'value'."
30
+ Then I should see "You input 'value'"
31
31
  When I click "Close"
32
32
  And I fill in the "MultilineInput" field with "" and I change focus
33
- Then I should see "You input '(nil)'."
33
+ Then I should see "You input '(nil)'"
34
34
  Then I click "Close"
35
35
  Then I quit
36
36
 
@@ -39,9 +39,20 @@ Feature: Input elements
39
39
  When I click "InputTestPage"
40
40
  Then I should see "EmailInput"
41
41
  And I fill in the "EmailInput" field with "value" and I change focus
42
- Then I should see "You input 'value'."
42
+ Then I should see "You input 'value'"
43
43
  When I click "Close"
44
44
  And I fill in the "EmailInput" field with "" and I change focus
45
- Then I should see "You input '(nil)'."
45
+ Then I should see "You input '(nil)'"
46
46
  Then I click "Close"
47
47
  Then I quit
48
+
49
+ Scenario: Render a toggle input element and process its event
50
+ Given I go to the test pages
51
+ When I click "InputTestPage"
52
+ Then I should see "ToggleInput"
53
+ And the "ToggleInput" field should be unchecked
54
+ When I check the "ToggleInput" field
55
+ Then I should see "You input 'true'"
56
+ When I click "Close"
57
+ And I uncheck the "ToggleInput" field
58
+ Then I should see "You input 'false'"
@@ -29,6 +29,22 @@ Then /^the "([^\"]*)" field should contain "([^\"]*)"$/ do |field, value|
29
29
  field_labeled(field).value.should =~ /#{value}/
30
30
  end
31
31
 
32
+ When /^I (un)?check the "([^"]*)" field?$/ do |uncheck, field|
33
+ unless uncheck
34
+ check(field)
35
+ else
36
+ uncheck(field)
37
+ end
38
+ end
39
+
40
+ Then /^the "([^\"]*)" field should be (un)?checked$/ do |field, unchecked|
41
+ unless unchecked
42
+ page.should have_checked_field(field)
43
+ else
44
+ page.should_not have_checked_field(field)
45
+ end
46
+ end
47
+
32
48
  Then /^show me the page$/ do
33
49
  save_and_open_page
34
50
  end
@@ -43,11 +43,11 @@ module RubyApp
43
43
  _options.translations_paths = [File.join(RubyApp::ROOT, %w[translations])] + ( _options.translations_paths.is_a?(Array) ? _options.translations_paths : [_options.translations_paths] )
44
44
  @@_application = _options.application_class.new(_options)
45
45
  @@_application.start!
46
- RubyApp::Log.debug("#{self}##{__method__} options=#{_options.inspect}")
46
+ RubyApp::Log.debug("#{self}.#{__method__} options=#{_options.inspect}")
47
47
  end
48
48
 
49
49
  def self.destroy!
50
- RubyApp::Log.debug("#{self}##{__method__}")
50
+ RubyApp::Log.debug("#{self}.#{__method__}")
51
51
  @@_application.stop!
52
52
  @@_application = nil
53
53
  end
@@ -17,11 +17,11 @@ module RubyApp
17
17
 
18
18
  def self.load!
19
19
  @@_configuration = RubyApp::Configuration.new(RubyApp::Application.options.configuration_paths)
20
- RubyApp::Log.debug("#{self}##{__method__} paths=#{RubyApp::Application.options.configuration_paths.inspect}")
20
+ RubyApp::Log.debug("#{self}.#{__method__} paths=#{RubyApp::Application.options.configuration_paths.inspect}")
21
21
  end
22
22
 
23
23
  def self.unload!
24
- RubyApp::Log.debug("#{self}##{__method__}")
24
+ RubyApp::Log.debug("#{self}.#{__method__}")
25
25
  @@_configuration = nil
26
26
  end
27
27
 
@@ -2,7 +2,7 @@
2
2
  :plain
3
3
  // #{__FILE__}
4
4
  $(document).ready(function() {
5
- $('input').live('change', function(event) {
5
+ $('input[type="text"]').live('change', function(event) {
6
6
  event.preventDefault();
7
7
  RubyApp.queueEvent({_class:'RubyApp::Elements::Input::ChangedEvent', source_id:$(this).attr('id'), value:$(this).val()}, true);
8
8
  });
@@ -0,0 +1,10 @@
1
+ - self.rendered?(__FILE__) do
2
+ :plain
3
+ // #{__FILE__}
4
+ $(document).ready(function() {
5
+ $('input[type="email"]').live('change', function(event) {
6
+ event.preventDefault();
7
+ RubyApp.queueEvent({_class:'RubyApp::Elements::Inputs::EmailInput::ChangedEvent', source_id:$(this).attr('id'), value:$(this).val()}, true);
8
+ });
9
+ });
10
+ = yield
@@ -9,7 +9,7 @@ module RubyApp
9
9
 
10
10
  template_path(:all, File.dirname(__FILE__))
11
11
 
12
- exclude_parent_template(:html)
12
+ exclude_parent_template(:html, :js)
13
13
 
14
14
  def initialize
15
15
  super
@@ -0,0 +1,3 @@
1
+ /
2
+ #{__FILE__}
3
+ %input{attributes.merge(:type => :checkbox, :checked => self.value)}
@@ -0,0 +1,10 @@
1
+ - self.rendered?(__FILE__) do
2
+ :plain
3
+ // #{__FILE__}
4
+ $(document).ready(function() {
5
+ $('input[type="checkbox"]').live('change', function(event) {
6
+ event.preventDefault();
7
+ RubyApp.queueEvent({_class:'RubyApp::Elements::Inputs::ToggleInput::ChangedEvent', source_id:$(this).attr('id'), value:this.checked}, true);
8
+ });
9
+ });
10
+ = yield
@@ -0,0 +1,31 @@
1
+ module RubyApp
2
+
3
+ module Elements
4
+
5
+ module Inputs
6
+ require 'ruby_app/elements/input'
7
+
8
+ class ToggleInput < RubyApp::Elements::Input
9
+
10
+ template_path(:all, File.dirname(__FILE__))
11
+
12
+ exclude_parent_template(:html, :js)
13
+
14
+ def initialize
15
+ super
16
+ end
17
+
18
+ protected
19
+
20
+ def on_changed(event)
21
+ @value = event.value =~ /(true|t|yes|y|on)/ ? true : false
22
+ changed(event)
23
+ end
24
+
25
+ end
26
+
27
+ end
28
+
29
+ end
30
+
31
+ end
@@ -1,6 +1,8 @@
1
1
  = RubyApp::Elements::Dialogs::MessageDialog.render(:css)
2
2
  = RubyApp::Elements::Input.render(:css)
3
3
  = RubyApp::Elements::Inputs::DurationInput.render(:css)
4
+ = RubyApp::Elements::Inputs::EmailInput.render(:css)
4
5
  = RubyApp::Elements::Inputs::MultilineInput.render(:css)
6
+ = RubyApp::Elements::Inputs::ToggleInput.render(:css)
5
7
  = RubyApp::Elements::Markdown.render(:css)
6
8
  = yield
@@ -18,3 +18,7 @@
18
18
  %label{:for => @email_input.element_id}
19
19
  = self.translate.label.email_input
20
20
  = @email_input.render(:html)
21
+ %br
22
+ %label{:for => @toggle_input.element_id}
23
+ = self.translate.label.toggle_input
24
+ = @toggle_input.render(:html)
@@ -1,6 +1,8 @@
1
1
  = RubyApp::Elements::Dialogs::MessageDialog.render(:js)
2
2
  = RubyApp::Elements::Input.render(:js)
3
3
  = RubyApp::Elements::Inputs::DurationInput.render(:js)
4
+ = RubyApp::Elements::Inputs::EmailInput.render(:js)
4
5
  = RubyApp::Elements::Inputs::MultilineInput.render(:js)
6
+ = RubyApp::Elements::Inputs::ToggleInput.render(:js)
5
7
  = RubyApp::Elements::Markdown.render(:js)
6
8
  = yield
@@ -11,6 +11,7 @@ module RubyApp
11
11
  require 'ruby_app/elements/inputs/duration_input'
12
12
  require 'ruby_app/elements/inputs/email_input'
13
13
  require 'ruby_app/elements/inputs/multiline_input'
14
+ require 'ruby_app/elements/inputs/toggle_input'
14
15
  require 'ruby_app/elements/pages/blank_page'
15
16
  require 'ruby_app/session'
16
17
 
@@ -26,25 +27,31 @@ module RubyApp
26
27
  @input = RubyApp::Elements::Input.new
27
28
  @input.changed do |element, event|
28
29
  RubyApp::Session.show_dialog(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
29
- self.translate.message_dialog.message.message(@input.value || '(nil)')))
30
+ self.translate.message_dialog.message.message(@input.value || '(nil)', @input.value.class)))
30
31
  end
31
32
 
32
33
  @duration_input = RubyApp::Elements::Inputs::DurationInput.new
33
34
  @duration_input.changed do |element, event|
34
35
  RubyApp::Session.show_dialog(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
35
- self.translate.message_dialog.message.message(@duration_input.duration || '(nil)')))
36
+ self.translate.message_dialog.message.message(@duration_input.duration || '(nil)', @duration_input.value.class)))
36
37
  end
37
38
 
38
39
  @multiline_input = RubyApp::Elements::Inputs::MultilineInput.new
39
40
  @multiline_input.changed do |element, event|
40
41
  RubyApp::Session.show_dialog(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
41
- self.translate.message_dialog.message.message(@multiline_input.value || '(nil)')))
42
+ self.translate.message_dialog.message.message(@multiline_input.value || '(nil)', @multiline_input.value.class)))
42
43
  end
43
44
 
44
45
  @email_input = RubyApp::Elements::Inputs::EmailInput.new
45
46
  @email_input.changed do |element, event|
46
47
  RubyApp::Session.show_dialog(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
47
- self.translate.message_dialog.message.message(@email_input.value || '(nil)')))
48
+ self.translate.message_dialog.message.message(@email_input.value || '(nil)', @email_input.value.class)))
49
+ end
50
+
51
+ @toggle_input = RubyApp::Elements::Inputs::ToggleInput.new
52
+ @toggle_input.changed do |element, event|
53
+ RubyApp::Session.show_dialog(event, RubyApp::Elements::Dialogs::MessageDialog.new(self.translate.message_dialog.message.title,
54
+ self.translate.message_dialog.message.message(@toggle_input.value, @toggle_input.value.class)))
48
55
  end
49
56
 
50
57
  end
data/lib/ruby_app/log.rb CHANGED
@@ -33,11 +33,11 @@ module RubyApp
33
33
  directory = File.dirname(path)
34
34
  Dir.mkdir(directory) unless File.exists?(directory)
35
35
  @@_log = RubyApp::Log.new(path)
36
- @@_log.debug("#{self}##{__method__} path=#{path.inspect}")
36
+ @@_log.debug("#{self}.#{__method__} path=#{path.inspect}")
37
37
  end
38
38
 
39
39
  def self.close!
40
- @@_log.debug("#{self}##{__method__}")
40
+ @@_log.debug("#{self}.#{__method__}")
41
41
  @@_log.close if @@_log
42
42
  @@_log = nil
43
43
  end
@@ -62,7 +62,7 @@ module RubyApp
62
62
  200,
63
63
  { 'content-type' => RubyApp::Rack::Route.get_content_type(format) },
64
64
  [
65
- RubyApp::Log.duration("#{self}##{__method__} method=#{method.inspect} path=#{path.inspect} format=#{format.to_sym.inspect}") do
65
+ RubyApp::Log.duration("#{self}.#{__method__} method=#{method.inspect} path=#{path.inspect} format=#{format.to_sym.inspect}") do
66
66
  RubyApp::Session.pages.last.render(format.to_sym)
67
67
  end
68
68
  ]
@@ -124,10 +124,11 @@ ruby_app:
124
124
  duration_input: DurationInput
125
125
  email_input: EmailInput
126
126
  multiline_input: MultilineInput
127
+ toggle_input: ToggleInput
127
128
  message_dialog:
128
129
  message:
129
130
  title: Input Test
130
- message: You input '%1'.
131
+ message: You input '%1' of type %2.
131
132
  link_test_page:
132
133
  title: Link Test Page
133
134
  content:
@@ -1,4 +1,4 @@
1
1
  module RubyApp
2
- VERSION = "0.0.58"
2
+ VERSION = "0.0.59"
3
3
  ROOT = File.expand_path(File.dirname(__FILE__))
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: RubyApp
3
3
  version: !ruby/object:Gem::Version
4
- hash: 107
4
+ hash: 105
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 58
10
- version: 0.0.58
9
+ - 59
10
+ version: 0.0.59
11
11
  platform: ruby
12
12
  authors:
13
13
  - Frank G. Ficnar
@@ -15,11 +15,9 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-09 00:00:00 Z
18
+ date: 2012-01-10 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
- prerelease: false
22
- name: BlueCloth
23
21
  version_requirements: &id001 !ruby/object:Gem::Requirement
24
22
  none: false
25
23
  requirements:
@@ -29,11 +27,11 @@ dependencies:
29
27
  segments:
30
28
  - 0
31
29
  version: "0"
32
- type: :runtime
33
30
  requirement: *id001
34
- - !ruby/object:Gem::Dependency
31
+ type: :runtime
35
32
  prerelease: false
36
- name: chronic
33
+ name: BlueCloth
34
+ - !ruby/object:Gem::Dependency
37
35
  version_requirements: &id002 !ruby/object:Gem::Requirement
38
36
  none: false
39
37
  requirements:
@@ -43,11 +41,11 @@ dependencies:
43
41
  segments:
44
42
  - 0
45
43
  version: "0"
46
- type: :runtime
47
44
  requirement: *id002
48
- - !ruby/object:Gem::Dependency
45
+ type: :runtime
49
46
  prerelease: false
50
- name: chronic_duration
47
+ name: chronic
48
+ - !ruby/object:Gem::Dependency
51
49
  version_requirements: &id003 !ruby/object:Gem::Requirement
52
50
  none: false
53
51
  requirements:
@@ -57,11 +55,11 @@ dependencies:
57
55
  segments:
58
56
  - 0
59
57
  version: "0"
60
- type: :runtime
61
58
  requirement: *id003
62
- - !ruby/object:Gem::Dependency
59
+ type: :runtime
63
60
  prerelease: false
64
- name: facets
61
+ name: chronic_duration
62
+ - !ruby/object:Gem::Dependency
65
63
  version_requirements: &id004 !ruby/object:Gem::Requirement
66
64
  none: false
67
65
  requirements:
@@ -71,11 +69,11 @@ dependencies:
71
69
  segments:
72
70
  - 0
73
71
  version: "0"
74
- type: :runtime
75
72
  requirement: *id004
76
- - !ruby/object:Gem::Dependency
73
+ type: :runtime
77
74
  prerelease: false
78
- name: fileutils
75
+ name: facets
76
+ - !ruby/object:Gem::Dependency
79
77
  version_requirements: &id005 !ruby/object:Gem::Requirement
80
78
  none: false
81
79
  requirements:
@@ -85,11 +83,11 @@ dependencies:
85
83
  segments:
86
84
  - 0
87
85
  version: "0"
88
- type: :runtime
89
86
  requirement: *id005
90
- - !ruby/object:Gem::Dependency
87
+ type: :runtime
91
88
  prerelease: false
92
- name: haml
89
+ name: fileutils
90
+ - !ruby/object:Gem::Dependency
93
91
  version_requirements: &id006 !ruby/object:Gem::Requirement
94
92
  none: false
95
93
  requirements:
@@ -99,11 +97,11 @@ dependencies:
99
97
  segments:
100
98
  - 0
101
99
  version: "0"
102
- type: :runtime
103
100
  requirement: *id006
104
- - !ruby/object:Gem::Dependency
101
+ type: :runtime
105
102
  prerelease: false
106
- name: json
103
+ name: haml
104
+ - !ruby/object:Gem::Dependency
107
105
  version_requirements: &id007 !ruby/object:Gem::Requirement
108
106
  none: false
109
107
  requirements:
@@ -113,11 +111,11 @@ dependencies:
113
111
  segments:
114
112
  - 0
115
113
  version: "0"
116
- type: :runtime
117
114
  requirement: *id007
118
- - !ruby/object:Gem::Dependency
115
+ type: :runtime
119
116
  prerelease: false
120
- name: mime-types
117
+ name: json
118
+ - !ruby/object:Gem::Dependency
121
119
  version_requirements: &id008 !ruby/object:Gem::Requirement
122
120
  none: false
123
121
  requirements:
@@ -127,11 +125,11 @@ dependencies:
127
125
  segments:
128
126
  - 0
129
127
  version: "0"
130
- type: :runtime
131
128
  requirement: *id008
132
- - !ruby/object:Gem::Dependency
129
+ type: :runtime
133
130
  prerelease: false
134
- name: r18n-core
131
+ name: mime-types
132
+ - !ruby/object:Gem::Dependency
135
133
  version_requirements: &id009 !ruby/object:Gem::Requirement
136
134
  none: false
137
135
  requirements:
@@ -141,11 +139,11 @@ dependencies:
141
139
  segments:
142
140
  - 0
143
141
  version: "0"
144
- type: :runtime
145
142
  requirement: *id009
146
- - !ruby/object:Gem::Dependency
143
+ type: :runtime
147
144
  prerelease: false
148
- name: rack
145
+ name: r18n-core
146
+ - !ruby/object:Gem::Dependency
149
147
  version_requirements: &id010 !ruby/object:Gem::Requirement
150
148
  none: false
151
149
  requirements:
@@ -155,11 +153,11 @@ dependencies:
155
153
  segments:
156
154
  - 0
157
155
  version: "0"
158
- type: :runtime
159
156
  requirement: *id010
160
- - !ruby/object:Gem::Dependency
157
+ type: :runtime
161
158
  prerelease: false
162
- name: ruby-event
159
+ name: rack
160
+ - !ruby/object:Gem::Dependency
163
161
  version_requirements: &id011 !ruby/object:Gem::Requirement
164
162
  none: false
165
163
  requirements:
@@ -169,11 +167,11 @@ dependencies:
169
167
  segments:
170
168
  - 0
171
169
  version: "0"
172
- type: :runtime
173
170
  requirement: *id011
174
- - !ruby/object:Gem::Dependency
171
+ type: :runtime
175
172
  prerelease: false
176
- name: ruby-openid
173
+ name: ruby-event
174
+ - !ruby/object:Gem::Dependency
177
175
  version_requirements: &id012 !ruby/object:Gem::Requirement
178
176
  none: false
179
177
  requirements:
@@ -183,11 +181,11 @@ dependencies:
183
181
  segments:
184
182
  - 0
185
183
  version: "0"
186
- type: :runtime
187
184
  requirement: *id012
188
- - !ruby/object:Gem::Dependency
185
+ type: :runtime
189
186
  prerelease: false
190
- name: sass
187
+ name: ruby-openid
188
+ - !ruby/object:Gem::Dependency
191
189
  version_requirements: &id013 !ruby/object:Gem::Requirement
192
190
  none: false
193
191
  requirements:
@@ -197,11 +195,11 @@ dependencies:
197
195
  segments:
198
196
  - 0
199
197
  version: "0"
200
- type: :runtime
201
198
  requirement: *id013
202
- - !ruby/object:Gem::Dependency
199
+ type: :runtime
203
200
  prerelease: false
204
- name: term-ansicolor
201
+ name: sass
202
+ - !ruby/object:Gem::Dependency
205
203
  version_requirements: &id014 !ruby/object:Gem::Requirement
206
204
  none: false
207
205
  requirements:
@@ -211,11 +209,11 @@ dependencies:
211
209
  segments:
212
210
  - 0
213
211
  version: "0"
214
- type: :runtime
215
212
  requirement: *id014
216
- - !ruby/object:Gem::Dependency
213
+ type: :runtime
217
214
  prerelease: false
218
- name: yajl-ruby
215
+ name: term-ansicolor
216
+ - !ruby/object:Gem::Dependency
219
217
  version_requirements: &id015 !ruby/object:Gem::Requirement
220
218
  none: false
221
219
  requirements:
@@ -225,11 +223,11 @@ dependencies:
225
223
  segments:
226
224
  - 0
227
225
  version: "0"
228
- type: :runtime
229
226
  requirement: *id015
230
- - !ruby/object:Gem::Dependency
227
+ type: :runtime
231
228
  prerelease: false
232
- name: capybara
229
+ name: yajl-ruby
230
+ - !ruby/object:Gem::Dependency
233
231
  version_requirements: &id016 !ruby/object:Gem::Requirement
234
232
  none: false
235
233
  requirements:
@@ -239,11 +237,11 @@ dependencies:
239
237
  segments:
240
238
  - 0
241
239
  version: "0"
242
- type: :development
243
240
  requirement: *id016
244
- - !ruby/object:Gem::Dependency
241
+ type: :development
245
242
  prerelease: false
246
- name: cucumber
243
+ name: capybara
244
+ - !ruby/object:Gem::Dependency
247
245
  version_requirements: &id017 !ruby/object:Gem::Requirement
248
246
  none: false
249
247
  requirements:
@@ -253,11 +251,11 @@ dependencies:
253
251
  segments:
254
252
  - 0
255
253
  version: "0"
256
- type: :development
257
254
  requirement: *id017
258
- - !ruby/object:Gem::Dependency
255
+ type: :development
259
256
  prerelease: false
260
- name: launchy
257
+ name: cucumber
258
+ - !ruby/object:Gem::Dependency
261
259
  version_requirements: &id018 !ruby/object:Gem::Requirement
262
260
  none: false
263
261
  requirements:
@@ -267,11 +265,11 @@ dependencies:
267
265
  segments:
268
266
  - 0
269
267
  version: "0"
270
- type: :development
271
268
  requirement: *id018
272
- - !ruby/object:Gem::Dependency
269
+ type: :development
273
270
  prerelease: false
274
- name: rake
271
+ name: launchy
272
+ - !ruby/object:Gem::Dependency
275
273
  version_requirements: &id019 !ruby/object:Gem::Requirement
276
274
  none: false
277
275
  requirements:
@@ -281,11 +279,11 @@ dependencies:
281
279
  segments:
282
280
  - 0
283
281
  version: "0"
284
- type: :development
285
282
  requirement: *id019
286
- - !ruby/object:Gem::Dependency
283
+ type: :development
287
284
  prerelease: false
288
- name: rspec
285
+ name: rake
286
+ - !ruby/object:Gem::Dependency
289
287
  version_requirements: &id020 !ruby/object:Gem::Requirement
290
288
  none: false
291
289
  requirements:
@@ -295,11 +293,11 @@ dependencies:
295
293
  segments:
296
294
  - 0
297
295
  version: "0"
298
- type: :development
299
296
  requirement: *id020
300
- - !ruby/object:Gem::Dependency
297
+ type: :development
301
298
  prerelease: false
302
- name: rspec-mocks
299
+ name: rspec
300
+ - !ruby/object:Gem::Dependency
303
301
  version_requirements: &id021 !ruby/object:Gem::Requirement
304
302
  none: false
305
303
  requirements:
@@ -309,11 +307,11 @@ dependencies:
309
307
  segments:
310
308
  - 0
311
309
  version: "0"
312
- type: :development
313
310
  requirement: *id021
314
- - !ruby/object:Gem::Dependency
311
+ type: :development
315
312
  prerelease: false
316
- name: ya2yaml
313
+ name: rspec-mocks
314
+ - !ruby/object:Gem::Dependency
317
315
  version_requirements: &id022 !ruby/object:Gem::Requirement
318
316
  none: false
319
317
  requirements:
@@ -323,8 +321,10 @@ dependencies:
323
321
  segments:
324
322
  - 0
325
323
  version: "0"
326
- type: :development
327
324
  requirement: *id022
325
+ type: :development
326
+ prerelease: false
327
+ name: ya2yaml
328
328
  description: A web application framework in Ruby
329
329
  email:
330
330
  - frank.ficnar@gmail.com
@@ -407,10 +407,14 @@ files:
407
407
  - lib/ruby_app/elements/input.rb
408
408
  - lib/ruby_app/elements/inputs/duration_input.rb
409
409
  - lib/ruby_app/elements/inputs/email_input.html.haml
410
+ - lib/ruby_app/elements/inputs/email_input.js.haml
410
411
  - lib/ruby_app/elements/inputs/email_input.rb
411
412
  - lib/ruby_app/elements/inputs/multiline_input.html.haml
412
413
  - lib/ruby_app/elements/inputs/multiline_input.js.haml
413
414
  - lib/ruby_app/elements/inputs/multiline_input.rb
415
+ - lib/ruby_app/elements/inputs/toggle_input.html.haml
416
+ - lib/ruby_app/elements/inputs/toggle_input.js.haml
417
+ - lib/ruby_app/elements/inputs/toggle_input.rb
414
418
  - lib/ruby_app/elements/link.html.haml
415
419
  - lib/ruby_app/elements/link.rb
416
420
  - lib/ruby_app/elements/list.html.haml
@@ -613,7 +617,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
613
617
  requirements: []
614
618
 
615
619
  rubyforge_project:
616
- rubygems_version: 1.8.13
620
+ rubygems_version: 1.8.10
617
621
  signing_key:
618
622
  specification_version: 3
619
623
  summary: A web application framework in Ruby