webspec 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +15 -0
  2. data/lib/webspec.rb +2 -2
  3. data/lib/webspec/version.rb +1 -1
  4. metadata +5 -21
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ OTE3ZDZhMTUyNmMzM2Y5YmUwNDNhYjI5NjljNDBhNDMzZTNkNGE3Yw==
5
+ data.tar.gz: !binary |-
6
+ MDMzZmFjYWNmYzlhNTFhZDY1YmFiZmVjZWU4MWZiZWMwYTMwZGZhMw==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ N2FmYjQxMTcwMWZiM2FjMWM1NmE2NmE0MGU5MzVmMDM0MGVlOWU3MDViMDA4
10
+ NjkzZWVlN2VhNDlhMTZmMzNjMDExMzVjMDBlODRiZjI1MjYxYzc3NGI5MjJm
11
+ NTdiZjVhN2QxODY4YzVmZTA5MjIwYWMyODM5Njk0MWU1Zjk1Yjg=
12
+ data.tar.gz: !binary |-
13
+ MzE3ZmFhMjA0YTIxYjJjZTljNmY3OGUyM2QzYWM1ZmM0NTAzNjJkMDY4ZmY2
14
+ OTgwZDg1ZWJiYzgwZTRiMmM1OGIxYmNiODc2NzU0NDU3YThlY2I3YjE1NjA5
15
+ M2JiZjFiNGNkY2UyZmNlNzgwMjQ3ODliNDk2ZjQ4YWM2OWE1Zjg=
@@ -10,7 +10,7 @@ module Webspec
10
10
  include HTTParty
11
11
 
12
12
  class << self
13
- attr_accessor :api_key
13
+ attr_accessor :api_key, :run_options
14
14
 
15
15
  def base_url
16
16
  ENV['WEBSPEC_URL'] || "https://webspec.shellyapp.com"
@@ -23,7 +23,7 @@ module Webspec
23
23
  def create_run(run_params = {})
24
24
  allow_net_connect do
25
25
  url = "#{base_url}/projects/#{api_key}/runs.json"
26
- response = post(url, :body => {:run => run_params})
26
+ response = post(url, :body => {:run => run_params.merge(run_options || {})})
27
27
  Webspec::Run.new(response.to_hash)
28
28
  end
29
29
  end
@@ -1,3 +1,3 @@
1
1
  module Webspec
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Grzesiek Kołodziejczyk
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-20 00:00:00.000000000 Z
11
+ date: 2013-08-22 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec-core
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: httparty
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ! '>='
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ! '>='
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ! '>='
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ! '>='
60
53
  - !ruby/object:Gem::Version
@@ -62,7 +55,6 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rspec
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -99,33 +90,26 @@ files:
99
90
  - webspec.gemspec
100
91
  homepage: https://github.com/grk/webspec/
101
92
  licenses: []
93
+ metadata: {}
102
94
  post_install_message:
103
95
  rdoc_options: []
104
96
  require_paths:
105
97
  - lib
106
98
  required_ruby_version: !ruby/object:Gem::Requirement
107
- none: false
108
99
  requirements:
109
100
  - - ! '>='
110
101
  - !ruby/object:Gem::Version
111
102
  version: '0'
112
- segments:
113
- - 0
114
- hash: -3688418264047244615
115
103
  required_rubygems_version: !ruby/object:Gem::Requirement
116
- none: false
117
104
  requirements:
118
105
  - - ! '>='
119
106
  - !ruby/object:Gem::Version
120
107
  version: '0'
121
- segments:
122
- - 0
123
- hash: -3688418264047244615
124
108
  requirements: []
125
109
  rubyforge_project:
126
- rubygems_version: 1.8.24
110
+ rubygems_version: 2.0.3
127
111
  signing_key:
128
- specification_version: 3
112
+ specification_version: 4
129
113
  summary: Report rspec results to webspec
130
114
  test_files:
131
115
  - spec/spec_helper.rb