catalogs 0.2.1 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca3a9a4fe4b1ec302a015cae5c1bc98838393194bf81dec358c0bc21af62cf53
4
- data.tar.gz: 5184fad9c61383041f7b1ca323057a3536a4eb92486d3704cb49fbb4a54b6291
3
+ metadata.gz: 3a3d2b54a830495375832b7a46bd4b14a92d1378ab125adb37274d3497a73d2b
4
+ data.tar.gz: 202a753b78f450645c96a68cb3b6f159a7b9a7a3f2ae4e677b081f2726d4321c
5
5
  SHA512:
6
- metadata.gz: 263eb7f8b0ee207511558b4cb2de4c55da8ee6b8f165c1e751e3dd693431d0b2a84fa9d009666839fc8b0e53d1d1c854b36125ba8e1ad5adb590961af346d4e3
7
- data.tar.gz: 04b0ee7c971c67904138bf462d87be6ba4b616c8167aefbe8901c996e62ff60c284f1bb2decddda26ec0a04d8d26e2639edc2cf66c4fe609f69d49ace2851ee8
6
+ metadata.gz: d0c0855cef387f0960eb18dcca27653161637eb52edd95f8eb7e230e78c5d324b11a193cd72853a1841eed2ea610499f71e6f0b8b7cecc7ccc57497c4795bb86
7
+ data.tar.gz: 0a7a9f252926f7cbf7b4d7193a7a51b1976aa06c7da68114d982ecb904bdfff6b0085c913ea9a320fab808617bf18c450d27be7468d692a29121f8c1a6fefb3d
data/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  # Catalogs
2
- Short description and motivation.
2
+ Keep your dropdowns, typeaheads, autocompleters, checkboxes, radios, etc values organized and localizable in a standard way.
3
3
 
4
4
  ## Usage
5
5
  How to use my plugin.
@@ -8,18 +8,16 @@ How to use my plugin.
8
8
  Add this line to your application's Gemfile:
9
9
 
10
10
  ```ruby
11
- gem 'catalogs'
11
+ gem "catalogs"
12
12
  ```
13
13
 
14
14
  And then execute:
15
15
  ```bash
16
16
  $ bundle
17
+ $ bin/rails g catalogs:install
17
18
  ```
18
19
 
19
- Or install it yourself as:
20
- ```bash
21
- $ gem install catalogs
22
- ```
20
+ Be aware, migrations will be run!
23
21
 
24
22
  ## Contributing
25
23
  Contribution directions go here.
@@ -0,0 +1,5 @@
1
+ class AddLocaleToCatalogs < ActiveRecord::Migration[6.0]
2
+ def change
3
+ add_column :catalogs_catalogs, :locale, :string
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Catalogs
4
- VERSION = "0.2.1"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catalogs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo Figarola
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-23 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -97,6 +97,7 @@ files:
97
97
  - db/migrate/20190922014006_add_active_to_catalogs.rb
98
98
  - db/migrate/20190922014546_add_internationalizable_to_catalogs.rb
99
99
  - db/migrate/20190922015554_remove_null_constraint_from_label.rb
100
+ - db/migrate/20191028133635_add_locale_to_catalogs.rb
100
101
  - lib/catalogs.rb
101
102
  - lib/catalogs/engine.rb
102
103
  - lib/catalogs/version.rb