activefacts-orm 1.7.1 → 1.8.0

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: cd75d822b0249191ccb0a194683892d77c927002
4
- data.tar.gz: 083c5a576d145726ca942393ad5827b4d5c57c8f
3
+ metadata.gz: a5de13af34b48c190fde79e8245f046048e3073c
4
+ data.tar.gz: a29a24446d3aeb29679b3c4e642767c7c3532185
5
5
  SHA512:
6
- metadata.gz: b0591d5466cbbdc9e212c827210c9a75bb5d90cd0c7b786977cac789eec5cbdc34379473bc9400556d6ef97a426821d270f365b18e6ef02b6057b4d442966d01
7
- data.tar.gz: 045f05c2a13de02a8ec099bcf3d75c8de04cdee00a62bacdca0ffc09093a8f7690da3efc9ff9bab1eb1c230020d5e8683c49e90e46325c125a2357c39fc71120
6
+ metadata.gz: 9f7dc359de1cb3cba12b3bc36441a79bfb82bb4c941e2d2ad084a4fe22f59add83e0f4dc638d0f03fbf53e8db48562fe02ce38afcc8b14d3a0b76c5a26a9183b
7
+ data.tar.gz: 117f7b084216255697b4f3e31828bda52f4cc2a0bc01fbf22726e5f14c58d49117fe112126b316b807ca181a76a3d40606867382605d5b41602f830eabc706b3
data/Gemfile CHANGED
@@ -2,7 +2,8 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- if ENV['PWD'] =~ %r{\A/Users/cjh/work/activefacts}
5
+ if ENV['PWD'] =~ %r{\A#{ENV['HOME']}/work}
6
+ $stderr.puts "Using work area gems for #{File.basename(File.dirname(__FILE__))} from activefacts-orm"
6
7
  gem 'activefacts-api', path: '/Users/cjh/work/activefacts/api'
7
8
  gem 'activefacts-metamodel', path: '/Users/cjh/work/activefacts/metamodel'
8
9
  # gem 'activefacts-metamodel', git: 'git://github.com/cjheath/activefacts-metamodel.git'
@@ -19,10 +19,10 @@ Install the Natural ORM Architect from http://ormfoundation.org to produce input
19
19
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_development_dependency "bundler", "~> 1.10.a"
22
+ spec.add_development_dependency "bundler", ">= 1.10", "~> 1.10.6"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
- spec.add_development_dependency "rspec"
24
+ spec.add_development_dependency "rspec", "~> 3.3"
25
25
 
26
- spec.add_runtime_dependency(%q<activefacts-metamodel>, [">= 1.7.0", "~> 1.7"])
27
- spec.add_runtime_dependency(%q<nokogiri>)
26
+ spec.add_runtime_dependency "activefacts-metamodel", ">= 1.8", "~> 1.8.0"
27
+ spec.add_runtime_dependency "nokogiri", ">= 1.6", "~> 1.6.6.2"
28
28
  end
@@ -332,7 +332,7 @@ module ActiveFacts
332
332
  facts = []
333
333
 
334
334
  trace :orm, "Reading sub-types" do
335
- @x_subtypes.each{|x|
335
+ @x_subtypes.each do |x|
336
336
  id = x['id']
337
337
  name = (x['Name'] || x['_Name'] || '').gsub(/\s+/,' ').gsub(/-/,'_').strip
338
338
  name = nil if name.size == 0
@@ -385,7 +385,7 @@ module ActiveFacts
385
385
  n = 'aeioh'.include?(subtype_role.object_type.name.downcase[0]) ? 1 : 0
386
386
  @constellation.Reading(inheritance_fact, 2+n, :role_sequence => rs2, :text => "{0} is a {1}", :is_negative => false)
387
387
  @constellation.Reading(inheritance_fact, 3-n, :role_sequence => rs2, :text => "{0} is an {1}", :is_negative => false)
388
- }
388
+ end
389
389
  end
390
390
  end
391
391
 
@@ -423,10 +423,7 @@ module ActiveFacts
423
423
 
424
424
  def complete_nested_types
425
425
  @nested_types.each do |nested_type|
426
- # Create the phantom roles here. These will be used later when we create objectification steps,
427
- # but for now there's nothing we import from NORMA which requires objectification steps.
428
- # Consequently there's no need to index them against NORMA's phantom roles.
429
- nested_type.create_implicit_fact_types
426
+ nested_type.create_link_fact_types
430
427
  end
431
428
  end
432
429
 
@@ -1,5 +1,5 @@
1
1
  module ActiveFacts
2
2
  module ORM
3
- VERSION = "1.7.1"
3
+ VERSION = "1.8.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activefacts-orm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clifford Heath
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-08 00:00:00.000000000 Z
11
+ date: 2015-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
17
20
  - - "~>"
18
21
  - !ruby/object:Gem::Version
19
- version: 1.10.a
22
+ version: 1.10.6
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.10'
24
30
  - - "~>"
25
31
  - !ruby/object:Gem::Version
26
- version: 1.10.a
32
+ version: 1.10.6
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rake
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -42,50 +48,56 @@ dependencies:
42
48
  name: rspec
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - ">="
51
+ - - "~>"
46
52
  - !ruby/object:Gem::Version
47
- version: '0'
53
+ version: '3.3'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - ">="
58
+ - - "~>"
53
59
  - !ruby/object:Gem::Version
54
- version: '0'
60
+ version: '3.3'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: activefacts-metamodel
57
63
  requirement: !ruby/object:Gem::Requirement
58
64
  requirements:
59
65
  - - ">="
60
66
  - !ruby/object:Gem::Version
61
- version: 1.7.0
67
+ version: '1.8'
62
68
  - - "~>"
63
69
  - !ruby/object:Gem::Version
64
- version: '1.7'
70
+ version: 1.8.0
65
71
  type: :runtime
66
72
  prerelease: false
67
73
  version_requirements: !ruby/object:Gem::Requirement
68
74
  requirements:
69
75
  - - ">="
70
76
  - !ruby/object:Gem::Version
71
- version: 1.7.0
77
+ version: '1.8'
72
78
  - - "~>"
73
79
  - !ruby/object:Gem::Version
74
- version: '1.7'
80
+ version: 1.8.0
75
81
  - !ruby/object:Gem::Dependency
76
82
  name: nokogiri
77
83
  requirement: !ruby/object:Gem::Requirement
78
84
  requirements:
79
85
  - - ">="
80
86
  - !ruby/object:Gem::Version
81
- version: '0'
87
+ version: '1.6'
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: 1.6.6.2
82
91
  type: :runtime
83
92
  prerelease: false
84
93
  version_requirements: !ruby/object:Gem::Requirement
85
94
  requirements:
86
95
  - - ">="
87
96
  - !ruby/object:Gem::Version
88
- version: '0'
97
+ version: '1.6'
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: 1.6.6.2
89
101
  description: |
90
102
  ORM format importer for the ActiveFacts fact modeling suite.
91
103
  Install the Natural ORM Architect from http://ormfoundation.org to produce input files.