shoot 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc99bf8a217c9471a2f189b4b7e7cd584e5c6c94
4
- data.tar.gz: 5d90da38b68b264ae36acb79f434d4e260999d05
3
+ metadata.gz: b8cdeac72398c6ad021640a455b460f2e9c03b90
4
+ data.tar.gz: 0b709c5258ffb4cc973ed6193bb2f049ed009119
5
5
  SHA512:
6
- metadata.gz: a340553e0dc0811bba77654c81f5e5070de666b1580e871cf0cf4639452d0f64a2f4f50b52ca5c025c1f4725863140aa1162646e08c39a1a60f0bab71d73a8b7
7
- data.tar.gz: e27bb28b1d368aeffb52c3ba8a5409906ef2ac059a5e279fdc5d8e9bacd5cb586b19a3ee4225daf096739b134625ff313316defc5fb37de2644ea6caa41adec2
6
+ metadata.gz: bbe3a19d0669ba7c859ef1f8a784bab49dc30101e66ab2490409072369f21e07cbd9b4ec6c99543c5088bf29bac6221562a063e6c646526f76486ec1d661004c
7
+ data.tar.gz: a81a8f8ccb782f9a479baf9b99303cf4ef34f71c8beca8a893ed12743ead1b7e6167d841ec246f4e65c58045871b8d18ec40d2173aebf82b37ddb78092f6c7cf
data/README.md CHANGED
@@ -16,6 +16,8 @@ And then execute:
16
16
 
17
17
  $ bundle
18
18
 
19
+ Also add the following environment variables: `BROWSERSTACK_USER` and `BROWSERSTACK_KEY`. The way you do it is up to you (we recommend either dotenv or an export in your personal files).
20
+
19
21
  ## Usage
20
22
 
21
23
  Shoot installs a binary. To inspect it, just run:
@@ -34,7 +36,7 @@ The first thing you should do is:
34
36
  538 ios 7.0 iphone iPhone 5S
35
37
  539 ios 7.0 iphone iPhone 5C
36
38
 
37
- The `list` command basically fetches all browsers available on BrowserStack and caches them locally on `.browsers.json`. You can choose to add this file on yout `.gitignore`.
39
+ The `list` command basically fetches all browsers available on BrowserStack and caches them locally on `.screenshots/.browsers.json`. You can choose to add this folder on your `.gitignore`, since shoot will save all images there as well.
38
40
 
39
41
  Then, you can choose to activate the browsers you wanna use, based on id. Example:
40
42
 
data/lib/shoot/cli.rb CHANGED
@@ -81,7 +81,7 @@ module Shoot
81
81
 
82
82
  def fetch_json_and_prepare
83
83
  require 'rest_client'
84
- JSON.parse(RestClient.get("https://juanlulkin1:NDswkopCqKPmA9wWAQws@www.browserstack.com/automate/browsers.json")).tap do |json|
84
+ JSON.parse(RestClient.get("https://#{ENV['BROWSERSTACK_USER']}:#{ENV['BROWSERSTACK_KEY']}@www.browserstack.com/automate/browsers.json")).tap do |json|
85
85
  json.each_with_index do |browser, index|
86
86
  browser['id'] = index
87
87
  end
data/lib/shoot/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Shoot
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/shoot-0.0.2.gem ADDED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Lulkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-15 00:00:00.000000000 Z
11
+ date: 2015-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -128,6 +128,7 @@ files:
128
128
  - lib/shoot/cli.rb
129
129
  - lib/shoot/scenario.rb
130
130
  - lib/shoot/version.rb
131
+ - shoot-0.0.2.gem
131
132
  - shoot.gemspec
132
133
  homepage: ''
133
134
  licenses: