larynx 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.rdoc +5 -5
  2. data/Rakefile +4 -4
  3. data/lib/larynx/version.rb +1 -1
  4. metadata +22 -9
data/README.rdoc CHANGED
@@ -216,23 +216,23 @@ Lets look at a simple Form class with empty callbacks in place.
216
216
  prompt :speak => 'Please enter a value.'
217
217
 
218
218
  setup do
219
- # run once when the field is starts
219
+ # Run once when the field is starts.
220
220
  end
221
221
 
222
222
  validate do
223
- # run when the input is of a valid length
223
+ # Run when the input is of a valid length. Return true if valid.
224
224
  end
225
225
 
226
226
  invalid do
227
- # run when the input is not a valid length or the validate block returns false
227
+ # Run when the input is not a valid length or the validate block returns false.
228
228
  end
229
229
 
230
230
  success do
231
- # run when the input is a valid length the validate block, if defined, returns true
231
+ # Run when the input is a valid length and the validate block, if defined, returns true.
232
232
  end
233
233
 
234
234
  failure do
235
- # run when the maximum attempts has been reached and valid input has not been entered
235
+ # Run when the maximum attempts has been reached and valid input has not been entered.
236
236
  end
237
237
  end
238
238
  end
data/Rakefile CHANGED
@@ -25,10 +25,10 @@ spec = Gem::Specification.new do |s|
25
25
  s.require_path = 'lib'
26
26
  s.autorequire = GEM_NAME
27
27
  s.files = %w(MIT-LICENSE README.rdoc Rakefile) + Dir.glob("{lib,spec,examples}/**/*")
28
- s.add_dependency "eventmachine", ">= 0.12.10"
29
- s.add_dependency "active_support", ">= 2.3.5"
30
- s.add_development_dependency "rspec", ">= 1.3.0"
31
- s.add_development_dependency "em-spec", ">= 0.1.3"
28
+ s.add_dependency "eventmachine", "~> 0.12.10"
29
+ s.add_dependency "activesupport", "~> 2.3.5"
30
+ s.add_development_dependency "rspec", "~> 1.3.0"
31
+ s.add_development_dependency "em-spec", "~> 0.1.3"
32
32
  end
33
33
 
34
34
  desc 'Default: run specs.'
@@ -1,3 +1,3 @@
1
1
  module Larynx
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: larynx
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 19
4
5
  prerelease: false
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 3
9
- version: 0.1.3
9
+ - 4
10
+ version: 0.1.4
10
11
  platform: ruby
11
12
  authors:
12
13
  - Adam Meehan
@@ -14,16 +15,18 @@ autorequire: larynx
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-04-29 00:00:00 +10:00
18
+ date: 2010-08-26 00:00:00 +10:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
22
  name: eventmachine
22
23
  prerelease: false
23
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
24
26
  requirements:
25
- - - ">="
27
+ - - ~>
26
28
  - !ruby/object:Gem::Version
29
+ hash: 59
27
30
  segments:
28
31
  - 0
29
32
  - 12
@@ -32,12 +35,14 @@ dependencies:
32
35
  type: :runtime
33
36
  version_requirements: *id001
34
37
  - !ruby/object:Gem::Dependency
35
- name: active_support
38
+ name: activesupport
36
39
  prerelease: false
37
40
  requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
38
42
  requirements:
39
- - - ">="
43
+ - - ~>
40
44
  - !ruby/object:Gem::Version
45
+ hash: 9
41
46
  segments:
42
47
  - 2
43
48
  - 3
@@ -49,9 +54,11 @@ dependencies:
49
54
  name: rspec
50
55
  prerelease: false
51
56
  requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
52
58
  requirements:
53
- - - ">="
59
+ - - ~>
54
60
  - !ruby/object:Gem::Version
61
+ hash: 27
55
62
  segments:
56
63
  - 1
57
64
  - 3
@@ -63,9 +70,11 @@ dependencies:
63
70
  name: em-spec
64
71
  prerelease: false
65
72
  requirement: &id004 !ruby/object:Gem::Requirement
73
+ none: false
66
74
  requirements:
67
- - - ">="
75
+ - - ~>
68
76
  - !ruby/object:Gem::Version
77
+ hash: 29
69
78
  segments:
70
79
  - 0
71
80
  - 1
@@ -130,23 +139,27 @@ rdoc_options: []
130
139
  require_paths:
131
140
  - lib
132
141
  required_ruby_version: !ruby/object:Gem::Requirement
142
+ none: false
133
143
  requirements:
134
144
  - - ">="
135
145
  - !ruby/object:Gem::Version
146
+ hash: 3
136
147
  segments:
137
148
  - 0
138
149
  version: "0"
139
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
+ none: false
140
152
  requirements:
141
153
  - - ">="
142
154
  - !ruby/object:Gem::Version
155
+ hash: 3
143
156
  segments:
144
157
  - 0
145
158
  version: "0"
146
159
  requirements: []
147
160
 
148
161
  rubyforge_project: larynx
149
- rubygems_version: 1.3.6
162
+ rubygems_version: 1.3.7
150
163
  signing_key:
151
164
  specification_version: 3
152
165
  summary: An evented application framework for the FreeSWITCH telephony platform