cukestep 0.0.5 → 0.1.0

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: 605c63b83001cbc7273e12f222001fd86b5734bb
4
- data.tar.gz: 0f1cebe7d9ce9984188c61b46ffc32e4f28b7f6f
3
+ metadata.gz: 3ffcdbafa813ddd9c787be768ab2a345968d5050
4
+ data.tar.gz: 753c807017518a30ce63fb4e6077307ed9082dc9
5
5
  SHA512:
6
- metadata.gz: a9d850b4a4992510747e98334108f500403205d7ab370dbdda66895f23f27368397b80176048159600328d08513d47b72e7f64bdc958c2f2a4f5603d1b744be1
7
- data.tar.gz: a2641dddf1f60bd37cb3b3bfb6acf7c056a73e0b7ff6b6106db1f53677af2b0ec739bae8965cd96e3d120a2c37b6e99e4c6552dad41e19cb19f6b7239b0c2c51
6
+ metadata.gz: e6d8aa6d17915a892aac3e6f4a5f8becb61d764483855173c97489b976cc4ef0b61a4468534e4568f306011f66dae424d0120a759574d098cdcf66a76590f025
7
+ data.tar.gz: bf165a6e8fcb56e3383fe1f58b18c5a7da6b87e33fbfc660f8b7a1110198ce7915be94289bf2baa02d7b8ffe794f7d07db5f31a4fc94b02765f449189b6da637
data/README.md CHANGED
@@ -20,28 +20,23 @@ Or install it yourself as:
20
20
 
21
21
  ### Mount the engine
22
22
 
23
+ # routes.rb
23
24
  mount Cukestep::Engine => "/cukestep", as: "cukestep"
24
25
 
25
26
  ### Start your Rails application and navigate to
26
27
 
27
28
  /cukestep/steps
28
29
 
29
- ### Pivotal Tracker
30
-
31
- Inject `/assets/bookmarklet.js` in your browser to decorate the Pivotal Tracker story description field.
32
-
33
- Note: Pivotal Tracker runs using SSL. In order to test locally, run Charles, map https->http, configure SSL proxying and visit the endpoint URL in the browser to accept the SSL certification restriction.
34
-
35
- ### Examples
36
-
37
- ![Pivotal Tracker Cukestep Example](http://cl.ly/Vox0/pivotal_tracker_cukestep_example.png.png)
38
- ![Trello Cukestep Example](http://cl.ly/VpE7/trello_cukestep_example.png.png)
30
+ At this point - you should be seeing a JSON output of your Gherkin steps.
39
31
 
40
32
  ### Configuration
41
33
 
34
+ *Rails*
35
+
42
36
  To exclude a support file from the autoload path, create an initializer class and redefine `excluded_code_file_paths`.
43
37
 
44
38
  ```ruby
39
+ # #{Rails.root}/config/initializers/cukestep_config.rb
45
40
  class CukestepConfig < Cukestep::Configuration
46
41
  def excluded_code_file_paths
47
42
  ['features/support/extranet.rb']
@@ -51,6 +46,26 @@ end
51
46
  Cukestep.config = CukestepConfig.new
52
47
  ```
53
48
 
49
+ *Browser*
50
+
51
+ Modify `Cukestep.url =` within [example/assets/bookmarklet.js](https://github.com/adriancb/cukestep/blob/master/example/assets/bookmarklet.js) and change the URL to point to your local development environment. For production, modify the URL to point to your production server.
52
+
53
+ *Note:* Pivotal Tracker and Trello run on SSL. In order to test locally, run [Charles Proxy](http://www.charlesproxy.com/), map https->http, configure SSL proxying and visit the endpoint URL in the browser to accept the SSL certification restriction.
54
+
55
+ ### Pivotal Tracker and Trello
56
+
57
+ Inject [example/assets/bookmarklet.js](https://github.com/adriancb/cukestep/blob/master/example/assets/bookmarklet.js) in your browser as a bookmarklet to decorate the Pivotal Tracker story/Trello description field.
58
+
59
+ ### Examples - Pivotal Tracker and Trello
60
+
61
+ ![Pivotal Tracker Cukestep Example](http://cl.ly/Vox0/pivotal_tracker_cukestep_example.png.png)
62
+
63
+ ![Trello Cukestep Example](http://cl.ly/VpE7/trello_cukestep_example.png.png)
64
+
65
+ ### Shoutouts
66
+
67
+ Cukestep makes heavy use of [At.js](https://github.com/ichord/At.js).
68
+
54
69
  ## Contributing
55
70
 
56
71
  1. Fork it ( https://github.com/[my-github-username]/cukestep/fork )
data/cukestep.gemspec CHANGED
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake"
23
23
 
24
24
  spec.add_dependency "rails"
25
+ spec.add_dependency "capybara"
25
26
  spec.add_dependency "cucumber"
26
27
  spec.add_dependency "cucumber-rails"
27
28
  end
@@ -1,3 +1,3 @@
1
1
  module Cukestep
2
- VERSION = "0.0.5"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cukestep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adrian CB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-02 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,6 +52,20 @@ dependencies:
52
52
  version: '0'
53
53
  prerelease: false
54
54
  type: :runtime
55
+ - !ruby/object:Gem::Dependency
56
+ name: capybara
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - '>='
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ prerelease: false
68
+ type: :runtime
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: cucumber
57
71
  version_requirements: !ruby/object:Gem::Requirement