thecore_print_commons 3.0.4 → 3.0.6
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.
- checksums.yaml +4 -4
 - data/db/migrate/20160323152041_create_printers.rb +5 -5
 - data/db/migrate/20160413115407_add_temperature_to_printer.rb +2 -2
 - data/db/migrate/20160519093702_create_print_templates.rb +2 -2
 - data/db/migrate/20160519124051_add_print_template_id_to_printer.rb +3 -2
 - data/db/migrate/20160629140729_add_default_to_printer.rb +2 -2
 - data/db/migrate/20160629140730_add_port_to_printer.rb +2 -2
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: d7a79f04fdf3ccb0f1a35ee75ed2b69de02ff6ce644541edd0193e97af91eb78
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: b83c04802d7a785ce63b48410a769ceab4675f6119f4408cc9b41943dfe30544
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: f6731976055a2d83549b03fb1f4c5eb345c4e447157d91f15e6459088f43119cb07fee0b59593d04e6e5d142a7ed18752103f0b41ed84c5efe47b2b3bd864ca9
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 146598426ca490471eb51050e7bb483b63c2b975eb90aa3550d7f1ec7dd1ab1bdb695ecf52ff82d2e58a271c1f9f74595c86e4a9db28b3cfa25a05b7b00fca1d
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            class CreatePrinters < ActiveRecord::Migration[ 
     | 
| 
      
 1 
     | 
    
         
            +
            class CreatePrinters < ActiveRecord::Migration[7.0]
         
     | 
| 
       2 
2 
     | 
    
         
             
              def change
         
     | 
| 
       3 
     | 
    
         
            -
                create_table :printers do |t|
         
     | 
| 
      
 3 
     | 
    
         
            +
                create_table :printers, if_not_exists: true do |t|
         
     | 
| 
       4 
4 
     | 
    
         
             
                  t.string :name
         
     | 
| 
       5 
5 
     | 
    
         
             
                  t.text :description
         
     | 
| 
       6 
6 
     | 
    
         
             
                  t.string :ip
         
     | 
| 
         @@ -10,8 +10,8 @@ class CreatePrinters < ActiveRecord::Migration[4.2] 
     | 
|
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
                  t.timestamps null: false
         
     | 
| 
       12 
12 
     | 
    
         
             
                end
         
     | 
| 
       13 
     | 
    
         
            -
                add_index :printers, :name
         
     | 
| 
       14 
     | 
    
         
            -
                add_index :printers, :description
         
     | 
| 
       15 
     | 
    
         
            -
                add_index :printers, :ip
         
     | 
| 
      
 13 
     | 
    
         
            +
                add_index :printers, :name, if_not_exists: true
         
     | 
| 
      
 14 
     | 
    
         
            +
                add_index :printers, :description, if_not_exists: true
         
     | 
| 
      
 15 
     | 
    
         
            +
                add_index :printers, :ip, if_not_exists: true
         
     | 
| 
       16 
16 
     | 
    
         
             
              end
         
     | 
| 
       17 
17 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            class CreatePrintTemplates < ActiveRecord::Migration[ 
     | 
| 
      
 1 
     | 
    
         
            +
            class CreatePrintTemplates < ActiveRecord::Migration[7.0]
         
     | 
| 
       2 
2 
     | 
    
         
             
              def change
         
     | 
| 
       3 
     | 
    
         
            -
                create_table :print_templates do |t|
         
     | 
| 
      
 3 
     | 
    
         
            +
                create_table :print_templates, if_not_exists: true do |t|
         
     | 
| 
       4 
4 
     | 
    
         
             
                  t.string :name
         
     | 
| 
       5 
5 
     | 
    
         
             
                  t.text :description
         
     | 
| 
       6 
6 
     | 
    
         
             
                  t.text :template
         
     | 
| 
         @@ -1,5 +1,6 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            class AddPrintTemplateIdToPrinter < ActiveRecord::Migration[ 
     | 
| 
      
 1 
     | 
    
         
            +
            class AddPrintTemplateIdToPrinter < ActiveRecord::Migration[7.0]
         
     | 
| 
       2 
2 
     | 
    
         
             
              def change
         
     | 
| 
       3 
     | 
    
         
            -
                 
     | 
| 
      
 3 
     | 
    
         
            +
                add_column :printers, :print_template_id, :bigint, if_not_exist: true
         
     | 
| 
      
 4 
     | 
    
         
            +
                add_index :printers, :print_template_id, if_not_exist: true
         
     | 
| 
       4 
5 
     | 
    
         
             
              end
         
     | 
| 
       5 
6 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1,5 +1,5 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            class AddDefaultToPrinter < ActiveRecord::Migration[ 
     | 
| 
      
 1 
     | 
    
         
            +
            class AddDefaultToPrinter < ActiveRecord::Migration[7.0]
         
     | 
| 
       2 
2 
     | 
    
         
             
              def change
         
     | 
| 
       3 
     | 
    
         
            -
                add_column :printers, :default, :boolean, default: false
         
     | 
| 
      
 3 
     | 
    
         
            +
                add_column :printers, :default, :boolean, default: false, if_not_exists: true
         
     | 
| 
       4 
4 
     | 
    
         
             
              end
         
     | 
| 
       5 
5 
     | 
    
         
             
            end
         
     |