modaldiagrams 1.0.0 → 1.0.1
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 +1 -1
- data/lib/modaldiagrams/modaldiagrams.rb +1 -1
- data/lib/modaldiagrams/parameters.rb +1 -1
- data/lib/tasks/diagrams_pdf.rake +1 -1
- data/lib/tasks/diagrams_png.rake +1 -1
- data/lib/tasks/diagrams_ps.rake +1 -1
- data/modaldiagrams.gemspec +1 -1
- metadata +2 -2
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1.0. | 
| 1 | 
            +
            1.0.1
         | 
| @@ -13,7 +13,7 @@ module ModalDiagrams | |
| 13 13 | 
             
                  :unified_polymorphic => false,             # unify the circled end of polymorphic associations
         | 
| 14 14 | 
             
                  :no_association_labels=>false,             # don't show association labels
         | 
| 15 15 | 
             
                  :output_tools => %w{dot fdp neato}         # graphviz styles (tools) used whe generating output (ps/png/pdf)
         | 
| 16 | 
            -
                ].merge Settings.load(Rails.root.join('config',' | 
| 16 | 
            +
                ].merge Settings.load(Rails.root.join('config','modal_diagrams.yml'))
         | 
| 17 17 | 
             
              end
         | 
| 18 18 |  | 
| 19 19 | 
             
            end
         | 
    
        data/lib/tasks/diagrams_pdf.rake
    CHANGED
    
    
    
        data/lib/tasks/diagrams_png.rake
    CHANGED
    
    | @@ -10,7 +10,7 @@ namespace :db do | |
| 10 10 | 
             
                    Dir[in_dir.join('*.ps')].each do |fn|
         | 
| 11 11 | 
             
                      fn = Pathname(fn)
         | 
| 12 12 | 
             
                      out_fn = out_dir.join(fn.basename.sub_ext('.png'))
         | 
| 13 | 
            -
                      `gs -q -dNOPAUSE -dBATCH -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=png16m -sOutputFile | 
| 13 | 
            +
                      `gs -q -dNOPAUSE -dBATCH -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -sDEVICE=png16m -sOutputFile='#{out_fn}' '#{fn}'`
         | 
| 14 14 | 
             
                    end
         | 
| 15 15 | 
             
                    puts "Output has been generated in #{out_dir}"
         | 
| 16 16 | 
             
                  end
         | 
    
        data/lib/tasks/diagrams_ps.rake
    CHANGED
    
    | @@ -9,7 +9,7 @@ namespace :db do | |
| 9 9 | 
             
                    Dir[Rails.root.join('db/diagrams/*.dot')].each do |fn|
         | 
| 10 10 | 
             
                      fn = Pathname(fn)
         | 
| 11 11 | 
             
                      out_fn = out_dir.join(fn.basename.sub_ext('.ps'))
         | 
| 12 | 
            -
                      `#{cmd} #{fn} -o#{out_fn} -Tps2`
         | 
| 12 | 
            +
                      `#{cmd} '#{fn}' -o '#{out_fn}' -Tps2`
         | 
| 13 13 | 
             
                    end
         | 
| 14 14 | 
             
                    puts "Output has been generated in #{out_dir}"
         | 
| 15 15 | 
             
                  end
         | 
    
        data/modaldiagrams.gemspec
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: modaldiagrams
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 1.0. | 
| 4 | 
            +
              version: 1.0.1
         | 
| 5 5 | 
             
              prerelease: 
         | 
| 6 6 | 
             
            platform: ruby
         | 
| 7 7 | 
             
            authors:
         | 
| @@ -165,7 +165,7 @@ required_ruby_version: !ruby/object:Gem::Requirement | |
| 165 165 | 
             
                  version: '0'
         | 
| 166 166 | 
             
                  segments:
         | 
| 167 167 | 
             
                  - 0
         | 
| 168 | 
            -
                  hash: - | 
| 168 | 
            +
                  hash: -2378591910060166729
         | 
| 169 169 | 
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         | 
| 170 170 | 
             
              none: false
         | 
| 171 171 | 
             
              requirements:
         |