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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5108b6cd6a33bce264e87722ee40901fdcf51db
4
- data.tar.gz: 03cc10252d81bb7aa39a6f64f2811e11c8be2267
3
+ metadata.gz: b65bd21319ed65b97bcca20230eec6a3be24ecc6
4
+ data.tar.gz: cfcdb77b1865cef6bcf53533c4f56dc8b6834af5
5
5
  SHA512:
6
- metadata.gz: a184a1329ac31e17ca5340b720856fa37d59c5c80bb7c846a0b1063958e9b3c59e066fcc508fe5daff93d18cd1cb9c136388ffb4e9782e51c3d5a12fe159c415
7
- data.tar.gz: 7a53564d3d064758833b63197e074ed9676137df58c7951c5bde93f42fcb00b8985c0baba689e449deb949b22b4f374a399bce494ad16da3afee29be94f7b5cf
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.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
- nokogiri (1.5.9)
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
@@ -11,4 +11,4 @@ Mattt Thompson
11
11
 
12
12
  ## License
13
13
 
14
- Core Data is available under the MIT license. See the LICENSE file for more info.
14
+ Core Data is released under an MIT license. See LICENSE for more information.
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CoreData
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
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.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: 2013-04-23 00:00:00.000000000 Z
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.0.3
79
+ rubygems_version: 2.1.11
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: Core Data