ahn-rails 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -32,9 +32,9 @@ Feature: Adhearsion App Generator
32
32
  end
33
33
 
34
34
  config.logging :level => values['log_level'].to_sym
35
- config.automatically_answer_incoming_calls = values['automatically_answer_incoming_calls'] || true
36
- config.end_call_on_hangup = values['end_call_on_hangup'] || true
37
- config.end_call_on_error = values['end_call_on_error'] || true
35
+ config.automatically_answer_incoming_calls = values['automatically_answer_incoming_calls'] if values.has_key?('automatically_answer_incoming_calls')
36
+ config.end_call_on_hangup = values['end_call_on_hangup'] if values.has_key?('end_call_on_hangup')
37
+ config.end_call_on_error = values['end_call_on_error'] if values.has_key?('end_call_on_error')
38
38
 
39
39
  config.enable_asterisk :argument_delimiter => values['argument_delimiter'] || '|'
40
40
  config.asterisk.enable_ami values['ami']
@@ -1,3 +1,3 @@
1
1
  module AhnRails
2
- VERSION = "0.0.6"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -12,9 +12,9 @@ Adhearsion::Configuration.configure do |config|
12
12
  end
13
13
 
14
14
  config.logging :level => values['log_level'].to_sym
15
- config.automatically_answer_incoming_calls = values['automatically_answer_incoming_calls'] || true
16
- config.end_call_on_hangup = values['end_call_on_hangup'] || true
17
- config.end_call_on_error = values['end_call_on_error'] || true
15
+ config.automatically_answer_incoming_calls = values['automatically_answer_incoming_calls'] if values.has_key?('automatically_answer_incoming_calls')
16
+ config.end_call_on_hangup = values['end_call_on_hangup'] if values.has_key?('end_call_on_hangup')
17
+ config.end_call_on_error = values['end_call_on_error'] if values.has_key?('end_call_on_error')
18
18
 
19
19
  config.enable_asterisk :argument_delimiter => values['argument_delimiter'] || '|'
20
20
  config.asterisk.enable_ami values['ami']
metadata CHANGED
@@ -1,119 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ahn-rails
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 6
9
- version: 0.0.6
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - Ben Langfeld
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-05-28 00:00:00 +02:00
12
+ date: 2011-09-05 00:00:00.000000000 +01:00
18
13
  default_executable:
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
21
16
  name: adhearsion
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ requirement: &2157194360 !ruby/object:Gem::Requirement
24
18
  none: false
25
- requirements:
19
+ requirements:
26
20
  - - ~>
27
- - !ruby/object:Gem::Version
28
- segments:
29
- - 1
30
- - 0
31
- version: "1.0"
21
+ - !ruby/object:Gem::Version
22
+ version: '1.0'
32
23
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: rspec-rails
36
24
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
25
+ version_requirements: *2157194360
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec-rails
28
+ requirement: &2157193860 !ruby/object:Gem::Requirement
38
29
  none: false
39
- requirements:
30
+ requirements:
40
31
  - - ~>
41
- - !ruby/object:Gem::Version
42
- segments:
43
- - 2
44
- - 5
45
- - 0
32
+ - !ruby/object:Gem::Version
46
33
  version: 2.5.0
47
34
  type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: cucumber
51
35
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
36
+ version_requirements: *2157193860
37
+ - !ruby/object:Gem::Dependency
38
+ name: cucumber
39
+ requirement: &2157193400 !ruby/object:Gem::Requirement
53
40
  none: false
54
- requirements:
41
+ requirements:
55
42
  - - ~>
56
- - !ruby/object:Gem::Version
57
- segments:
58
- - 0
59
- - 10
60
- - 2
43
+ - !ruby/object:Gem::Version
61
44
  version: 0.10.2
62
45
  type: :development
63
- version_requirements: *id003
64
- - !ruby/object:Gem::Dependency
65
- name: aruba
66
46
  prerelease: false
