pudi 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: d38f76df5cec086b7d1e47a1d30dbf9032298eb9
4
- data.tar.gz: 9e7bd9e79a5b10017b64d7a906dec45d4187e53b
3
+ metadata.gz: d021257a38926a9936790bdf960aae0d63a85d47
4
+ data.tar.gz: 129ccb4213a2579afc008904bf1f2cb8636bf838
5
5
  SHA512:
6
- metadata.gz: c243838dea1d34705a2b392f6e310ef9cdd072fe196d1063845ef57ec1ef30affd157e5b175dc902e4beb76489016803db1984f82872680d4f5d21dd19ddade9
7
- data.tar.gz: a347c22f23d57567a2193b87b8e1d521bd092f4ced8395ffecb37024b911a753d6b2e568938ff238264d2b1f255a8625de7c3a908947081c80345a7b6d729932
6
+ metadata.gz: f1e895080c7301f3207c62b9dfc63a2afc6040b92744a10ef2e94cf9fca3f382264f95bb86f4d60de26d23a074a337dd17d66dd76573fc845bbf066c8388c3a1
7
+ data.tar.gz: 151f6130e64af0abbfd18d6f0c40ac3529eef87870096aad46fddbb90967748fccbcb8d558424e93778428412964c46ff35de2787ad8bb0159f4e58b4f52cecf
data/lib/pudi/capybara.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  require 'capybara'
2
+ require 'selenium-webdriver'
3
+
2
4
  module PudiCapybara
3
5
  def getHttpRequestCount
4
- page.find('HttpRequestCount')[:count]
6
+ page.find('html').native.find_element(:id,'httpcount').attribute('count')
5
7
  end
6
8
  end
7
9
 
data/lib/pudi/pudi.xpi CHANGED
Binary file
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pudi
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
  - deepak p
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-23 00:00:00.000000000 Z
11
+ date: 2014-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capybara
@@ -94,17 +94,16 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description: Assert browser requests
97
+ description: Get count of http request fired by a web app
98
98
  email:
99
99
  executables: []
100
100
  extensions: []
101
101
  extra_rdoc_files: []
102
102
  files:
103
- - lib/pubi
104
103
  - lib/pudi.rb
105
104
  - lib/pudi/capybara.rb
106
105
  - lib/pudi/pudi.xpi
107
- homepage: https://github.com/paramadeep/pudi.rb
106
+ homepage: https://github.com/paramadeep/pudi
108
107
  licenses:
109
108
  - MIT
110
109
  metadata: {}
@@ -127,5 +126,5 @@ rubyforge_project:
127
126
  rubygems_version: 2.2.2
128
127
  signing_key:
129
128
  specification_version: 4
130
- summary: Assert browser requests
129
+ summary: Get count of http request fired by a web app
131
130
  test_files: []
data/lib/pubi DELETED
File without changes