effective_products 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 +4 -4
- data/MIT-LICENSE +1 -1
- data/app/models/effective/ring.rb +2 -0
- data/app/models/effective/ring_wizard.rb +1 -1
- data/app/models/effective/stamp.rb +2 -0
- data/app/models/effective/stamp_wizard.rb +1 -1
- data/config/effective_products.rb +0 -5
- data/db/migrate/{01_create_effective_products.rb.erb → 101_create_effective_products.rb} +1 -1
- data/lib/effective_products/version.rb +1 -1
- data/lib/generators/effective_products/install_generator.rb +1 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ae26ed6aea0b9a45d6318b110271ff03997aabb754ba030e37c4df9c190dae0
|
4
|
+
data.tar.gz: 193d7af0f641d2881354340f8a695db2c0d41f3f2031ec7942e35578aea06451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4a2055581a7e463a189a46232165290c81becaf45b7f729f548ac9cac0e90a14f57a57d7578cf2ae2aa6c59bc018f1be875e672547d578a537f8bd48e3a0937
|
7
|
+
data.tar.gz: 06ff27e57393210020af6bb53c6f3c550c0dc6f3428115eeb62abeee0993b1a7fec8e936de11c2d86c0f18dd673bec9a9a3e99e29262d0b7bafd5631fb2589a2
|
data/MIT-LICENSE
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
module Effective
|
4
4
|
class Ring < ActiveRecord::Base
|
5
|
+
self.table_name = (EffectiveProducts.rings_table_name || :rings).to_s
|
6
|
+
|
5
7
|
SIZES = [3, 4, 5, 6, 7, 8]
|
6
8
|
TITANIUM_SIZES = [3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]
|
7
9
|
METALS = ['14k Yellow Gold', 'Sterling Silver', 'Titanium']
|
@@ -1,9 +1,4 @@
|
|
1
1
|
EffectiveProducts.setup do |config|
|
2
|
-
config.rings_table_name = :rings
|
3
|
-
config.ring_wizards_table_name = :ring_wizards
|
4
|
-
config.stamps_table_name = :stamps
|
5
|
-
config.stamp_wizards_table_name = :stamp_wizards
|
6
|
-
|
7
2
|
# Layout Settings
|
8
3
|
# Configure the Layout per controller, or all at once
|
9
4
|
# config.layout = { application: 'application', admin: 'admin' }
|
@@ -20,9 +20,7 @@ module EffectiveMemberships
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def create_migration_file
|
23
|
-
|
24
|
-
|
25
|
-
migration_template ('../' * 3) + 'db/migrate/01_create_effective_products.rb.erb', 'db/migrate/create_effective_products.rb'
|
23
|
+
migration_template ('../' * 3) + 'db/migrate/101_create_effective_products.rb', 'db/migrate/create_effective_products.rb'
|
26
24
|
end
|
27
25
|
|
28
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_products
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -271,7 +271,7 @@ files:
|
|
271
271
|
- config/effective_products.rb
|
272
272
|
- config/locales/effective_products.en.yml
|
273
273
|
- config/routes.rb
|
274
|
-
- db/migrate/
|
274
|
+
- db/migrate/101_create_effective_products.rb
|
275
275
|
- db/seeds.rb
|
276
276
|
- lib/effective_products.rb
|
277
277
|
- lib/effective_products/engine.rb
|