date_time_attribute 0.1.0 → 0.1.1
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 +8 -8
- data/README.md +1 -1
- data/date_time_attribute.gemspec +4 -4
- data/lib/date_time_attribute.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YjZiMGY4YTAzZmIzNmVkZjExNzJhMGZjNGViZWQ3NmE5OTE2ZTM1YQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
OTliZTBhNWE4MDM1MmQ3NWUwNjM0YjgxNWYyYWIxNDg3NWVmNDUzNg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NjQ1OTJjNmQzYjMxZDBlN2FlYjY0ZmQ0MDgyMGNiOWJmYTRiNzE3OGZkMzI2
|
|
10
|
+
MDBlYTliMWM5ZTZjMmFjOTQxZmQ5YjEyZjliNTlkYTFjNGQzNDM0NGIwZWVl
|
|
11
|
+
NWIyZWFlYjRhNDE3ODZhNmVmY2YxM2QyNGM5Yjg2NGQ3Mzg4YWM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDkxN2M2MTYxMzI2MWYzM2RhZjEwMGNmZjk2Zjg1NjkzNDkxZDQyYzc1Y2Mz
|
|
14
|
+
ZDMzZmU0MDUzZGQzMDIwMzU3ZmI2ZGU3NWYxMzMzMWQ0NDk3M2JmMjY3OTFi
|
|
15
|
+
NWY3YjlkMGU5ZjMxYjRkMjA3ZDNhZTM1ZjIyNjUzNGZkYTA1MWE=
|
data/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[](https://travis-ci.org/einzige/date_time_attribute)
|
|
4
4
|
[](https://gemnasium.com/einzige/date_time_attribute)
|
|
5
5
|
|
|
6
|
-
Splits DateTime attribute
|
|
6
|
+
Splits access of DateTime attribute(s) into seperate Date, Time and TimeZone attributes. Compatible with ActiveRecord as well as with Rails.
|
|
7
7
|
|
|
8
8
|
## Install
|
|
9
9
|
|
data/date_time_attribute.gemspec
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{date_time_attribute}
|
|
5
|
-
s.version = "0.1.
|
|
5
|
+
s.version = "0.1.1"
|
|
6
6
|
|
|
7
7
|
s.date = %q{2013-11-22}
|
|
8
|
-
s.authors = ["Sergei Zinin"]
|
|
8
|
+
s.authors = ["Sergei Zinin", "Robert Gauld"]
|
|
9
9
|
s.email = %q{szinin@gmail.com}
|
|
10
10
|
s.homepage = %q{http://github.com/einzige/date_time_attribute}
|
|
11
11
|
|
|
@@ -15,8 +15,8 @@ Gem::Specification.new do |s|
|
|
|
15
15
|
s.require_paths = ["lib"]
|
|
16
16
|
s.extra_rdoc_files = ["README.md"]
|
|
17
17
|
|
|
18
|
-
s.description = %q{Allows to
|
|
19
|
-
s.summary = %q{Splits DateTime attribute access into
|
|
18
|
+
s.description = %q{Allows you to work with the date and time parts of DateTime attributes separately. Plays with time zones and ActiveModel as well.}
|
|
19
|
+
s.summary = %q{Splits DateTime attribute access into separate Date, Time and TimeZone attributes}
|
|
20
20
|
|
|
21
21
|
s.add_runtime_dependency 'activesupport', ">= 3.0.0"
|
|
22
22
|
s.add_development_dependency 'bundler'
|
data/lib/date_time_attribute.rb
CHANGED
metadata
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: date_time_attribute
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sergei Zinin
|
|
8
|
+
- Robert Gauld
|
|
8
9
|
autorequire:
|
|
9
10
|
bindir: bin
|
|
10
11
|
cert_chain: []
|
|
@@ -52,8 +53,8 @@ dependencies:
|
|
|
52
53
|
- - ! '>='
|
|
53
54
|
- !ruby/object:Gem::Version
|
|
54
55
|
version: 4.0.2
|
|
55
|
-
description: Allows to
|
|
56
|
-
|
|
56
|
+
description: Allows you to work with the date and time parts of DateTime attributes
|
|
57
|
+
separately. Plays with time zones and ActiveModel as well.
|
|
57
58
|
email: szinin@gmail.com
|
|
58
59
|
executables: []
|
|
59
60
|
extensions: []
|
|
@@ -98,6 +99,5 @@ rubyforge_project:
|
|
|
98
99
|
rubygems_version: 2.1.5
|
|
99
100
|
signing_key:
|
|
100
101
|
specification_version: 4
|
|
101
|
-
summary: Splits DateTime attribute access into
|
|
102
|
-
attributes
|
|
102
|
+
summary: Splits DateTime attribute access into separate Date, Time and TimeZone attributes
|
|
103
103
|
test_files: []
|