echochamber 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5cf659753a718f8e0d1592fa4ea2280532c0c797
4
- data.tar.gz: 39083288b4fba685d320218d4cde7fc7ffadaa0b
3
+ metadata.gz: 31f216dc58eeb9acfce7572cc9a8f3d93b47a213
4
+ data.tar.gz: 0c06738a30ecefebb57a44e30924c4614d2b622f
5
5
  SHA512:
6
- metadata.gz: a44b50187653066e2a57fe185c6b320416e5a6486eeaa33bd1e18e739056681513a02aebdbc0f38811691c0ec5c80761906f969fcbfb65c82ffee94f1a8d5c34
7
- data.tar.gz: c72c1d6103bd3e1e8fbe23c5476dfa6673611801f074b9e85aeeae3a43f70d310f49a4d4416396e4112c24e1f1f8a01e02f853e7687d853c92ee3e021a3642e2
6
+ metadata.gz: 279c458ed05303dd70c2c4b2a4d08be60938bcafa80f602f801ed51e831bb1adfcb9744cb55beb4c68588928f76038095485d77e0d2d660b6ed3e73535ad8a95
7
+ data.tar.gz: 102f8f7d1c2d5fee676bf4126eaa17b8de50ab21d2796479159ce2756912112f065c74cf8a609c1c07eea46849d46089ea4f8e7a48acf61d39e3f3789ea9e121
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- echochamber (1.0.0)
4
+ echochamber (1.0.1)
5
5
  faraday
6
6
  json
7
7
  rest-client
@@ -20,26 +20,33 @@ GEM
20
20
  crack (0.4.2)
21
21
  safe_yaml (~> 1.0.0)
22
22
  diff-lcs (1.2.5)
23
+ domain_name (0.5.24)
24
+ unf (>= 0.0.5, < 1.0.0)
23
25
  factory_girl (4.4.0)
24
26
  activesupport (>= 3.0.0)
25
- faraday (0.9.0)
27
+ faraday (0.9.1)
26
28
  multipart-post (>= 1.2, < 3)
27
29
  highline (1.6.21)
28
30
  hitch (1.0.2)
29
31
  highline (>= 1.6.2)
32
+ http-cookie (1.0.2)
33
+ domain_name (~> 0.5)
30
34
  i18n (0.6.11)
31
35
  json (1.8.1)
32
36
  method_source (0.8.2)
33
- mime-types (1.25.1)
37
+ mime-types (2.5)
34
38
  minitest (5.3.3)
35
39
  multipart-post (2.0.0)
40
+ netrc (0.10.3)
36
41
  pry (0.10.0)
37
42
  coderay (~> 1.1.0)
38
43
  method_source (~> 0.8.1)
39
44
  slop (~> 3.4)
40
45
  rake (10.3.2)
41
- rest-client (1.6.7)
42
- mime-types (>= 1.16)
46
+ rest-client (1.8.0)
47
+ http-cookie (>= 1.0.2, < 2.0)
48
+ mime-types (>= 1.16, < 3.0)
49
+ netrc (~> 0.7)
43
50
  rspec (3.0.0)
44
51
  rspec-core (~> 3.0.0)
45
52
  rspec-expectations (~> 3.0.0)
@@ -54,9 +61,13 @@ GEM
54
61
  rspec-support (3.0.3)
55
62
  safe_yaml (1.0.1)
56
63
  slop (3.6.0)
64
+ syck (1.0.5)
57
65
  thread_safe (0.3.3)
58
66
  tzinfo (1.1.0)
59
67
  thread_safe (~> 0.1)
68
+ unf (0.1.4)
69
+ unf_ext
70
+ unf_ext (0.0.7.1)
60
71
  vcr (2.8.0)
61
72
  webmock (1.17.4)
62
73
  addressable (>= 2.2.7)
@@ -74,6 +85,7 @@ DEPENDENCIES
74
85
  pry
75
86
  rake
76
87
  rspec
88
+ syck
77
89
  vcr
78
90
  webmock
79
91
  yard
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_development_dependency "rspec"
24
24
  spec.add_development_dependency "pry"
25
+ spec.add_development_dependency "syck"
25
26
  spec.add_development_dependency "yard"
26
27
  spec.add_development_dependency "hitch"
27
28
  spec.add_development_dependency "webmock"
@@ -4,7 +4,14 @@ require 'echochamber/library_documents/request'
4
4
  require 'echochamber/widget/request'
5
5
 
6
6
  module Echochamber::Request
7
- class Failure < StandardError; end
7
+ class Failure < StandardError
8
+ attr_reader :original_exception
9
+
10
+ def initialize msg, original_exception
11
+ @message = msg
12
+ @original_exception = original_exception
13
+ end
14
+ end
8
15
 
9
16
  BASE_URL = 'https://secure.echosign.com/api/rest/v2'
10
17
 
@@ -134,7 +141,8 @@ module Echochamber::Request
134
141
  end
135
142
 
136
143
  def self.raise_error(error)
137
- raise Failure, "#{error.inspect}. \nSee Adobe Echosign REST API documentation for Error code meanings: https://secure.echosign.com/public/docs/restapi/v2"
144
+ message = "#{error.inspect}. \nSee Adobe Echosign REST API documentation for Error code meanings: https://secure.echosign.com/public/docs/restapi/v2"
145
+ raise Failure.new message, error
138
146
  end
139
147
 
140
148
  end
@@ -1,3 +1,3 @@
1
1
  module Echochamber
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -1,3 +1,4 @@
1
+ require 'syck'
1
2
  require 'bundler/setup'
