roundabout 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -28,7 +28,7 @@ And execute:
28
28
  % bundle
29
29
  ```
30
30
 
31
- Then add this line to your `spec/spec\_helper.rb`:
31
+ Then add this line to your `spec/spec_helper.rb`:
32
32
 
33
33
  ```ruby
34
34
  require 'roundabout/rspec'
@@ -17,7 +17,11 @@ module Roundabout
17
17
  when 'form'
18
18
  'purple'
19
19
  else
20
- 'blue'
20
+ if t['method'] != 'get'
21
+ 'purple'
22
+ else
23
+ 'blue'
24
+ end
21
25
  end
22
26
  g.add_edges from, to, color: color
23
27
  end
@@ -4,7 +4,7 @@ class Capybara::RackTest::Browser
4
4
  def follow_with_recording(method, path, attributes = {})
5
5
  return if path.gsub(/^#{request_path}/, '').start_with?('#')
6
6
  begin
7
- Roundabout.record_transition Roundabout.normalize_url(URI.parse(driver.current_url).path), Roundabout.normalize_url(path), method, :link
7
+ Roundabout.record_transition Roundabout.normalize_url(URI.parse(driver.current_url).path), Roundabout.normalize_url(path, method), method, :link
8
8
  rescue => e
9
9
  p e
10
10
  end
@@ -1,3 +1,3 @@
1
1
  module Roundabout
2
- VERSION = "0.0.1"
2
+ VERSION = '0.0.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roundabout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: