rainforest 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +4 -0
  3. data/.travis.yml +10 -0
  4. data/CONTRIBUTORS +1 -0
  5. data/Gemfile +2 -0
  6. data/History.txt +4 -0
  7. data/LICENSE +21 -0
  8. data/README.md +50 -0
  9. data/Rakefile +15 -0
  10. data/VERSION +1 -0
  11. data/bin/rainforest-console +7 -0
  12. data/gemfiles/default-with-activesupport.gemfile +3 -0
  13. data/gemfiles/json.gemfile +4 -0
  14. data/gemfiles/yajl.gemfile +4 -0
  15. data/lib/.DS_Store +0 -0
  16. data/lib/data/ca-certificates.crt +3918 -0
  17. data/lib/rainforest.rb +271 -0
  18. data/lib/rainforest/api_operations/create.rb +16 -0
  19. data/lib/rainforest/api_operations/delete.rb +11 -0
  20. data/lib/rainforest/api_operations/list.rb +18 -0
  21. data/lib/rainforest/api_operations/update.rb +61 -0
  22. data/lib/rainforest/api_resource.rb +33 -0
  23. data/lib/rainforest/errors/api_connection_error.rb +4 -0
  24. data/lib/rainforest/errors/api_error.rb +4 -0
  25. data/lib/rainforest/errors/authentication_error.rb +4 -0
  26. data/lib/rainforest/errors/invalid_request_error.rb +10 -0
  27. data/lib/rainforest/errors/rainforest_error.rb +20 -0
  28. data/lib/rainforest/json.rb +21 -0
  29. data/lib/rainforest/list_object.rb +35 -0
  30. data/lib/rainforest/rainforest_object.rb +168 -0
  31. data/lib/rainforest/run.rb +8 -0
  32. data/lib/rainforest/singleton_api_resource.rb +20 -0
  33. data/lib/rainforest/test.rb +14 -0
  34. data/lib/rainforest/util.rb +101 -0
  35. data/lib/rainforest/version.rb +3 -0
  36. data/rainforest.gemspec +26 -0
  37. data/test/stripe/account_test.rb +14 -0
  38. data/test/stripe/api_resource_test.rb +345 -0
  39. data/test/stripe/charge_test.rb +67 -0
  40. data/test/stripe/coupon_test.rb +11 -0
  41. data/test/stripe/customer_test.rb +70 -0
  42. data/test/stripe/invoice_test.rb +20 -0
  43. data/test/stripe/list_object_test.rb +16 -0
  44. data/test/stripe/metadata_test.rb +114 -0
  45. data/test/stripe/util_test.rb +29 -0
  46. data/test/test_helper.rb +356 -0
  47. metadata +191 -0
metadata ADDED
@@ -0,0 +1,191 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rainforest
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Jon Calhon
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-13 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rest-client
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.4'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.4'
27
+ - !ruby/object:Gem::Dependency
28
+ name: multi_json
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.4
34
+ - - <
35
+ - !ruby/object:Gem::Version
36
+ version: '2'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 1.0.4
44
+ - - <
45
+ - !ruby/object:Gem::Version
46
+ version: '2'
47
+ - !ruby/object:Gem::Dependency
48
+ name: mocha
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: 0.13.2
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ~>
59
+ - !ruby/object:Gem::Version
60
+ version: 0.13.2
61
+ - !ruby/object:Gem::Dependency
62
+ name: shoulda
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 3.4.0
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ version: 3.4.0
75
+ - !ruby/object:Gem::Dependency
76
+ name: test-unit
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - '>='
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - '>='
87
+ - !ruby/object:Gem::Version
88
+ version: '0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: rake
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :development
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - '>='
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ description: Rainforest allows you to create tests for your website in plain English,
104
+ then run them across all major browsers with a single click. See https://www.rainforestqa.com/
105
+ for details.
106
+ email:
107
+ - joncalhoun@gmail.com
108
+ executables:
109
+ - rainforest-console
110
+ extensions: []
111
+ extra_rdoc_files: []
112
+ files:
113
+ - .gitignore
114
+ - .travis.yml
115
+ - CONTRIBUTORS
116
+ - Gemfile
117
+ - History.txt
118
+ - LICENSE
119
+ - README.md
120
+ - Rakefile
121
+ - VERSION
122
+ - bin/rainforest-console
123
+ - gemfiles/default-with-activesupport.gemfile
124
+ - gemfiles/json.gemfile
125
+ - gemfiles/yajl.gemfile
126
+ - lib/.DS_Store
127
+ - lib/data/ca-certificates.crt
128
+ - lib/rainforest.rb
129
+ - lib/rainforest/api_operations/create.rb
130
+ - lib/rainforest/api_operations/delete.rb
131
+ - lib/rainforest/api_operations/list.rb
132
+ - lib/rainforest/api_operations/update.rb
133
+ - lib/rainforest/api_resource.rb
134
+ - lib/rainforest/errors/api_connection_error.rb
135
+ - lib/rainforest/errors/api_error.rb
136
+ - lib/rainforest/errors/authentication_error.rb
137
+ - lib/rainforest/errors/invalid_request_error.rb
138
+ - lib/rainforest/errors/rainforest_error.rb
139
+ - lib/rainforest/json.rb
140
+ - lib/rainforest/list_object.rb
141
+ - lib/rainforest/rainforest_object.rb
142
+ - lib/rainforest/run.rb
143
+ - lib/rainforest/singleton_api_resource.rb
144
+ - lib/rainforest/test.rb
145
+ - lib/rainforest/util.rb
146
+ - lib/rainforest/version.rb
147
+ - rainforest.gemspec
148
+ - test/stripe/account_test.rb
149
+ - test/stripe/api_resource_test.rb
150
+ - test/stripe/charge_test.rb
151
+ - test/stripe/coupon_test.rb
152
+ - test/stripe/customer_test.rb
153
+ - test/stripe/invoice_test.rb
154
+ - test/stripe/list_object_test.rb
155
+ - test/stripe/metadata_test.rb
156
+ - test/stripe/util_test.rb
157
+ - test/test_helper.rb
158
+ homepage: https://app.rainforestqa.com/docs/ruby
159
+ licenses: []
160
+ metadata: {}
161
+ post_install_message:
162
+ rdoc_options: []
163
+ require_paths:
164
+ - lib
165
+ required_ruby_version: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - '>='
168
+ - !ruby/object:Gem::Version
169
+ version: '0'
170
+ required_rubygems_version: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - '>='
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ requirements: []
176
+ rubyforge_project:
177
+ rubygems_version: 2.0.3
178
+ signing_key:
179
+ specification_version: 4
180
+ summary: Ruby bindings for the Rainforest API
181
+ test_files:
182
+ - test/stripe/account_test.rb
183
+ - test/stripe/api_resource_test.rb
184
+ - test/stripe/charge_test.rb
185
+ - test/stripe/coupon_test.rb
186
+ - test/stripe/customer_test.rb
187
+ - test/stripe/invoice_test.rb
188
+ - test/stripe/list_object_test.rb
189
+ - test/stripe/metadata_test.rb
190
+ - test/stripe/util_test.rb
191
+ - test/test_helper.rb