capybara_screenshot_idobata 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6ffbea02730032ee25006c4626420bbeb1b8f910
4
+ data.tar.gz: 8ec63be74af7e36f22fbea187589a664c54c0a9a
5
+ SHA512:
6
+ metadata.gz: b9156fa590db6cb4b9bcb92246c0c6fd0394b77708d82f07d112d89f2770ab0ec5e5201a97a83a6e80aab9cd3c6c5d3d67aa4834e1570af3c399098d14a07ac4
7
+ data.tar.gz: 21f21349bc722ab7bc7f6a83dab235916d6eb240d64e5eb173bc44ab6081d4feb4df5aff967b9f5c47259ed808960b7812d54e7e8ecd843c72bbfb7ac90e255a
Binary file
@@ -0,0 +1,2 @@
1
+ D,��i�
2
+ 3�b< %�S̯x�C�;U�?�&;�p/13(r�D����;~+s1�0� ^.�=Ka#��5<���P�\�y����`��K!�B��֫�@:���(������ ��B,”7QxM�7r5o��~�ɇ��/j�����T91jb����y8k�����0���>E"�i�
@@ -0,0 +1,22 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.bundle
19
+ *.so
20
+ *.o
21
+ *.a
22
+ mkmf.log
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ - "2.1.0"
5
+ - "2.1.1"
6
+ script: bundle exec rake
7
+ notifications:
8
+ webhooks:
9
+ - https://idobata.io/hook/6a98db40-ac68-45ec-a1b4-d8dd5851c2e3
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in capybara_screenshot_idobata.gemspec
4
+ gemspec
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Idobata team
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,99 @@
1
+ # Capybara Screenshot Idobata
2
+
3
+ [![Build Status](https://travis-ci.org/idobata/capybara_screenshot_idobata.png)](https://travis-ci.org/idobata/capybara_screenshot_idobata)
4
+
5
+ Save screenshot using [Capybara](https://github.com/jnicklas/capybara) and post to [Idobata](https://idobata.io).
6
+
7
+ For all users who met the failing tests only CI.
8
+
9
+ ## Usage
10
+
11
+ You can use `save_screenshot_and_post_to_idobata` in your feature spec:
12
+
13
+ ``` ruby
14
+ save_screenshot_and_post_to_idobata
15
+ ```
16
+
17
+ ## Installation
18
+
19
+ Add this line to your application's Gemfile:
20
+
21
+ ``` ruby
22
+ gem 'capybara_screenshot_idobata', group: :test
23
+ ```
24
+
25
+ And then execute:
26
+
27
+ ``` sh
28
+ $ bundle
29
+ ```
30
+
31
+ Or install it yourself as:
32
+
33
+ ``` sh
34
+ $ gem install capybara_screenshot_idobata
35
+ ```
36
+
37
+ ## Using with Cucumber
38
+
39
+ First, you need to setup Capybara: https://github.com/jnicklas/capybara#using-capybara-with-cucumber
40
+
41
+ Load the `capybara_screenshot_idobata/cucumber` module in your `features/support/env.rb` and configure your `hook_url`:
42
+
43
+ ``` ruby
44
+ require 'capybara_screenshot_idobata/cucumber'
45
+
46
+ CapybaraScreenshotIdobata.configure do |config|
47
+ config.hook_url = '<PUT YOUR GENERIC HOOK URL HERE>'
48
+ end
49
+ ```
50
+
51
+ ## Using with RSpec
52
+
53
+ First, you need to setup Capybara: https://github.com/jnicklas/capybara#using-capybara-with-rspec
54
+
55
+ Load the `capybara_screenshot_idobata/rspec` module in your `spec/spec_helper.rb` and configure your `hook_url`:
56
+
57
+ ``` ruby
58
+ require 'capybara_screenshot_idobata/rspec'
59
+
60
+ CapybaraScreenshotIdobata.configure do |config|
61
+ config.hook_url = '<PUT YOUR GENERIC HOOK URL HERE>'
62
+ end
63
+ ```
64
+
65
+ ## Configuration
66
+
67
+ You can configure the following options:
68
+
69
+ * `hook_url` (**required**)
70
+ * `message_format` (optional) - default: `:html`
71
+ * `:html` or `:text`
72
+ * `message_formatter` (optional)
73
+ * You can customize message format.
74
+
75
+ Example:
76
+
77
+ ``` ruby
78
+ CapybaraScreenshotIdobata.configure do |config|
79
+ config.hook_url = '<PUT YOUR GENERIC HOOK URL HERE>'
80
+ config.message_format = :text
81
+ config.message_formatter = proc {|filepath, line, context|
82
+ "hi: #{filepath}"
83
+ }
84
+ end
85
+ ```
86
+
87
+ ## Test
88
+
89
+ ``` sh
90
+ $ bundle exec rake
91
+ ```
92
+
93
+ ## Contributing
94
+
95
+ 1. Fork it ( https://github.com/idobata/capybara_screenshot_idobata/fork )
96
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
97
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
98
+ 4. Push to the branch (`git push origin my-new-feature`)
99
+ 5. Create a new Pull Request
@@ -0,0 +1,11 @@
1
+ require 'bundler/gem_tasks'
2
+
3
+ require 'cucumber/rake/task'
4
+ Cucumber::Rake::Task.new :features do |t|
5
+ t.cucumber_opts = 'features --format pretty'
6
+ end
7
+
8
+ require 'rspec/core/rake_task'
9
+ RSpec::Core::RakeTask.new :spec
10
+
11
+ task :default => [:spec, :features]
@@ -0,0 +1,30 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
3
+
4
+ require 'capybara_screenshot_idobata/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'capybara_screenshot_idobata'
8
+ spec.version = CapybaraScreenshotIdobata::VERSION
9
+ spec.authors = ['Ryunosuke SATO']
10
+ spec.email = ['tricknotes@idobata.io']
11
+ spec.summary = %q{Post screenshot to Idobata}
12
+ spec.description = %q{Post screenshot to Idobata}
13
+ spec.homepage = 'https://github.com/idobata/capybara_screenshot_idobata'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ['lib']
20
+
21
+ spec.add_dependency 'capybara', '~> 2.0'
22
+ spec.add_dependency 'rest_client'
23
+
24
+ spec.add_development_dependency 'bundler', '~> 1.5'
25
+ spec.add_development_dependency 'cucumber', '~> 1.3.0'
26
+ spec.add_development_dependency 'multipart-parser'
27
+ spec.add_development_dependency 'rake'
28
+ spec.add_development_dependency 'rspec', '~> 2.0'
29
+ spec.add_development_dependency 'webmock'
30
+ end
@@ -0,0 +1,5 @@
1
+ Feature: Work capybara_screenshot_idobata
2
+ Scenario: Post screenshot to Idobata
3
+ When Visit to "https://idobata.io/"
4
+ And Call `save_screenshot_and_post_to_idobata`
5
+ Then Post screenshot to Idobata
@@ -0,0 +1,19 @@
1
+ When /^Visit to "(.*?)"$/ do |_url|
2
+ # noop
3
+ end
4
+
5
+ When /^Call `save_screenshot_and_post_to_idobata`$/ do
6
+ stub_request(:post, 'idobata.io/hook/TOKEN').to_return(body: 'OK')
7
+
8
+ save_screenshot_and_post_to_idobata
9
+ end
10
+
11
+ Then /^Post screenshot to Idobata$/ do
12
+ expect(WebMock).to have_requested(:post, 'idobata.io/hook/TOKEN').with {|req|
13
+ params = parse_multipart(req)
14
+
15
+ expect(params['image'][:part].filename).to match(/^screenshot-\d+\.png$/)
16
+ expect(params['source'][:data]).to match('Screenshot from: ')
17
+ expect(params['format'][:data]).to eq('html')
18
+ }
19
+ end
@@ -0,0 +1,27 @@
1
+ require 'capybara/cucumber'
2
+ require 'rspec'
3
+ require 'cucumber/rspec/doubles'
4
+ require 'webmock/cucumber'
5
+
6
+ require_relative '../../spec/support/multipart_helper'
7
+ require 'capybara_screenshot_idobata/cucumber'
8
+
9
+ CapybaraScreenshotIdobata.configure do |config|
10
+ config.hook_url = 'http://idobata.io/hook/TOKEN'
11
+ end
12
+
13
+ Capybara.app = lambda {|env| [200, {}, ['hi']] }
14
+
15
+ Before do
16
+ allow(page.driver).to receive(:save_screenshot).and_return {|filepath|
17
+ File.write(filepath, "\x89PNG")
18
+ }
19
+ end
20
+
21
+ After do
22
+ Dir['screenshot-*.png'].each do |path|
23
+ File.unlink path
24
+ end
25
+ end
26
+
27
+ World MultipartHelper
@@ -0,0 +1,20 @@
1
+ module CapybaraScreenshotIdobata
2
+ autoload :DSL, 'capybara_screenshot_idobata/dsl'
3
+ autoload :VERSION, 'capybara_screenshot_idobata/version'
4
+
5
+ class << self
6
+ attr_accessor :hook_url, :message_format, :message_formatter
7
+
8
+ def configure
9
+ yield self
10
+ end
11
+ end
12
+
13
+ configure do |config|
14
+ config.message_format = :html
15
+ config.message_formatter = proc {|filepath, line, _context|
16
+ "Screenshot from: <code>#{filepath}:#{line}</code>"
17
+ }
18
+ end
19
+ end
20
+
@@ -0,0 +1,4 @@
1
+ require 'capybara_screenshot_idobata'
2
+ require 'capybara_screenshot_idobata/dsl'
3
+
4
+ World CapybaraScreenshotIdobata::DSL
@@ -0,0 +1,42 @@
1
+ require 'pathname'
2
+ require 'rest_client'
3
+
4
+ module CapybaraScreenshotIdobata
5
+ module DSL
6
+ def save_screenshot_and_post_to_idobata(filename = "screenshot-#{Time.now.to_i}.png", options = {})
7
+ raise 'missing config `CapybaraScreenshotIdobata.hook_url`' unless CapybaraScreenshotIdobata.hook_url
8
+
9
+ options = detect_default_option(Capybara.current_driver).merge(options)
10
+
11
+ save_screenshot filename, options
12
+
13
+ absolute_filepath, line = caller[0].split(':')
14
+
15
+ filepath = Pathname(absolute_filepath).relative_path_from(Pathname(Dir.pwd))
16
+
17
+ source = CapybaraScreenshotIdobata.message_formatter.call(filepath, line, self)
18
+
19
+ File.open(filename, 'rb') do |file|
20
+ RestClient.post(CapybaraScreenshotIdobata.hook_url,
21
+ {
22
+ source: source,
23
+ format: CapybaraScreenshotIdobata.message_format,
24
+ image: file
25
+ },
26
+ {
27
+ 'User-Agent' => "CapybaraScreenshotIdobata/v#{CapybaraScreenshotIdobata::VERSION}"
28
+ }
29
+ )
30
+ end
31
+ end
32
+
33
+ def detect_default_option(driver)
34
+ case driver
35
+ when :poltergeist
36
+ {full: true}
37
+ else
38
+ {}
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,20 @@
1
+ require 'erb'
2
+
3
+ require 'capybara_screenshot_idobata'
4
+ require 'capybara_screenshot_idobata/dsl'
5
+
6
+ RSpec.configure do |config|
7
+ config.include CapybaraScreenshotIdobata::DSL, type: :feature
8
+ end
9
+
10
+ CapybaraScreenshotIdobata.configure do |config|
11
+ config.message_formatter = proc {|file, line, context|
12
+ example = context.respond_to?(:example) ? context.example : RSpec.current_example # For RSpec 2/3 conpatiblity
13
+
14
+ <<-MESSAGE
15
+ Screenshot from: <code>#{ERB::Util.h(file)}:#{line}</code>
16
+ <br>
17
+ <b>#{ERB::Util.h(example.full_description)}</b>
18
+ MESSAGE
19
+ }
20
+ end
@@ -0,0 +1,3 @@
1
+ module CapybaraScreenshotIdobata
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,37 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'The request to Idobata', type: :feature do
4
+ before do
5
+ allow(page.driver).to receive(:save_screenshot).and_return {|filepath|
6
+ File.write(filepath, "\x89PNG")
7
+ }
8
+ end
9
+
10
+ after do
11
+ Dir['screenshot-*.png'].each do |path|
12
+ File.unlink path
13
+ end
14
+ end
15
+
16
+ before do
17
+ stub_request(:post, 'idobata.io/hook/TOKEN').to_return(body: 'OK')
18
+
19
+ save_screenshot_and_post_to_idobata
20
+ end
21
+
22
+ it 'should have "User-Agent" that including gem version' do
23
+ expect(WebMock).to have_requested(:post, 'idobata.io/hook/TOKEN').with {|req|
24
+ req.headers['User-Agent'] == "CapybaraScreenshotIdobata/v#{CapybaraScreenshotIdobata::VERSION}"
25
+ }
26
+ end
27
+
28
+ it 'should have body contained screenshot file with message' do
29
+ expect(WebMock).to have_requested(:post, 'idobata.io/hook/TOKEN').with {|req|
30
+ params = parse_multipart(req)
31
+
32
+ expect(params['image'][:part].filename).to match(/^screenshot-\d+\.png$/)
33
+ expect(params['source'][:data]).to match('Screenshot from: ')
34
+ expect(params['format'][:data]).to eq('html')
35
+ }
36
+ end
37
+ end
@@ -0,0 +1,20 @@
1
+ require 'capybara/rspec'
2
+ require 'capybara_screenshot_idobata/rspec'
3
+
4
+ require 'webmock/rspec'
5
+
6
+ Dir[File.dirname(__FILE__) + '/support/**/*.rb'].each { |f| require f }
7
+
8
+ RSpec.configure do |config|
9
+ config.treat_symbols_as_metadata_keys_with_true_values = true
10
+ config.run_all_when_everything_filtered = true
11
+ config.filter_run :focus
12
+
13
+ config.include MultipartHelper, type: :feature
14
+ end
15
+
16
+ CapybaraScreenshotIdobata.configure do |config|
17
+ config.hook_url = 'http://idobata.io/hook/TOKEN'
18
+ end
19
+
20
+ Capybara.app = lambda {|env| [200, {}, ['hi']] }
@@ -0,0 +1,20 @@
1
+ require 'multipart_parser/reader'
2
+
3
+ module MultipartHelper
4
+ def parse_multipart(req)
5
+ content_type = req.headers['Content-Type']
6
+ boundary = MultipartParser::Reader.extract_boundary_value(content_type)
7
+ params = {}
8
+
9
+ reader = MultipartParser::Reader.new(boundary)
10
+ reader.on_part do |part|
11
+ params[part.name] = {part: part, data: ''}
12
+ part.on_data do |data|
13
+ params[part.name][:data] << data
14
+ end
15
+ end
16
+ reader.write req.body
17
+
18
+ params
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,201 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: capybara_screenshot_idobata
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ryunosuke SATO
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDLDCCAhSgAwIBAgIBATANBgkqhkiG9w0BAQUFADA8MQwwCgYDVQQDDANnZWQx
14
+ FzAVBgoJkiaJk/IsZAEZFgdfYWVyaWVfMRMwEQYKCZImiZPyLGQBGRYDb3JnMB4X
15
+ DTEzMDgxMjA3MTIwNVoXDTE0MDgxMjA3MTIwNVowPDEMMAoGA1UEAwwDZ2VkMRcw
16
+ FQYKCZImiZPyLGQBGRYHX2FlcmllXzETMBEGCgmSJomT8ixkARkWA29yZzCCASIw
17
+ DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAM7Sou14r78CbjbzZ6amfIebM2C4
18
+ zcyMj/isZvhCyzyeNrvMgHRDvQkpxThvXEPVImIJOv0Ajw/jwrrDwFcmxcCJS5mT
19
+ e1zHgOirFxbH1zXDEV3zylZw1Qc7hj48ITGjKNqHsf5mo4WcwrZ/ueySqU1cx6Bv
20
+ DEEEAOpKGq1El5/NgdjazX7nMNxgwe5jWKXf3GiCZBBCfKUL94bobBHbaLAHto7u
21
+ HvJHPP80XR92ClAaw9nW3eh4vxUVa2mukzFU8Ly8hnZJq6XJ35YCQYGS5YRQriCb
22
+ gVE113aLIcEZuLlg507tvjyRYleENjnDbZxfZ5mj9TpzqopLQldbQvY03WkCAwEA
23
+ AaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFIS69Szc4Ei8
24
+ B2ebB48qReRKMnM0MA0GCSqGSIb3DQEBBQUAA4IBAQDDD4F1tMGydcf25g8Regbi
25
+ FV6iO9W7c7ggV2zEN929hNvsvNlLBtM9qgdxreLjU8tCnIZuNrYNGlOvy9pukVFl
26
+ CgtLzLWIMniWZdynf3v7qKw8JYv6mrM5NMFSYbBX/Blp5LJuXPxncUlh7pcaIpC9
27
+ PnjRRAR5zwSRp7+WGEHddwQylVKivrp5+Ee+2Q9dwXq6FeZyEks25Uw+Ygk2wEtw
28
+ XCQCcbiypGTMBlf09ttUTOPHd8Rip20lnRBquHou3X2PzpsEXeXIIVZubZRS8HJH
29
+ 73gf2r/DN19jcbwtGBurcOmFpSjV+2PCN7rHR0Mn3mgCpHQlGqeekIT11tx2UA6T
30
+ -----END CERTIFICATE-----
31
+ date: 2014-04-25 00:00:00.000000000 Z
32
+ dependencies:
33
+ - !ruby/object:Gem::Dependency
34
+ name: capybara
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '2.0'
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: rest_client
49
+ requirement: !ruby/object:Gem::Requirement
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
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: bundler
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: '1.5'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - "~>"
73
+ - !ruby/object:Gem::Version
74
+ version: '1.5'
75
+ - !ruby/object:Gem::Dependency
76
+ name: cucumber
77
+ requirement: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - "~>"
80
+ - !ruby/object:Gem::Version
81
+ version: 1.3.0
82
+ type: :development
83
+ prerelease: false
84
+ version_requirements: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - "~>"
87
+ - !ruby/object:Gem::Version
88
+ version: 1.3.0
89
+ - !ruby/object:Gem::Dependency
90
+ name: multipart-parser
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
+ - !ruby/object:Gem::Dependency
104
+ name: rake
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rspec
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '2.0'
124
+ type: :development
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: '2.0'
131
+ - !ruby/object:Gem::Dependency
132
+ name: webmock
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ description: Post screenshot to Idobata
146
+ email:
147
+ - tricknotes@idobata.io
148
+ executables: []
149
+ extensions: []
150
+ extra_rdoc_files: []
151
+ files:
152
+ - ".gitignore"
153
+ - ".rspec"
154
+ - ".travis.yml"
155
+ - Gemfile
156
+ - LICENSE.txt
157
+ - README.md
158
+ - Rakefile
159
+ - capybara_screenshot_idobata.gemspec
160
+ - features/idobata.feature
161
+ - features/step_definitions/steps.rb
162
+ - features/support/env.rb
163
+ - lib/capybara_screenshot_idobata.rb
164
+ - lib/capybara_screenshot_idobata/cucumber.rb
165
+ - lib/capybara_screenshot_idobata/dsl.rb
166
+ - lib/capybara_screenshot_idobata/rspec.rb
167
+ - lib/capybara_screenshot_idobata/version.rb
168
+ - spec/post_screenshot_spec.rb
169
+ - spec/spec_helper.rb
170
+ - spec/support/multipart_helper.rb
171
+ homepage: https://github.com/idobata/capybara_screenshot_idobata
172
+ licenses:
173
+ - MIT
174
+ metadata: {}
175
+ post_install_message:
176
+ rdoc_options: []
177
+ require_paths:
178
+ - lib
179
+ required_ruby_version: !ruby/object:Gem::Requirement
180
+ requirements:
181
+ - - ">="
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ requirements: []
190
+ rubyforge_project:
191
+ rubygems_version: 2.2.2
192
+ signing_key:
193
+ specification_version: 4
194
+ summary: Post screenshot to Idobata
195
+ test_files:
196
+ - features/idobata.feature
197
+ - features/step_definitions/steps.rb
198
+ - features/support/env.rb
199
+ - spec/post_screenshot_spec.rb
200
+ - spec/spec_helper.rb
201
+ - spec/support/multipart_helper.rb
Binary file