call_center 0.1.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE ADDED
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
data/README.md CHANGED
@@ -198,4 +198,15 @@ Call.state_machines[:status].draw(:font => 'Helvetica Neue')
198
198
  Future
199
199
  ------
200
200
 
201
- * Integrate making new calls into the **CallFlow** DSL
201
+ * Integrate making new calls into the **CallFlow** DSL
202
+
203
+ ## Copyright and license
204
+
205
+ Copyright 2013 Zendesk
206
+
207
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
208
+ You may obtain a copy of the License at
209
+
210
+ http://www.apache.org/licenses/LICENSE-2.0
211
+
212
+ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ Jeweler::Tasks.new do |gem|
12
12
  gem.description = %Q{Support for describing call center workflows}
13
13
  gem.email = "hhsu@zendesk.com"
14
14
  gem.authors = ["Henry Hsu"]
15
- # dependencies defined in Gemfile
15
+ gem.license = "Apache License Version 2.0"
16
16
  end
17
17
  Jeweler::RubygemsDotOrgTasks.new
18
18
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 1.0.0
Binary file
data/call_center.gemspec CHANGED
@@ -5,14 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "call_center"
8
- s.version = "0.1.7"
8
+ s.version = "1.0.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Henry Hsu"]
12
- s.date = "2012-11-02"
12
+ s.date = "2013-02-19"
13
13
  s.description = "Support for describing call center workflows"
14
14
  s.email = "hhsu@zendesk.com"
15
15
  s.extra_rdoc_files = [
16
+ "LICENSE",
16
17
  "README.md"
17
18
  ]
18
19
  s.files = [
@@ -23,10 +24,11 @@ Gem::Specification.new do |s|
23
24
  "Gemfile.lock",
24
25
  "Guardfile",
25
26
  "Guardfile.minitest",
26
- "MIT-LICENSE.txt",
27
+ "LICENSE",
27
28
  "README.md",
28
29
  "Rakefile",
29
30
  "VERSION",
31
+ "call_center-0.1.3.gem",
30
32
  "call_center.gemspec",
31
33
  "init.rb",
32
34
  "lib/call_center.rb",
@@ -50,7 +52,7 @@ Gem::Specification.new do |s|
50
52
  "test/helper.rb"
51
53
  ]
52
54
  s.homepage = "http://github.com/zendesk/call_center"
53
- s.licenses = ["MIT"]
55
+ s.licenses = ["Apache License Version 2.0"]
54
56
  s.require_paths = ["lib"]
55
57
  s.rubygems_version = "1.8.24"
56
58
  s.summary = "Support for describing call center workflows"
@@ -18,6 +18,7 @@ module CallCenter
18
18
 
19
19
  def inject(options)
20
20
  current_stack = @stack.dup
21
+ current_stack << IfConditional.new(options[:if]) if options[:if]
21
22
 