67
- requirement: &id004 !ruby/object:Gem::Requirement
47
+ version_requirements: *2157193400
48
+ - !ruby/object:Gem::Dependency
49
+ name: aruba
50
+ requirement: &2157192940 !ruby/object:Gem::Requirement
68
51
  none: false
69
- requirements:
52
+ requirements:
70
53
  - - ~>
71
- - !ruby/object:Gem::Version
72
- segments:
73
- - 0
74
- - 3
75
- - 5
54
+ - !ruby/object:Gem::Version
76
55
  version: 0.3.5
77
56
  type: :development
78
- version_requirements: *id004
79
- - !ruby/object:Gem::Dependency
80
- name: rails
81
57
  prerelease: false
82
- requirement: &id005 !ruby/object:Gem::Requirement
58
+ version_requirements: *2157192940
59
+ - !ruby/object:Gem::Dependency
60
+ name: rails
61
+ requirement: &2157192480 !ruby/object:Gem::Requirement
83
62
  none: false
84
- requirements:
63
+ requirements:
85
64
  - - ~>
86
- - !ruby/object:Gem::Version
87
- segments:
88
- - 3
89
- - 0
90
- - 6
65
+ - !ruby/object:Gem::Version
91
66
  version: 3.0.6
92
67
  type: :development
93
- version_requirements: *id005
94
- - !ruby/object:Gem::Dependency
95
- name: capistrano
96
68
  prerelease: false
97
- requirement: &id006 !ruby/object:Gem::Requirement
69
+ version_requirements: *2157192480
70
+ - !ruby/object:Gem::Dependency
71
+ name: capistrano
72
+ requirement: &2157192100 !ruby/object:Gem::Requirement
98
73
  none: false
99
- requirements:
100
- - - ">="
101
- - !ruby/object:Gem::Version
102
- segments:
103
- - 0
104
- version: "0"
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
105
78
  type: :development
106
- version_requirements: *id006
79
+ prerelease: false
80
+ version_requirements: *2157192100
107
81
  description: Stretch rails beyond the browser, easily
108
- email:
82
+ email:
109
83
  - ben@langfeld.me
110
84
  executables: []
111
-
112
85
  extensions: []
113
-
114
86
  extra_rdoc_files: []
115
-
116
- files:
87
+ files:
117
88
  - .gitignore
118
89
  - Gemfile
119
90
  - LICENSE
@@ -140,36 +111,29 @@ files:
140
111
  has_rdoc: true
141
112
  homepage: http://benlangfeld.github.com/ahn-rails
142
113
  licenses: []
143
-
144
114
  post_install_message:
145
115
  rdoc_options: []
146
-
147
- require_paths:
116
+ require_paths:
148
117
  - lib
149
- required_ruby_version: !ruby/object:Gem::Requirement
118
+ required_ruby_version: !ruby/object:Gem::Requirement
150
119
  none: false
151
- requirements:
152
- - - ">="
153
- - !ruby/object:Gem::Version
154
- segments:
155
- - 0
156
- version: "0"
157
- required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - ! '>='
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
124
+ required_rubygems_version: !ruby/object:Gem::Requirement
158
125
  none: false
159
- requirements:
160
- - - ">="
161
- - !ruby/object:Gem::Version
162
- segments:
163
- - 0
164
- version: "0"
126
+ requirements:
127
+ - - ! '>='
128
+ - !ruby/object:Gem::Version
129
+ version: '0'
165
130
  requirements: []
166
-
167
131
  rubyforge_project: ahn-rails
168
- rubygems_version: 1.3.7
132
+ rubygems_version: 1.6.2
169
133
  signing_key:
170
134
  specification_version: 3
171
135
  summary: Adhearsion helpers for Ruby on Rails
172
- test_files:
136
+ test_files:
173
137
  - features/app_generator.feature
174
138
  - features/deployment_generator.feature
175
139
  - features/step_definitions/rails_setup_steps.rb