sauce_whisk 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +17 -0
  3. data/Gemfile +7 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +37 -0
  6. data/Rakefile +10 -0
  7. data/lib/sauce_whisk/assets.rb +25 -0
  8. data/lib/sauce_whisk/jobs.rb +112 -0
  9. data/lib/sauce_whisk/rest_request_builder.rb +29 -0
  10. data/lib/sauce_whisk/version.rb +3 -0
  11. data/lib/sauce_whisk.rb +23 -0
  12. data/sauce_whisk.gemspec +27 -0
  13. data/spec/fixtures/vcr_cassettes/assets.yml +161478 -0
  14. data/spec/fixtures/vcr_cassettes/jobs.yml +256 -0
  15. data/spec/fixtures/vcr_cassettes/no_jobs.yml +0 -0
  16. data/spec/fixtures/vcr_cassettes/rest_request.yml +0 -0
  17. data/spec/lib/sauce_whisk/asset_spec.rb +39 -0
  18. data/spec/lib/sauce_whisk/assets_spec.rb +27 -0
  19. data/spec/lib/sauce_whisk/job_spec.rb +113 -0
  20. data/spec/lib/sauce_whisk/jobs_spec.rb +78 -0
  21. data/spec/lib/sauce_whisk/rest_request_builder_spec.rb +50 -0
  22. data/spec/lib/sauce_whisk/sauce_whisk_spec.rb +27 -0
  23. data/spec/spec_helper.rb +25 -0
  24. data/vendor/psych/lib/psych/class_loader.rb +101 -0
  25. data/vendor/psych/lib/psych/coder.rb +94 -0
  26. data/vendor/psych/lib/psych/core_ext.rb +35 -0
  27. data/vendor/psych/lib/psych/deprecated.rb +85 -0
  28. data/vendor/psych/lib/psych/exception.rb +13 -0
  29. data/vendor/psych/lib/psych/handler.rb +249 -0
  30. data/vendor/psych/lib/psych/handlers/document_stream.rb +22 -0
  31. data/vendor/psych/lib/psych/handlers/recorder.rb +39 -0
  32. data/vendor/psych/lib/psych/json/ruby_events.rb +19 -0
  33. data/vendor/psych/lib/psych/json/stream.rb +16 -0
  34. data/vendor/psych/lib/psych/json/tree_builder.rb +12 -0
  35. data/vendor/psych/lib/psych/json/yaml_events.rb +29 -0
  36. data/vendor/psych/lib/psych/nodes/alias.rb +18 -0
  37. data/vendor/psych/lib/psych/nodes/document.rb +60 -0
  38. data/vendor/psych/lib/psych/nodes/mapping.rb +56 -0
  39. data/vendor/psych/lib/psych/nodes/node.rb +55 -0
  40. data/vendor/psych/lib/psych/nodes/scalar.rb +67 -0
  41. data/vendor/psych/lib/psych/nodes/sequence.rb +81 -0
  42. data/vendor/psych/lib/psych/nodes/stream.rb +37 -0
  43. data/vendor/psych/lib/psych/nodes.rb +77 -0
  44. data/vendor/psych/lib/psych/omap.rb +4 -0
  45. data/vendor/psych/lib/psych/parser.rb +51 -0
  46. data/vendor/psych/lib/psych/scalar_scanner.rb +149 -0
  47. data/vendor/psych/lib/psych/set.rb +4 -0
  48. data/vendor/psych/lib/psych/stream.rb +37 -0
  49. data/vendor/psych/lib/psych/streaming.rb +27 -0
  50. data/vendor/psych/lib/psych/syntax_error.rb +21 -0
  51. data/vendor/psych/lib/psych/tree_builder.rb +96 -0
  52. data/vendor/psych/lib/psych/visitors/depth_first.rb +26 -0
  53. data/vendor/psych/lib/psych/visitors/emitter.rb +51 -0
  54. data/vendor/psych/lib/psych/visitors/json_tree.rb +24 -0
  55. data/vendor/psych/lib/psych/visitors/to_ruby.rb +372 -0
  56. data/vendor/psych/lib/psych/visitors/visitor.rb +19 -0
  57. data/vendor/psych/lib/psych/visitors/yaml_tree.rb +496 -0
  58. data/vendor/psych/lib/psych/visitors.rb +6 -0
  59. data/vendor/psych/lib/psych/y.rb +9 -0
  60. data/vendor/psych/lib/psych.bundle +0 -0
  61. data/vendor/psych/lib/psych.rb +497 -0
  62. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/Makefile +221 -0
  63. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/mkmf.log +50 -0
  64. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych.bundle +0 -0
  65. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych.o +0 -0
  66. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_emitter.o +0 -0
  67. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_parser.o +0 -0
  68. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_to_ruby.o +0 -0
  69. data/vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_yaml_tree.o +0 -0
  70. metadata +194 -0
