edtf-rails 0.2.2 → 0.2.4
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.
- data/VERSION +1 -1
- data/edtf-rails.gemspec +2 -2
- data/spec/edtf-rails_spec.rb +6 -0
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/edtf-rails.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "edtf-rails"
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["masciugo"]
|
12
|
-
s.date = "2013-11-
|
12
|
+
s.date = "2013-11-18"
|
13
13
|
s.description = "An ActiveRecord extension to deal with Extended DateTime Format attributes"
|
14
14
|
s.email = "masciugo@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
data/spec/edtf-rails_spec.rb
CHANGED
@@ -159,6 +159,12 @@ describe EdtfRailsTest::Model do
|
|
159
159
|
end
|
160
160
|
end
|
161
161
|
end
|
162
|
+
context "when initialized with virtual attributes:", :wip => true do
|
163
|
+
context "year 1965" do
|
164
|
+
let(:params) { {:dob_y => "1965" } }
|
165
|
+
its(:dob_y) {should == '1965' }
|
166
|
+
end
|
167
|
+
end
|
162
168
|
end
|
163
169
|
|
164
170
|
describe "#dob_? atomic getters" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edtf-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
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-11-
|
12
|
+
date: 2013-11-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -197,7 +197,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
197
|
version: '0'
|
198
198
|
segments:
|
199
199
|
- 0
|
200
|
-
hash:
|
200
|
+
hash: 2095822184312712477
|
201
201
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
202
|
none: false
|
203
203
|
requirements:
|