22
23
  evaluator = Evaluator.new(current_stack) { |model|
23
24
  current_stack.map { |conditional| conditional.evaluate(model) }.all?
@@ -27,7 +27,10 @@ describe CallCenter::Test::MiniTest::DSL do
27
27
  subject { DynamicTransitionCall.new }
28
28
  let(:call_center_state_field) { :state }
29
29
 
30
- it_should_flow { on(:incoming_call).from(:initial).to(:routing_on_client).if(:agents_available?).unless(:via_phone?) }
30
+ it_should_flow { on(:incoming_call).from(:initial).to(:routing_on_client).if(:agents_available?).unless(:via_phone?).if(:prefer_flash?) }
31
+ it_should_flow { on(:incoming_call).from(:initial).to(:routing_on_client).if(:agents_available?).unless(:via_phone?).unless(:on_mobile?).if(:prefer_flash?) }
32
+ it_should_flow { on(:incoming_call).from(:initial).to(:routing_on_mobile_client).if(:agents_available?).unless(:via_phone?).if(:on_mobile?) }
33
+ it_should_flow { on(:incoming_call).from(:initial).to(:routing_on_webrtc).if(:agents_available?).unless(:via_phone?).unless(:on_mobile?).unless(:prefer_flash?) }
31
34
  it_should_flow { on(:incoming_call).from(:initial).to(:routing_on_phone).if(:agents_available?).if(:via_phone?) }
32
35
 
33
36
  it_should_flow { on(:incoming_call).from(:initial).to(:voicemail).unless(:agents_available?).unless(:voicemail_full?) }
@@ -15,6 +15,8 @@ class CallCenterTest < Test::Unit::TestCase
15
15
  setup do
16
16
  @call = DynamicTransitionCall.new
17
17
  @call.stubs(:notify)
18
+ @call.stubs(:on_mobile?).returns(false)
19
+ @call.stubs(:prefer_flash?).returns(true)
18
20
  end
19
21
 
20
22
  context "agents available on phone" do
@@ -41,6 +43,32 @@ class CallCenterTest < Test::Unit::TestCase
41
43
  end
42
44
  end
43
45
 
46
+ context "agents available who do not prefer flash" do
47
+ setup do
48
+ @call.stubs(:agents_available?).returns(true)
49
+ @call.stubs(:via_phone?).returns(false)
50
+ @call.stubs(:prefer_flash?).returns(false)
51
+ end
52
+
53
+ should "transition to routing on client" do
54
+ @call.incoming_call!
55
+ assert_equal 'routing_on_webrtc', @call.state
56
+ end
57
+ end
58
+
59
+ context "agents available on mobile client" do
60
+ setup do
61
+ @call.stubs(:agents_available?).returns(true)
62
+ @call.stubs(:via_phone?).returns(false)
63
+ @call.stubs(:on_mobile?).returns(true)
64
+ end
65
+
66
+ should "transition to routing on client" do
67
+ @call.incoming_call!
68
+ assert_equal 'routing_on_mobile_client', @call.state
69
+ end
70
+ end
71
+
44
72
  context "no agents available" do
45
73
  setup do
46
74
  @call.stubs(:agents_available?).returns(false)
@@ -14,6 +14,8 @@ class DynamicTransitionCall
14
14
  end
15
15
 
16
16
  flow_unless :via_phone? do
17
+ event :incoming_call, :to => :routing_on_mobile_client, :if => :on_mobile?
18
+ event :incoming_call, :to => :routing_on_webrtc, :unless => :prefer_flash?
17
19
  event :incoming_call, :to => :routing_on_client
18
20
  end
19
21
  end
metadata CHANGED
@@ -1,247 +1,238 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: call_center
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.7
3
+ version: !ruby/object:Gem::Version
4
+ hash: 23
5
5
  prerelease:
6
+ segments:
7
+ - 1
8
+ - 0
9
+ - 0
10
+ version: 1.0.0
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Henry Hsu
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-11-02 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2013-02-19 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
15
21
  name: builder
16
- requirement: !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
23
  none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ hash: 3
28
+ segments:
29
+ - 0
30
+ version: "0"
22
31
  type: :runtime
32
+ requirement: *id001
23
33
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
34
+ - !ruby/object:Gem::Dependency
31
35
  name: hsume2-state_machine
32
- requirement: !ruby/object:Gem::Requirement
36
+ version_requirements: &id002 !ruby/object:Gem::Requirement
33
37
  none: false
34
- requirements:
38
+ requirements:
35
39
  - - ~>
36
- - !ruby/object:Gem::Version
40
+ - !ruby/object:Gem::Version
41
+ hash: 29
42
+ segments:
43
+ - 1
44
+ - 0
45
+ - 5
37
46
  version: 1.0.5
38
47
  type: :runtime
48
+ requirement: *id002
39
49
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ~>
44
- - !ruby/object:Gem::Version
45
- version: 1.0.5
46
- - !ruby/object:Gem::Dependency
50
+ - !ruby/object:Gem::Dependency
47
51
  name: shoulda
48
- requirement: !ruby/object:Gem::Requirement
52
+ version_requirements: &id003 !ruby/object:Gem::Requirement
49
53
  none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
54
61
  type: :development
62
+ requirement: *id003
55
63
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- - !ruby/object:Gem::Dependency
64
+ - !ruby/object:Gem::Dependency
63
65
  name: jeweler
64
- requirement: !ruby/object:Gem::Requirement
66
+ version_requirements: &id004 !ruby/object:Gem::Requirement
65
67
  none: false
66
- requirements:
68
+ requirements:
67
69
  - - ~>
68
- - !ruby/object:Gem::Version
70
+ - !ruby/object:Gem::Version
71
+ hash: 7
72
+ segments:
73
+ - 1
74
+ - 6
75
+ - 4
69
76
  version: 1.6.4
70
77
  type: :development
78
+ requirement: *id004
71
79
  prerelease: false
72
- version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ~>
76
- - !ruby/object:Gem::Version
77
- version: 1.6.4
78
- - !ruby/object:Gem::Dependency
80
+ - !ruby/object:Gem::Dependency
79
81
  name: rcov
80
- requirement: !ruby/object:Gem::Requirement
82
+ version_requirements: &id005 !ruby/object:Gem::Requirement
81
83
  none: false
82
- requirements:
83
- - - ! '>='
84
- - !ruby/object:Gem::Version
85
- version: '0'
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ hash: 3
88
+ segments:
89
+ - 0
90
+ version: "0"
86
91
  type: :development
92
+ requirement: *id005
87
93
  prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ! '>='
92
- - !ruby/object:Gem::Version
93
- version: '0'
94
- - !ruby/object:Gem::Dependency
94
+ - !ruby/object:Gem::Dependency
95
95
  name: guard
96
- requirement: !ruby/object:Gem::Requirement
96
+ version_requirements: &id006 !ruby/object:Gem::Requirement
97
97
  none: false
98
- requirements:
99
- - - ! '>='
100
- - !ruby/object:Gem::Version
101
- version: '0'
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ hash: 3
102
+ segments:
103
+ - 0
104
+ version: "0"
102
105
  type: :development
106
+ requirement: *id006
103
107
  prerelease: false
104
- version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ! '>='
108
- - !ruby/object:Gem::Version
109
- version: '0'
110
- - !ruby/object:Gem::Dependency
108
+ - !ruby/object:Gem::Dependency
111
109
  name: guard-test
112
- requirement: !ruby/object:Gem::Requirement
110
+ version_requirements: &id007 !ruby/object:Gem::Requirement
113
111
  none: false
114
- requirements:
115
- - - ! '>='
116
- - !ruby/object:Gem::Version
117
- version: '0'
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ hash: 3
116
+ segments:
117
+ - 0
118
+ version: "0"
118
119
  type: :development
120
+ requirement: *id007
119
121
  prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
- requirements:
123
- - - ! '>='
124
- - !ruby/object:Gem::Version
125
- version: '0'
126
- - !ruby/object:Gem::Dependency
122
+ - !ruby/object:Gem::Dependency
127
123
  name: actionpack
128
- requirement: !ruby/object:Gem::Requirement
124
+ version_requirements: &id008 !ruby/object:Gem::Requirement
129
125
  none: false
130
- requirements:
126
+ requirements:
131
127
  - - ~>
132
- - !ruby/object:Gem::Version
128
+ - !ruby/object:Gem::Version
129
+ hash: 31
130
+ segments:
131
+ - 2
132
+ - 3
133
+ - 14
133
134
  version: 2.3.14
134
135
  type: :development
136
+ requirement: *id008
135
137
  prerelease: false
136
- version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
- requirements:
139
- - - ~>
140
- - !ruby/object:Gem::Version
141
- version: 2.3.14
142
- - !ruby/object:Gem::Dependency
138
+ - !ruby/object:Gem::Dependency
143
139
  name: mocha
144
- requirement: !ruby/object:Gem::Requirement
140
+ version_requirements: &id009 !ruby/object:Gem::Requirement
145
141
  none: false
146
- requirements:
147
- - - ! '>='
148
- - !ruby/object:Gem::Version
149
- version: '0'
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ hash: 3
146
+ segments:
147
+ - 0
148
+ version: "0"
150
149
  type: :development
150
+ requirement: *id009
151
151
  prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- none: false
154
- requirements:
155
- - - ! '>='
156
- - !ruby/object:Gem::Version
157
- version: '0'
158
- - !ruby/object:Gem::Dependency
152
+ - !ruby/object:Gem::Dependency
159
153
  name: bourne
160
- requirement: !ruby/object:Gem::Requirement
154
+ version_requirements: &id010 !ruby/object:Gem::Requirement
161
155
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ hash: 31
160
+ segments:
161
+ - 1
162
+ - 2
163
+ - 0
165
164
  version: 1.2.0
166
165
  type: :development
166
+ requirement: *id010
167
167
  prerelease: false
168
- version_requirements: !ruby/object:Gem::Requirement
169
- none: false
170
- requirements:
171
- - - ! '>='
172
- - !ruby/object:Gem::Version
173
- version: 1.2.0
174
- - !ruby/object:Gem::Dependency
168
+ - !ruby/object:Gem::Dependency
175
169
  name: pre-commit
176
- requirement: !ruby/object:Gem::Requirement
170
+ version_requirements: &id011 !ruby/object:Gem::Requirement
177
171
  none: false
178
- requirements:
179
- - - ! '>='
180
- - !ruby/object:Gem::Version
181
- version: '0'
172
+ requirements:
173
+ - - ">="
174
+ - !ruby/object:Gem::Version
175
+ hash: 3
176
+ segments:
177
+ - 0
178
+ version: "0"
182
179
  type: :development
180
+ requirement: *id011
183
181
  prerelease: false
184
- version_requirements: !ruby/object:Gem::Requirement
185
- none: false
186
- requirements:
187
- - - ! '>='
188
- - !ruby/object:Gem::Version
189
- version: '0'
190
- - !ruby/object:Gem::Dependency
182
+ - !ruby/object:Gem::Dependency
191
183
  name: minitest
192
- requirement: !ruby/object:Gem::Requirement
184
+ version_requirements: &id012 !ruby/object:Gem::Requirement
193
185
  none: false
194
- requirements:
186
+ requirements:
195
187
  - - ~>
196
- - !ruby/object:Gem::Version
188
+ - !ruby/object:Gem::Version
189
+ hash: 11
190
+ segments:
191
+ - 3
192
+ - 3
193
+ - 0
197
194
  version: 3.3.0
198
195
  type: :development
196
+ requirement: *id012
199
197
  prerelease: false
200
- version_requirements: !ruby/object:Gem::Requirement
201
- none: false
202
- requirements:
203
- - - ~>
204
- - !ruby/object:Gem::Version
205
- version: 3.3.0
206
- - !ruby/object:Gem::Dependency
198
+ - !ruby/object:Gem::Dependency
207
199
  name: minitest-reporters
208
- requirement: !ruby/object:Gem::Requirement
200
+ version_requirements: &id013 !ruby/object:Gem::Requirement
209
201
  none: false
210
- requirements:
211
- - - ! '>='
212
- - !ruby/object:Gem::Version
213
- version: '0'
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ hash: 3
206
+ segments:
207
+ - 0
208
+ version: "0"
214
209
  type: :development
210
+ requirement: *id013
215
211
  prerelease: false
216
- version_requirements: !ruby/object:Gem::Requirement
217
- none: false
218
- requirements:
219
- - - ! '>='
220
- - !ruby/object:Gem::Version
221
- version: '0'
222
- - !ruby/object:Gem::Dependency
212
+ - !ruby/object:Gem::Dependency
223
213
  name: guard-shell
224
- requirement: !ruby/object:Gem::Requirement
214
+ version_requirements: &id014 !ruby/object:Gem::Requirement
225
215
  none: false
226
- requirements:
227
- - - ! '>='
228
- - !ruby/object:Gem::Version
229
- version: '0'
216
+ requirements:
217
+ - - ">="
218
+ - !ruby/object:Gem::Version
219
+ hash: 3
220
+ segments:
221
+ - 0
222
+ version: "0"
230
223
  type: :development
224
+ requirement: *id014
231
225
  prerelease: false
232
- version_requirements: !ruby/object:Gem::Requirement
233
- none: false
234
- requirements:
235
- - - ! '>='
236
- - !ruby/object:Gem::Version
237
- version: '0'
238
226
  description: Support for describing call center workflows
239
227
  email: hhsu@zendesk.com
240
228
  executables: []
229
+
241
230
  extensions: []
242
- extra_rdoc_files:
231
+
232
+ extra_rdoc_files:
233
+ - LICENSE
243
234
  - README.md
244
- files:
235
+ files:
245
236
  - .document
246
237
  - .rvmrc
247
238
  - .travis.yml
@@ -249,10 +240,11 @@ files:
249
240
  - Gemfile.lock
250
241
  - Guardfile
251
242
  - Guardfile.minitest
252
- - MIT-LICENSE.txt
243
+ - LICENSE
253
244
  - README.md
254
245
  - Rakefile
255
246
  - VERSION
247
+ - call_center-0.1.3.gem
256
248
  - call_center.gemspec
257
249
  - init.rb
258
250
  - lib/call_center.rb
@@ -275,31 +267,37 @@ files:
275
267
  - test/examples/non_standard_call.rb
276
268
  - test/helper.rb
277
269
  homepage: http://github.com/zendesk/call_center
278
- licenses:
279
- - MIT
270
+ licenses:
271
+ - Apache License Version 2.0
280
272
  post_install_message:
281
273
  rdoc_options: []
282
- require_paths:
274
+
275
+ require_paths:
283
276
  - lib
284
- required_ruby_version: !ruby/object:Gem::Requirement
277
+ required_ruby_version: !ruby/object:Gem::Requirement
285
278
  none: false
286
- requirements:
287
- - - ! '>='
288
- - !ruby/object:Gem::Version
289
- version: '0'
290
- segments:
279
+ requirements:
280
+ - - ">="
281
+ - !ruby/object:Gem::Version
282
+ hash: 3
283
+ segments:
291
284
  - 0
292
- hash: -831348185906274842
293
- required_rubygems_version: !ruby/object:Gem::Requirement
285
+ version: "0"
286
+ required_rubygems_version: !ruby/object:Gem::Requirement
294
287
  none: false
295
- requirements:
296
- - - ! '>='
297
- - !ruby/object:Gem::Version
298
- version: '0'
288
+ requirements:
289
+ - - ">="
290
+ - !ruby/object:Gem::Version
291
+ hash: 3
292
+ segments:
293
+ - 0
294
+ version: "0"
299
295
  requirements: []
296
+
300
297
  rubyforge_project:
301
298
  rubygems_version: 1.8.24
302
299
  signing_key:
303
300
  specification_version: 3
304
301
  summary: Support for describing call center workflows
305
302
  test_files: []
303
+
data/MIT-LICENSE.txt DELETED
@@ -1,20 +0,0 @@
1
- Copyright (c) 2011 Henry Hsu and Zendesk, Inc
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.