xamplr 1.9.4 → 1.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 1
3
3
  :minor: 9
4
- :patch: 4
4
+ :patch: 5
5
5
  :build:
@@ -478,6 +478,7 @@ module Xampl
478
478
 
479
479
  def write(xampl)
480
480
 
481
+ # puts "#{ File.basename __FILE__ }:#{ __LINE__ } [#{__method__}] write #{ xampl }"
481
482
  raise XamplException.new(:no_index_so_no_persist) unless xampl.get_the_index
482
483
 
483
484
  expunging = self.expunged.include?(xampl)
@@ -568,14 +569,14 @@ module Xampl
568
569
  end
569
570
 
570
571
  if secondary_descriptions then
571
- xampl_hash = {
572
+ secondary_xampl_hash = {
572
573
  'class' => xampl.class.name,
573
574
  'pid' => xampl.get_the_index,
574
575
  'xampl-place' => place
575
576
  }
576
577
 
577
578
  secondary_descriptions.each do | secondary_description |
578
- description = secondary_description.merge(xampl_hash)
579
+ description = secondary_description.merge(secondary_xampl_hash)
579
580
  index_info[:secondary] << secondary_description
580
581
 
581
582
  note_errors("TC[[#{ @filename }]]:: write error: %s\n") do
@@ -591,7 +592,8 @@ module Xampl
591
592
  FileUtils.mkdir_p(place_dir) unless File.exist?(place_dir)
592
593
  file_place = "#{ @files_dir }/#{ place }"
593
594
  File.open(file_place, "w") do |out|
594
- out.write xampl_hash['xampl']
595
+ # out.write xampl_hash['xampl']
596
+ out.write xampl_in_xml
595
597
  if :sync == Xampl.raw_persister_options[:write_through] then
596
598
  out.fsync
597
599
  if $is_darwin then
data/xamplr.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{xamplr}
8
- s.version = "1.9.4"
8
+ s.version = "1.9.5"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Bob Hutchison"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xamplr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.4
4
+ version: 1.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bob Hutchison