activefacts 1.7.1 → 1.7.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: 531ea0cabbbe32609a115efae2fe46e9c8d43d8d
4
- data.tar.gz: 518c5306efb9a599a4276d2d5f8765ef8c7fa302
3
+ metadata.gz: 725fe09847e2e13085dd891cd8f9399f16775135
4
+ data.tar.gz: b5cf0ea5b1b65c1a7d9d343818ce7c69089692db
5
5
  SHA512:
6
- metadata.gz: 1ad369a71b0cce0fd21cc072b598a2a0a47090267495d300f2b7795cdaf7992eb7e56a67f521bf799b102a595026d7b6cdbbdb43860a2da123e990633a9d2976
7
- data.tar.gz: f2e462c39da877390353119491bd6ec0b6eb01e252bda45e0bcc8f9273d5ab6af037e6699e4f0cfba3c0dba500a6c36c208b15b274b01629fc949b683ad61f9a
6
+ metadata.gz: ba7e3db759ecede9142cf67f69231f25ade297ef06877d9042a274088a30a29092d38d8c9c3501892e7ed1b22a9afc0972dbfcf34b61ca1ea2441d74c604e8a0
7
+ data.tar.gz: ea77ba019ee5e084828625f084dce22f244ac030fc21364dfffad32d595528ca95d4fad973c16fd07b4ae4a7fd4aa37bd47ff94f984e160c10660d5f72bef1df
data/Gemfile CHANGED
@@ -2,11 +2,12 @@ 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
+ puts "Using work area gems for #{File.basename(File.dirname(__FILE__))}"
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-cql', path: '/Users/cjh/work/activefacts/cql'
9
- #gem 'activefacts-orm', path: '/Users/cjh/work/activefacts/orm'
10
+ gem 'activefacts-orm', path: '/Users/cjh/work/activefacts/orm'
10
11
  gem 'activefacts-rmap', path: '/Users/cjh/work/activefacts/rmap'
11
12
  #gem 'activefacts-compositions', path: '/Users/cjh/work/activefacts/compositions'
12
13
  gem 'activefacts-generators', path: '/Users/cjh/work/activefacts/generators'
data/bin/afgen CHANGED
@@ -17,16 +17,9 @@ arg = ARGV.shift || "--help"
17
17
  while arg =~ /^--([^=]*)(?:=(.*))?/
18
18
  module_name, options = $1, ($2||"").split(/,/)
19
19
  begin
20
- base_generators = ActiveFacts::Registry.generators.keys
21
-
22
20
  require "activefacts/generators/#{module_name}"
23
21
 
24
- # One require may load more than one generator. Extract new ones.
25
- new_generators = ActiveFacts::Registry.generators
26
- generators += (new_generators.keys-base_generators).map do |gn|
27
- [new_generators[gn], options]
28
- end
29
-
22
+ generators += Array(ActiveFacts::Registry.generators[module_name])
30
23
  rescue LoadError => e
31
24
  $stderr.puts "Could not find output module #{module_name}. Try --help"
32
25
  exit 1
@@ -8,7 +8,7 @@ module ActiveFacts
8
8
  module Version
9
9
  MAJOR = 1
10
10
  MINOR = 7
11
- PATCH = 1
11
+ PATCH = 2
12
12
 
13
13
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activefacts
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
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-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler