page_right 0.5 → 0.5.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -3
- data/README.md +3 -11
- data/lib/page_right/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e2b9e97b310af616c8827d1a8b5533c5bad7e33
|
|
4
|
+
data.tar.gz: e1179b19f7de8ddcddb8a618e367a6b47b186e5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e774e9c381269a72581acf4995f4559c9a79a7809105546b6da7728e9b775493587ecef9fc6483fee1b1581706dccf5abcbb6b43d025126030802d2e6148320
|
|
7
|
+
data.tar.gz: 9270a372019f6dca39bc70b1f550786cf9b6c7ae117c62563baf7cdc33dc99cccfd9d04c5e894e08605b7327f5009e65ffdfee976be57d8c24f6c7024a071dde
|
data/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,24 @@
|
|
|
1
|
+
0.5.2
|
|
2
|
+
--------------------
|
|
3
|
+
|
|
4
|
+
- Minor change to version.rb
|
|
5
|
+
|
|
6
|
+
0.5.1
|
|
7
|
+
--------------------
|
|
8
|
+
|
|
9
|
+
- Minor change to the CHANGELOG and the README.
|
|
10
|
+
|
|
1
11
|
0.5
|
|
2
12
|
--------------------
|
|
3
13
|
|
|
4
|
-
- Made the component libraies individually loadable via
|
|
14
|
+
- Made the component libraies individually loadable via a railtie. Added capybara depdendency
|
|
5
15
|
|
|
6
16
|
0.4.1
|
|
7
17
|
--------------------
|
|
8
18
|
|
|
9
|
-
- Minor fix to README.md page
|
|
19
|
+
- Minor fix to README.md page
|
|
10
20
|
|
|
11
21
|
0.4
|
|
12
22
|
--------------------
|
|
13
23
|
|
|
14
|
-
- Migrated original code from the old page-right gem to this new page_right gem and separated out the methods into sub files
|
|
24
|
+
- Migrated original code from the old page-right gem to this new page_right gem and separated out the methods into sub files
|
data/README.md
CHANGED
|
@@ -1,29 +1,21 @@
|
|
|
1
1
|
## PageRight Gem - Checks the content of your rendered web pages. `Currently under development !!`
|
|
2
2
|
|
|
3
|
-
Version 0.5
|
|
3
|
+
Version 0.5.2 24th November 2014
|
|
4
4
|
|
|
5
5
|
A very simple gem that contains a few helper/wrapper methods utilising Capybara to aid testing the contents of a rendered web page when writing integration tests.
|
|
6
6
|
|
|
7
|
-
It works with Test::Unit for now since this gem simply
|
|
7
|
+
It works with Test::Unit for now since this gem simply mixes in methods to ActiveSupport::TestCase, but I hope to develop it further to be used with RSpec and Cucumber.
|
|
8
8
|
|
|
9
9
|
Semantic versioning is applied to this gem.
|
|
10
10
|
|
|
11
11
|
### Installation:
|
|
12
12
|
|
|
13
|
-
Include it in your Gemfile.
|
|
13
|
+
Include it in your Gemfile and the methods will be mixed in to ActiveSupport::TestCase.
|
|
14
14
|
|
|
15
15
|
```ruby
|
|
16
16
|
gem 'page_right'
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
Then require one or more of the components your want to use in your `test_helper.rb` file. Currently the gem performs checks on text, css and images in your web pages.
|
|
20
|
-
|
|
21
|
-
```ruby
|
|
22
|
-
require 'page_right/text_checks'
|
|
23
|
-
require 'page_right/css_checks'
|
|
24
|
-
require 'page_right/image_checks'
|
|
25
|
-
```
|
|
26
|
-
|
|
27
19
|
### Method Descriptions:
|
|
28
20
|
|
|
29
21
|
#### text_in_page(content, flag=true)
|
data/lib/page_right/version.rb
CHANGED