heracles-wrapper 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/.gitignore +18 -0
  2. data/.rvmrc +55 -0
  3. data/.travis.yml +14 -0
  4. data/Gemfile +6 -0
  5. data/LICENSE.txt +14 -0
  6. data/README.md +74 -0
  7. data/Rakefile +11 -0
  8. data/heracles-wrapper.gemspec +34 -0
  9. data/lib/heracles-wrapper/config.rb +17 -0
  10. data/lib/heracles-wrapper/exceptions.rb +15 -0
  11. data/lib/heracles-wrapper/notification_response.rb +38 -0
  12. data/lib/heracles-wrapper/request/create_job.rb +63 -0
  13. data/lib/heracles-wrapper/request.rb +6 -0
  14. data/lib/heracles-wrapper/request_success.rb +25 -0
  15. data/lib/heracles-wrapper/test_helper.rb +67 -0
  16. data/lib/heracles-wrapper/version.rb +5 -0
  17. data/lib/heracles-wrapper.rb +38 -0
  18. data/lib/rails/generators/heracles/wrapper/install/USAGE +8 -0
  19. data/lib/rails/generators/heracles/wrapper/install/install_generator.rb +42 -0
  20. data/lib/rails/generators/heracles/wrapper/install/templates/config.rb +11 -0
  21. data/lib/rails/generators/heracles/wrapper/notification_response/USAGE +9 -0
  22. data/lib/rails/generators/heracles/wrapper/notification_response/notification_response_generator.rb +21 -0
  23. data/lib/rails/generators/heracles/wrapper/notification_response/templates/notification_response.rb.erb +17 -0
  24. data/lib/rails/generators/heracles/wrapper/notification_response/templates/notification_response_spec.rb.erb +31 -0
  25. data/spec/heracles-wrapper/config_spec.rb +24 -0
  26. data/spec/heracles-wrapper/exceptions_spec.rb +27 -0
  27. data/spec/heracles-wrapper/notification_response_spec.rb +93 -0
  28. data/spec/heracles-wrapper/request/create_job_spec.rb +163 -0
  29. data/spec/heracles-wrapper/request_success_spec.rb +49 -0
  30. data/spec/heracles-wrapper/test_helper_spec.rb +114 -0
  31. data/spec/heracles-wrapper_spec.rb +51 -0
  32. data/spec/rails/generators/heracles/wrapper/install/install_generator_spec.rb +31 -0
  33. data/spec/rails/generators/heracles/wrapper/notification_response/notification_response_generator_spec.rb +44 -0
  34. metadata +221 -0
metadata ADDED
@@ -0,0 +1,221 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: heracles-wrapper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jeremy Friesen
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-08 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rest-client
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ 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
31
+ name: morphine
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: '0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: method_decorators
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ! '>='
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :runtime
55
+ 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
63
+ name: webmock
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: debugger
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :development
87
+ 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
95
+ name: minitest
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ 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
111
+ name: minitest-matchers
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ! '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ 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
127
+ name: rails
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ! '>='
132
+ - !ruby/object:Gem::Version
133
+ version: '0'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: '0'
142
+ description: API Wrapper for Heracles workflow manager
143
+ email:
144
+ - jeremy.n.friesen@gmail.com
145
+ executables: []
146
+ extensions: []
147
+ extra_rdoc_files: []
148
+ files:
149
+ - .gitignore
150
+ - .rvmrc
151
+ - .travis.yml
152
+ - Gemfile
153
+ - LICENSE.txt
154
+ - README.md
155
+ - Rakefile
156
+ - heracles-wrapper.gemspec
157
+ - lib/heracles-wrapper.rb
158
+ - lib/heracles-wrapper/config.rb
159
+ - lib/heracles-wrapper/exceptions.rb
160
+ - lib/heracles-wrapper/notification_response.rb
161
+ - lib/heracles-wrapper/request.rb
162
+ - lib/heracles-wrapper/request/create_job.rb
163
+ - lib/heracles-wrapper/request_success.rb
164
+ - lib/heracles-wrapper/test_helper.rb
165
+ - lib/heracles-wrapper/version.rb
166
+ - lib/rails/generators/heracles/wrapper/install/USAGE
167
+ - lib/rails/generators/heracles/wrapper/install/install_generator.rb
168
+ - lib/rails/generators/heracles/wrapper/install/templates/config.rb
169
+ - lib/rails/generators/heracles/wrapper/notification_response/USAGE
170
+ - lib/rails/generators/heracles/wrapper/notification_response/notification_response_generator.rb
171
+ - lib/rails/generators/heracles/wrapper/notification_response/templates/notification_response.rb.erb
172
+ - lib/rails/generators/heracles/wrapper/notification_response/templates/notification_response_spec.rb.erb
173
+ - spec/heracles-wrapper/config_spec.rb
174
+ - spec/heracles-wrapper/exceptions_spec.rb
175
+ - spec/heracles-wrapper/notification_response_spec.rb
176
+ - spec/heracles-wrapper/request/create_job_spec.rb
177
+ - spec/heracles-wrapper/request_success_spec.rb
178
+ - spec/heracles-wrapper/test_helper_spec.rb
179
+ - spec/heracles-wrapper_spec.rb
180
+ - spec/rails/generators/heracles/wrapper/install/install_generator_spec.rb
181
+ - spec/rails/generators/heracles/wrapper/notification_response/notification_response_generator_spec.rb
182
+ homepage: https://github.com/ndlib/heracles-wrapper
183
+ licenses: []
184
+ post_install_message:
185
+ rdoc_options: []
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ none: false
190
+ requirements:
191
+ - - ! '>='
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ segments:
195
+ - 0
196
+ hash: -936023584342832564
197
+ required_rubygems_version: !ruby/object:Gem::Requirement
198
+ none: false
199
+ requirements:
200
+ - - ! '>='
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ segments:
204
+ - 0
205
+ hash: -936023584342832564
206
+ requirements: []
207
+ rubyforge_project:
208
+ rubygems_version: 1.8.24
209
+ signing_key:
210
+ specification_version: 3
211
+ summary: API Wrapper for Heracles workflow manager
212
+ test_files:
213
+ - spec/heracles-wrapper/config_spec.rb
214
+ - spec/heracles-wrapper/exceptions_spec.rb
215
+ - spec/heracles-wrapper/notification_response_spec.rb
216
+ - spec/heracles-wrapper/request/create_job_spec.rb
217
+ - spec/heracles-wrapper/request_success_spec.rb
218
+ - spec/heracles-wrapper/test_helper_spec.rb
219
+ - spec/heracles-wrapper_spec.rb
220
+ - spec/rails/generators/heracles/wrapper/install/install_generator_spec.rb
221
+ - spec/rails/generators/heracles/wrapper/notification_response/notification_response_generator_spec.rb