2
3
  require 'webmock/rspec'
3
4
  require 'vcr'
metadata CHANGED
@@ -1,181 +1,195 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: echochamber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cath Thomas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-21 00:00:00.000000000 Z
11
+ date: 2015-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.6'
20
20
  type: :development
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: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
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: :development
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: pry
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: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>='
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: syck
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: yard
71
85
  requirement: !ruby/object:Gem::Requirement
72
86
  requirements:
73
- - - '>='
87
+ - - ">="
74
88
  - !ruby/object:Gem::Version
75
89
  version: '0'
76
90
  type: :development
77
91
  prerelease: false
78
92
  version_requirements: !ruby/object:Gem::Requirement
79
93
  requirements:
80
- - - '>='
94
+ - - ">="
81
95
  - !ruby/object:Gem::Version
82
96
  version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: hitch
85
99
  requirement: !ruby/object:Gem::Requirement
86
100
  requirements:
87
- - - '>='
101
+ - - ">="
88
102
  - !ruby/object:Gem::Version
89
103
  version: '0'
90
104
  type: :development
91
105
  prerelease: false
92
106
  version_requirements: !ruby/object:Gem::Requirement
93
107
  requirements:
94
- - - '>='
108
+ - - ">="
95
109
  - !ruby/object:Gem::Version
96
110
  version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: webmock
99
113
  requirement: !ruby/object:Gem::Requirement
100
114
  requirements:
101
- - - '>='
115
+ - - ">="
102
116
  - !ruby/object:Gem::Version
103
117
  version: '0'
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
107
121
  requirements:
108
- - - '>='
122
+ - - ">="
109
123
  - !ruby/object:Gem::Version
110
124
  version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: vcr
113
127
  requirement: !ruby/object:Gem::Requirement
114
128
  requirements:
115
- - - '>='
129
+ - - ">="
116
130
  - !ruby/object:Gem::Version
117
131
  version: '0'
118
132
  type: :development
119
133
  prerelease: false
120
134
  version_requirements: !ruby/object:Gem::Requirement
121
135
  requirements:
122
- - - '>='
136
+ - - ">="
123
137
  - !ruby/object:Gem::Version
124
138
  version: '0'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: factory_girl
127
141
  requirement: !ruby/object:Gem::Requirement
128
142
  requirements:
129
- - - '>='
143
+ - - ">="
130
144
  - !ruby/object:Gem::Version
131
145
  version: '0'
132
146
  type: :development
133
147
  prerelease: false
134
148
  version_requirements: !ruby/object:Gem::Requirement
135
149
  requirements:
136
- - - '>='
150
+ - - ">="
137
151
  - !ruby/object:Gem::Version
138
152
  version: '0'
139
153
  - !ruby/object:Gem::Dependency
140
154
  name: faraday
141
155
  requirement: !ruby/object:Gem::Requirement
142
156
  requirements:
143
- - - '>='
157
+ - - ">="
144
158
  - !ruby/object:Gem::Version
145
159
  version: '0'
146
160
  type: :runtime
147
161
  prerelease: false
148
162
  version_requirements: !ruby/object:Gem::Requirement
149
163
  requirements:
150
- - - '>='
164
+ - - ">="
151
165
  - !ruby/object:Gem::Version
152
166
  version: '0'
153
167
  - !ruby/object:Gem::Dependency
154
168
  name: json
155
169
  requirement: !ruby/object:Gem::Requirement
156
170
  requirements:
157
- - - '>='
171
+ - - ">="
158
172
  - !ruby/object:Gem::Version
159
173
  version: '0'
160
174
  type: :runtime
161
175
  prerelease: false
162
176
  version_requirements: !ruby/object:Gem::Requirement
163
177
  requirements:
164
- - - '>='
178
+ - - ">="
165
179
  - !ruby/object:Gem::Version
166
180
  version: '0'
167
181
  - !ruby/object:Gem::Dependency
168
182
  name: rest-client
169
183
  requirement: !ruby/object:Gem::Requirement
170
184
  requirements:
171
- - - '>='
185
+ - - ">="
172
186
  - !ruby/object:Gem::Version
173
187
  version: '0'
174
188
  type: :runtime
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
- - - '>='
192
+ - - ">="
179
193
  - !ruby/object:Gem::Version
180
194
  version: '0'
181
195
  description: A ruby gem that simplifies the use of Adobe's EchoSign web API.
@@ -185,8 +199,8 @@ executables: []
185
199
  extensions: []
186
200
  extra_rdoc_files: []
187
201
  files:
188
- - .gitignore
189
- - .rspec
202
+ - ".gitignore"
203
+ - ".rspec"
190
204
  - Gemfile
191
205
  - Gemfile.lock
192
206
  - LICENSE
@@ -315,17 +329,17 @@ require_paths:
315
329
  - lib
316
330
  required_ruby_version: !ruby/object:Gem::Requirement
317
331
  requirements:
318
- - - '>='
332
+ - - ">="
319
333
  - !ruby/object:Gem::Version
320
334
  version: '0'
321
335
  required_rubygems_version: !ruby/object:Gem::Requirement
322
336
  requirements:
323
- - - '>='
337
+ - - ">="
324
338
  - !ruby/object:Gem::Version
325
339
  version: '0'
326
340
  requirements: []
327
341
  rubyforge_project:
328
- rubygems_version: 2.4.1
342
+ rubygems_version: 2.4.6
329
343
  signing_key:
330
344
  specification_version: 4
331
345
  summary: Package summary