activefacts-cql 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +17 -0
- data/activefacts-cql.gemspec +2 -2
- data/lib/activefacts/cql/compiler/fact_type.rb +1 -1
- data/lib/activefacts/cql/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4d6aee1f5f23c23a3a63b39313d2604d07f03a9
|
4
|
+
data.tar.gz: d2a4a7a5426a48c35bed29330257550dd460956e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 618d767c7325a2e4a22cfff3a4c245bcdc764458529c63623f32e1efd247b1b30bc1fceda682a18e5c206e0e8c9a5d45597be181fdd68c1c1c41d38fa0ec6b61
|
7
|
+
data.tar.gz: 58c3b053a6d7fabcd348ca9fd9c63705f98d873018879c5e7d307a2bc78d979bc4cceb36ae52fcd95e8b4656fbe334aa7d10ba5999df3b5265532727dcb970f9
|
data/Rakefile
CHANGED
@@ -4,3 +4,20 @@ require "rspec/core/rake_task"
|
|
4
4
|
RSpec::Core::RakeTask.new(:spec)
|
5
5
|
|
6
6
|
task :default => :spec
|
7
|
+
|
8
|
+
desc "Bump gem version patch number"
|
9
|
+
task :bump do
|
10
|
+
path = File.expand_path('../lib/activefacts/cql/version.rb', __FILE__)
|
11
|
+
lines = File.open(path) do |fp| fp.readlines; end
|
12
|
+
File.open(path, "w") do |fp|
|
13
|
+
fp.write(
|
14
|
+
lines.map do |line|
|
15
|
+
line.gsub(/(VERSION *= *"[0-9.]*\.)([0-9]+)"\n/) do
|
16
|
+
version = "#{$1}#{$2.to_i+1}"
|
17
|
+
puts "Version bumped to #{version}\""
|
18
|
+
version+"\"\n"
|
19
|
+
end
|
20
|
+
end*''
|
21
|
+
)
|
22
|
+
end
|
23
|
+
end
|
data/activefacts-cql.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
spec.add_development_dependency "rspec", "~> 3.3"
|
25
25
|
|
26
|
-
spec.add_runtime_dependency
|
27
|
-
spec.add_runtime_dependency
|
26
|
+
spec.add_runtime_dependency "activefacts-metamodel", ">= 1.8.3", "~> 1"
|
27
|
+
spec.add_runtime_dependency %q<treetop>, [">= 1.4.14", "~> 1.4"]
|
28
28
|
end
|
29
29
|
|
@@ -285,7 +285,7 @@ module ActiveFacts
|
|
285
285
|
epc = ref.embedded_presence_constraint or next
|
286
286
|
epc.max_frequency == 1 or next
|
287
287
|
next if epc.enforcement
|
288
|
-
trace :constraint, "Converting UC into PI for #{@fact_type.entity_type.name}"
|
288
|
+
trace :constraint, "Converting UC into PI for #{@fact_type.entity_type ? @fact_type.entity_type.name : fact_type.default_reading}"
|
289
289
|
epc.is_preferred_identifier = true
|
290
290
|
return
|
291
291
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activefacts-cql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.8.
|
4
|
+
version: 1.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Clifford Heath
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-12-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,20 +64,20 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 1.8.3
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 1
|
70
|
+
version: '1'
|
71
71
|
type: :runtime
|
72
72
|
prerelease: false
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
75
|
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
77
|
+
version: 1.8.3
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 1
|
80
|
+
version: '1'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: treetop
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|