page_record 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +9 -0
- data/Gemfile.lock +1 -1
- data/lib/page_record/class_methods.rb +1 -1
- data/lib/page_record/version.rb +1 -1
- data/page_record.gemspec +2 -2
- metadata +8 -7
data/CHANGES.md
CHANGED
@@ -4,3 +4,12 @@
|
|
4
4
|
* __BREAKING CHANGE__ Changed class name `PageRecord::PageRecord` to `PageRecord::Base`. Just a rename should be enough.
|
5
5
|
* Added `add_attributes` class method. This allows you to just add extra attributes instead of specifying them all
|
6
6
|
* Added `host_class` class method. Now you are able to set any class as a host class instead of beeing glued to xxxxPage`
|
7
|
+
|
8
|
+
##V0.2.1
|
9
|
+
* Fixed a bug. PageRecord stack dumped when the class contained the name `Page`
|
10
|
+
|
11
|
+
|
12
|
+
##V0.3.0
|
13
|
+
* Fixed a bug. PageRecord stack dumped when the class contained the name `Page`
|
14
|
+
* Added rails helpers to make it easy in rails to have a form, recognised by PageRecord
|
15
|
+
* Added other helpers to mke it easy to add `actions` and `attribute` tags
|
data/Gemfile.lock
CHANGED
@@ -107,7 +107,7 @@ module PageRecord
|
|
107
107
|
#
|
108
108
|
# @param new_attributes [Array] The attributes the page regognises
|
109
109
|
#
|
110
|
-
# @return
|
110
|
+
# @return [Array] returns the array of attributes the page recognises
|
111
111
|
# Example:
|
112
112
|
#
|
113
113
|
# ```ruby
|
data/lib/page_record/version.rb
CHANGED
data/page_record.gemspec
CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = PageRecord::VERSION
|
9
9
|
spec.authors = ["Bert Hajee"]
|
10
10
|
spec.email = ["hajee@moretIA.com"]
|
11
|
-
spec.description = %q{ActiveRecord like reading from specialy formatted HTML-page}
|
12
|
-
spec.summary = %q{Using some specialy formatted 'data-...' tags you can read records from HTML pages like an ActiveRecord page}
|
11
|
+
spec.description = %q{Page Object implementation with ActiveRecord like reading from specialy formatted HTML-page}
|
12
|
+
spec.summary = %q{Page Object implementation. Using some specialy formatted 'data-...' tags you can read records from HTML pages like an ActiveRecord page}
|
13
13
|
spec.homepage = "https://github.com/appdrones/page_record"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: page_record
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-07-
|
12
|
+
date: 2013-07-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -107,7 +107,8 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
|
-
description: ActiveRecord like reading from specialy
|
110
|
+
description: Page Object implementation with ActiveRecord like reading from specialy
|
111
|
+
formatted HTML-page
|
111
112
|
email:
|
112
113
|
- hajee@moretIA.com
|
113
114
|
executables: []
|
@@ -167,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
167
168
|
version: '0'
|
168
169
|
segments:
|
169
170
|
- 0
|
170
|
-
hash:
|
171
|
+
hash: 3837164145200733235
|
171
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
173
|
none: false
|
173
174
|
requirements:
|
@@ -176,14 +177,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
177
|
version: '0'
|
177
178
|
segments:
|
178
179
|
- 0
|
179
|
-
hash:
|
180
|
+
hash: 3837164145200733235
|
180
181
|
requirements: []
|
181
182
|
rubyforge_project:
|
182
183
|
rubygems_version: 1.8.24
|
183
184
|
signing_key:
|
184
185
|
specification_version: 3
|
185
|
-
summary: Using some specialy formatted 'data-...' tags
|
186
|
-
pages like an ActiveRecord page
|
186
|
+
summary: Page Object implementation. Using some specialy formatted 'data-...' tags
|
187
|
+
you can read records from HTML pages like an ActiveRecord page
|
187
188
|
test_files:
|
188
189
|
- spec/page_record_spec.rb
|
189
190
|
- spec/spec_helper.rb
|