page-objectify 0.0.2 → 0.0.3

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: 2e417ae16edad20693749b84059c88413fae8636
4
- data.tar.gz: 4db57673c01f2bf12050c57e06f2a9ab6304af44
3
+ metadata.gz: db1c3f6281b180699aae5fbdadb76584b565e6d2
4
+ data.tar.gz: 563255e13874d944f33ebbaf15aa3c4d898b0cf3
5
5
  SHA512:
6
- metadata.gz: 6f6785027783a751977dad1bde51b0028bac70eb94e43a269dcec69e12cf53df3fc7bd9094b6e056441be647589246d882a0a1073e608543fca1ab874ffbc2ea
7
- data.tar.gz: d9c093ed86d7f5a1396783e5ffee3df5306b010a34df03d8231270a8b6583c60a8e110831c63cde95162f388f69e72a5b47ac22cfca755b1fde8ce9eafefdc3a
6
+ metadata.gz: 58f65a4a74028fd2d34da68980798f421cde3cef3df5a38d7ac786e36d276831f2c37674a6a55768be762a8cc88e613484bf78000ea80945fb0f110e74861373
7
+ data.tar.gz: 7ad4f65a938af7ced6200f58f73fd55cb4118d8771c68073b17d39fca502d4d76c9b698ff0c5dd8f351186342d8e193a50ce5fefa7bab251a5641128dfb6dc6b
data/CHANGELOG.md ADDED
@@ -0,0 +1,23 @@
1
+ # Change Log
2
+
3
+ ## [v0.0.2](https://github.com/smoll/page-objectify/tree/v0.0.2) (2015-11-10)
4
+ [Full Changelog](https://github.com/smoll/page-objectify/compare/v0.0.1...v0.0.2)
5
+
6
+ **Implemented enhancements:**
7
+
8
+ - Write simple \#wait\_for\_ajax helper \(assume jquery is available, for now\) [\#5](https://github.com/smoll/page-objectify/issues/5)
9
+ - Add timestamped comment at the top to indicate when the file was generated [\#4](https://github.com/smoll/page-objectify/issues/4)
10
+ - Make base dir \(e.g. /pages\) more easily configurable [\#3](https://github.com/smoll/page-objectify/issues/3)
11
+
12
+ **Merged pull requests:**
13
+
14
+ - Wrote \#wait\_for\_ajax helper; useful for implementing \#visit without sleeps [\#7](https://github.com/smoll/page-objectify/pull/7) ([smoll](https://github.com/smoll))
15
+
16
+ ## [v0.0.1](https://github.com/smoll/page-objectify/tree/v0.0.1) (2015-11-09)
17
+ **Merged pull requests:**
18
+
19
+ - Clean up logging and requiring [\#1](https://github.com/smoll/page-objectify/pull/1) ([smoll](https://github.com/smoll))
20
+
21
+
22
+
23
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
data/README.md CHANGED
@@ -87,7 +87,7 @@ end
87
87
 
88
88
  Currently, only those HTML elements with a **non-empty id attribute** will have PageObject accessors generated for them.
89
89
 
90
- For another example (using watir-webdriver and phantomjs via the `phantomjs` gem), see [this integration test](features/generator.feature).
90
+ For another example (using watir-webdriver and phantomjs via the `phantomjs` gem), see [this integration test](features/generate_page_class.feature).
91
91
 
92
92
  ## Debugging & Development
93
93
 
data/Rakefile CHANGED
@@ -13,13 +13,30 @@ Cucumber::Rake::Task.new do |t|
13
13
  t.cucumber_opts << "--format pretty"
14
14
  end
15
15
 
16
- Cucumber::Rake::Task.new(:cucumber_wip) do |t|
16
+ Cucumber::Rake::Task.new(:cucumber_wip, "Run @wip Cucumber features, fail if any pass") do |t|
17
17
  t.cucumber_opts = "-p wip"
18
18
  end
19
19
 
20
+ Cucumber::Rake::Task.new(:outie, "Run outie test(s) alone, faster feedback locally") do |t|
21
+ t.cucumber_opts = ""
22
+ t.cucumber_opts << "--format pretty"
23
+ t.cucumber_opts << "features/outside-in"
24
+ end
25
+
26
+ # Manually verify CHANGELOG.md before pushing
20
27
  task :changelog do
21
28
  sh "github_changelog_generator smoll/page-objectify"
22
29
  end
23
30
 
31
+ task :auto_changelog do
32
+ sh "github_changelog_generator smoll/page-objectify"
33
+ sh "git add CHANGELOG.md"
34
+ sh "git commit -m 'Update CHANGELOG.md at #{Time.now}'"
35
+ sh "git push origin master"
36
+ end
37
+
38
+ desc "[Automatically] release v#{Gem::Specification::load("page-objectify.gemspec").version} and push its changelog"
39
+ task autopilot: [:release, :auto_changelog]
40
+
24
41
  task test: [:spec, :cucumber]
25
42
  task default: :test
@@ -3,6 +3,7 @@ require "page-objectify/config"
3
3
  require "page-objectify/dom"
4
4
  require "page-objectify/dom_to_ruby"
5
5
  require "page-objectify/logging"
6
+ require "page-objectify/version"
6
7
 
7
8
  module PageObjectify
8
9
  class Generator
@@ -1,3 +1,3 @@
1
1
  module PageObjectify
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: page-objectify
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
  - Shujon Mollah
@@ -174,6 +174,7 @@ files:
174
174
  - ".gitignore"
175
175
  - ".rspec"
176
176
  - ".travis.yml"
177
+ - CHANGELOG.md
177
178
  - Gemfile
178
179
  - README.md
179
180
  - Rakefile