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 +4 -4
- data/README.md +25 -10
- data/cukestep.gemspec +1 -0
- data/lib/cukestep/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ffcdbafa813ddd9c787be768ab2a345968d5050
|
4
|
+
data.tar.gz: 753c807017518a30ce63fb4e6077307ed9082dc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-

|
38
|
-

|
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
|
+

|
62
|
+
|
63
|
+

|
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
data/lib/cukestep/version.rb
CHANGED
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
|
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-
|
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
|