@@ -0,0 +1,50 @@
1
+ find_header: checking for yaml.h... -------------------- yes
2
+
3
+ "/opt/local/bin/gcc-apple-4.2 -o conftest -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/lib -L/opt/local/lib -L. -L/usr/local/lib -L/opt/local/lib -lruby.1.9.1 -lpthread -ldl -lobjc "
4
+ checked program was:
5
+ /* begin */
6
+ 1: #include "ruby.h"
7
+ 2:
8
+ 3: int main() {return 0;}
9
+ /* end */
10
+
11
+ "/opt/local/bin/gcc-apple-4.2 -E -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -o conftest.i"
12
+ checked program was:
13
+ /* begin */
14
+ 1: #include "ruby.h"
15
+ 2:
16
+ 3: #include <yaml.h>
17
+ /* end */
18
+
19
+ --------------------
20
+
21
+ find_library: checking for yaml_get_version() in -lyaml... -------------------- yes
22
+
23
+ "/opt/local/bin/gcc-apple-4.2 -o conftest -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/lib -L/opt/local/lib -L. -L/usr/local/lib -L/opt/local/lib -lruby.1.9.1 -lyaml -lpthread -ldl -lobjc "
24
+ conftest.c: In function 't':
25
+ conftest.c:5: error: 'yaml_get_version' undeclared (first use in this function)
26
+ conftest.c:5: error: (Each undeclared identifier is reported only once
27
+ conftest.c:5: error: for each function it appears in.)
28
+ checked program was:
29
+ /* begin */
30
+ 1: #include "ruby.h"
31
+ 2:
32
+ 3: /*top*/
33
+ 4: int main() {return 0;}
34
+ 5: int t() { void ((*volatile p)()); p = (void ((*)()))yaml_get_version; return 0; }
35
+ /* end */
36
+
37
+ "/opt/local/bin/gcc-apple-4.2 -o conftest -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/lib -L/opt/local/lib -L. -L/usr/local/lib -L/opt/local/lib -lruby.1.9.1 -lyaml -lpthread -ldl -lobjc "
38
+ conftest.c: In function 't':
39
+ conftest.c:5: warning: implicit declaration of function 'yaml_get_version'
40
+ checked program was:
41
+ /* begin */
42
+ 1: #include "ruby.h"
43
+ 2:
44
+ 3: /*top*/
45
+ 4: int main() {return 0;}
46
+ 5: int t() { yaml_get_version(); return 0; }
47
+ /* end */
48
+
49
+ --------------------
50
+
metadata ADDED
@@ -0,0 +1,194 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sauce_whisk
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Dylan Lacey
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-05-28 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: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: vcr
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ! '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: webmock
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rake
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
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ description: A Wrapper for the Sauce Labs REST API.
84
+ email:
85
+ - github@dylanlacey.com
86
+ executables: []
87
+ extensions: []
88
+ extra_rdoc_files: []
89
+ files:
90
+ - .gitignore
91
+ - Gemfile
92
+ - LICENSE.txt
93
+ - README.md
94
+ - Rakefile
95
+ - lib/sauce_whisk.rb
96
+ - lib/sauce_whisk/assets.rb
97
+ - lib/sauce_whisk/jobs.rb
98
+ - lib/sauce_whisk/rest_request_builder.rb
99
+ - lib/sauce_whisk/version.rb
100
+ - sauce_whisk.gemspec
101
+ - spec/fixtures/vcr_cassettes/assets.yml
102
+ - spec/fixtures/vcr_cassettes/jobs.yml
103
+ - spec/fixtures/vcr_cassettes/no_jobs.yml
104
+ - spec/fixtures/vcr_cassettes/rest_request.yml
105
+ - spec/lib/sauce_whisk/asset_spec.rb
106
+ - spec/lib/sauce_whisk/assets_spec.rb
107
+ - spec/lib/sauce_whisk/job_spec.rb
108
+ - spec/lib/sauce_whisk/jobs_spec.rb
109
+ - spec/lib/sauce_whisk/rest_request_builder_spec.rb
110
+ - spec/lib/sauce_whisk/sauce_whisk_spec.rb
111
+ - spec/spec_helper.rb
112
+ - vendor/psych/lib/psych.bundle
113
+ - vendor/psych/lib/psych.rb
114
+ - vendor/psych/lib/psych/class_loader.rb
115
+ - vendor/psych/lib/psych/coder.rb
116
+ - vendor/psych/lib/psych/core_ext.rb
117
+ - vendor/psych/lib/psych/deprecated.rb
118
+ - vendor/psych/lib/psych/exception.rb
119
+ - vendor/psych/lib/psych/handler.rb
120
+ - vendor/psych/lib/psych/handlers/document_stream.rb
121
+ - vendor/psych/lib/psych/handlers/recorder.rb
122
+ - vendor/psych/lib/psych/json/ruby_events.rb
123
+ - vendor/psych/lib/psych/json/stream.rb
124
+ - vendor/psych/lib/psych/json/tree_builder.rb
125
+ - vendor/psych/lib/psych/json/yaml_events.rb
126
+ - vendor/psych/lib/psych/nodes.rb
127
+ - vendor/psych/lib/psych/nodes/alias.rb
128
+ - vendor/psych/lib/psych/nodes/document.rb
129
+ - vendor/psych/lib/psych/nodes/mapping.rb
130
+ - vendor/psych/lib/psych/nodes/node.rb
131
+ - vendor/psych/lib/psych/nodes/scalar.rb
132
+ - vendor/psych/lib/psych/nodes/sequence.rb
133
+ - vendor/psych/lib/psych/nodes/stream.rb
134
+ - vendor/psych/lib/psych/omap.rb
135
+ - vendor/psych/lib/psych/parser.rb
136
+ - vendor/psych/lib/psych/scalar_scanner.rb
137
+ - vendor/psych/lib/psych/set.rb
138
+ - vendor/psych/lib/psych/stream.rb
139
+ - vendor/psych/lib/psych/streaming.rb
140
+ - vendor/psych/lib/psych/syntax_error.rb
141
+ - vendor/psych/lib/psych/tree_builder.rb
142
+ - vendor/psych/lib/psych/visitors.rb
143
+ - vendor/psych/lib/psych/visitors/depth_first.rb
144
+ - vendor/psych/lib/psych/visitors/emitter.rb
145
+ - vendor/psych/lib/psych/visitors/json_tree.rb
146
+ - vendor/psych/lib/psych/visitors/to_ruby.rb
147
+ - vendor/psych/lib/psych/visitors/visitor.rb
148
+ - vendor/psych/lib/psych/visitors/yaml_tree.rb
149
+ - vendor/psych/lib/psych/y.rb
150
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/Makefile
151
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/mkmf.log
152
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych.bundle
153
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych.o
154
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_emitter.o
155
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_parser.o
156
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_to_ruby.o
157
+ - vendor/psych/tmp/x86_64-darwin12.3.0/psych/1.9.3/psych_yaml_tree.o
158
+ homepage: http://www.github.com/dylanlacey/sauce_whisk
159
+ licenses:
160
+ - MIT
161
+ metadata: {}
162
+ post_install_message:
163
+ rdoc_options: []
164
+ require_paths:
165
+ - lib
166
+ required_ruby_version: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ! '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ required_rubygems_version: !ruby/object:Gem::Requirement
172
+ requirements:
173
+ - - ! '>='
174
+ - !ruby/object:Gem::Version
175
+ version: '0'
176
+ requirements: []
177
+ rubyforge_project:
178
+ rubygems_version: 2.0.3
179
+ signing_key:
180
+ specification_version: 4
181
+ summary: Sauce_Whisk lets you mix extra data into your Sauce test results! Fetch and
182
+ update Job details, screenshots, videos and logs.
183
+ test_files:
184
+ - spec/fixtures/vcr_cassettes/assets.yml
185
+ - spec/fixtures/vcr_cassettes/jobs.yml
186
+ - spec/fixtures/vcr_cassettes/no_jobs.yml
187
+ - spec/fixtures/vcr_cassettes/rest_request.yml
188
+ - spec/lib/sauce_whisk/asset_spec.rb
189
+ - spec/lib/sauce_whisk/assets_spec.rb
190
+ - spec/lib/sauce_whisk/job_spec.rb
191
+ - spec/lib/sauce_whisk/jobs_spec.rb
192
+ - spec/lib/sauce_whisk/rest_request_builder_spec.rb
193
+ - spec/lib/sauce_whisk/sauce_whisk_spec.rb
194
+ - spec/spec_helper.rb