core_data 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -2
- data/README.md +1 -1
- data/lib/core_data/data_model/relationship.rb +5 -0
- data/lib/core_data/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b65bd21319ed65b97bcca20230eec6a3be24ecc6
|
4
|
+
data.tar.gz: cfcdb77b1865cef6bcf53533c4f56dc8b6834af5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec83b44f2a3afa5012a4f5844cff30f936ca47921593fc6a31a4092c5e60bcdec885c6a2b78dc68d8728046604a6b6728cf69871a952ae551c6b23d18ce9711b
|
7
|
+
data.tar.gz: f3cccc28f8d5355005d7d5dd51add5d649d530597e47e3bc0c4c4d87c9c641dfe7292dd6d68a09e18b2f5ef3e8363a070a95ebb3ab12e0dd892482664cfdf80f
|
data/Gemfile.lock
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
core_data (0.1.
|
4
|
+
core_data (0.1.2)
|
5
5
|
nokogiri (~> 1.4)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
10
|
+
mini_portile (0.6.2)
|
11
|
+
nokogiri (1.6.6.2)
|
12
|
+
mini_portile (~> 0.6.0)
|
11
13
|
rake (10.0.4)
|
12
14
|
|
13
15
|
PLATFORMS
|
data/README.md
CHANGED
@@ -17,6 +17,7 @@ module CoreData
|
|
17
17
|
@to_many = relationship['toMany'] == "YES"
|
18
18
|
@optional = relationship['optional'] == "YES"
|
19
19
|
@syncable = relationship['syncable'] == "YES"
|
20
|
+
@ordered = relationship['ordered'] == "YES"
|
20
21
|
end
|
21
22
|
|
22
23
|
def to_s
|
@@ -31,6 +32,10 @@ module CoreData
|
|
31
32
|
!to_many?
|
32
33
|
end
|
33
34
|
|
35
|
+
def ordered?
|
36
|
+
@ordered
|
37
|
+
end
|
38
|
+
|
34
39
|
[:optional, :syncable].each do |symbol|
|
35
40
|
define_method("#{symbol}?") {!!instance_variable_get(("@#{symbol}").intern)}
|
36
41
|
end
|
data/lib/core_data/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: core_data
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mattt Thompson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -66,17 +66,17 @@ require_paths:
|
|
66
66
|
- lib
|
67
67
|
required_ruby_version: !ruby/object:Gem::Requirement
|
68
68
|
requirements:
|
69
|
-
- -
|
69
|
+
- - '>='
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '0'
|
72
72
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - '>='
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 2.
|
79
|
+
rubygems_version: 2.1.11
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Core Data
|