capybara-ng 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee1078d214243d3fe0d47d1cffa2c797a6622b2d
4
- data.tar.gz: 3bbaf75d9cc3494ebbcd2d970f625a8c4d617ed3
3
+ metadata.gz: 272b3ae336ae30ce0cfc4a0b336f9e59a56d5f77
4
+ data.tar.gz: 259f32420faf615fe85b396b9cbe49913849440d
5
5
  SHA512:
6
- metadata.gz: 1dc56cb845ab105cdad7b127e6114ba2cee00397dfc43f4de9a333c9da26f59c50f28b573128a37e4fd284a7d48114365bfd822db6afbf0b3b6d814635eadf10
7
- data.tar.gz: 66bf50cf8c1c101c923db57f142ff8b0f67899098ca4caa32aa0b7f090d75000888f33833adf559f1febd45f90e3d1c0e1bd4726af1ab23281ee9508aa0b02ee
6
+ metadata.gz: 7ad84aeb366c9c2f9416fc5d61ba43b870ee7518325b0ec1d6d7c431fed0386fc22078dc211bce90dfcd0df9a9b1ab7afa9bea643352ab6e1c4b71aee660dcdc
7
+ data.tar.gz: 7a67b059a94349fa8e033bc337d8a966d9014826c47640cd8fc650a98cd0d44d0be37fb0aa503f88a116b4946087a85b8393fdb3f7081fc250dff13d784bdf8a
data/README.md CHANGED
@@ -36,7 +36,7 @@ Or install it yourself as:
36
36
  spec/spec_helper.rb
37
37
  ````ruby
38
38
  RSpec.configure do |config|
39
- config.include Angular::DSL
39
+ config.include ::Angular::DSL
40
40
  ...
41
41
  end
42
42
  ```
@@ -1,4 +1,4 @@
1
1
  # bind logic to capybara
2
2
  class Capybara::Session
3
- include Angular::DSL
3
+ include ::Angular::DSL
4
4
  end
data/lib/angular/dsl.rb CHANGED
@@ -1,14 +1,14 @@
1
1
  module Angular
2
2
  module DSL
3
3
  def ng
4
- @ng ||= Angular::Setup.new(Capybara.current_session)
4
+ @ng ||= ::Angular::Setup.new(Capybara.current_session)
5
5
  end
6
6
 
7
7
  def ng_root_selector(root_selector = nil)
8
8
  if root_selector
9
9
  @ng_root_selector = root_selector
10
10
  end
11
- @ng_root_selector || Angular.root_selector
11
+ @ng_root_selector || ::Angular.root_selector
12
12
  end
13
13
 
14
14
  def ng_install
data/lib/angular/setup.rb CHANGED
@@ -27,7 +27,7 @@ module Angular
27
27
  opt = {
28
28
  nodes: true,
29
29
  using: nil,
30
- rootSelector: Angular.root_selector,
30
+ rootSelector: ::Angular.root_selector,
31
31
  }.merge(opt)
32
32
  make_call(method, params, opt)
33
33
  end
@@ -1,3 +1,3 @@
1
1
  module Angular
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capybara-ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - kari
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-16 00:00:00.000000000 Z
11
+ date: 2015-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler