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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4834d56fd4dadb1f4436611d0d1006b3b9874b6
4
- data.tar.gz: bc07aa1726255dd1108232f1381e65a56c1dbd02
3
+ metadata.gz: a4d6aee1f5f23c23a3a63b39313d2604d07f03a9
4
+ data.tar.gz: d2a4a7a5426a48c35bed29330257550dd460956e
5
5
  SHA512:
6
- metadata.gz: 6f5a0682fd06cbcfa9cc6630e0e876ba842a795ce56c6c165664f8f4c57819f8353d45f9b9246909293a5612cc34726c7fafcaa176dcac38319f4587e196081f
7
- data.tar.gz: 88e7e9f70551df5ed95f6b735f69f4a5bcb90a72a0b59052787ed446da102a953498ff2ab6a62455680c22f0e50802503d7f73114bcd5320a9290fd3de10a77b
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
@@ -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("activefacts-metamodel", ">= 1.8", "~> 1.8.0")
27
- spec.add_runtime_dependency(%q<treetop>, [">= 1.4.14", "~> 1.4"])
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
@@ -1,5 +1,5 @@
1
1
  module ActiveFacts
2
2
  module CQL
3
- VERSION = "1.8.0"
3
+ VERSION = "1.8.1"
4
4
  end
5
5
  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.0
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-04 00:00:00.000000000 Z
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: '1.8'
67
+ version: 1.8.3
68
68
  - - "~>"
69
69
  - !ruby/object:Gem::Version
70
- version: 1.8.0
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: '1.8'
77
+ version: 1.8.3
78
78
  - - "~>"
79
79
  - !ruby/object:Gem::Version
80
- version: 1.8.0
80
+ version: '1'
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: treetop
83
83
  requirement: !ruby/object:Gem::Requirement