bullet_train 1.3.21 → 1.3.22
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/app/models/address.rb +24 -0
- data/app/models/addresses/continent.rb +22 -0
- data/app/models/addresses/country.rb +22 -0
- data/app/models/addresses/region.rb +22 -0
- data/app/models/addresses/subcontinent.rb +22 -0
- data/app/models/concerns/addresses/base.rb +18 -0
- data/app/models/concerns/addresses/continents/base.rb +7 -0
- data/app/models/concerns/addresses/countries/base.rb +9 -0
- data/app/models/concerns/addresses/regions/base.rb +13 -0
- data/app/models/concerns/addresses/subcontinents/base.rb +7 -0
- data/app/models/concerns/records/base.rb +9 -0
- data/config/addresses/countries.json +10975 -0
- data/config/addresses/states.json +43841 -0
- data/config/locales/en/addresses.en.yml +51 -0
- data/lib/bullet_train/version.rb +1 -1
- metadata +15 -2
@@ -0,0 +1,51 @@
|
|
1
|
+
en:
|
2
|
+
addresses:
|
3
|
+
label: "Address"
|
4
|
+
contact: "Contact"
|
5
|
+
fields:
|
6
|
+
address_one:
|
7
|
+
_: &address_one Address
|
8
|
+
label: *address_one
|
9
|
+
heading: *address_one
|
10
|
+
address_two:
|
11
|
+
_: &address_two Address cont.
|
12
|
+
label: *address_two
|
13
|
+
heading: *address_two
|
14
|
+
city:
|
15
|
+
_: &city City
|
16
|
+
label: *city
|
17
|
+
heading: *city
|
18
|
+
region_id: ®ion
|
19
|
+
_: ®ion_id State / Province / Region
|
20
|
+
label: *region_id
|
21
|
+
heading: *region_id
|
22
|
+
region: *region
|
23
|
+
region_name:
|
24
|
+
_: ®ion_name Region name
|
25
|
+
label: *region_name
|
26
|
+
heading: *region_name
|
27
|
+
admin_divisions:
|
28
|
+
states: State
|
29
|
+
provinces_territories: Province or Territory
|
30
|
+
prefectures: Prefecture
|
31
|
+
provinces: Province
|
32
|
+
states_territories: State or Territory
|
33
|
+
regions: Region
|
34
|
+
federal_states: Federal State
|
35
|
+
departments: Department
|
36
|
+
counties: County
|
37
|
+
cantons: Canton
|
38
|
+
default: State / Province / Region
|
39
|
+
country_id: &country
|
40
|
+
_: &country_id Country
|
41
|
+
label: *country_id
|
42
|
+
heading: *country_id
|
43
|
+
country: *country
|
44
|
+
postal_code:
|
45
|
+
_: &postal_code Postal code
|
46
|
+
label: *postal_code
|
47
|
+
heading: *postal_code
|
48
|
+
zip_code:
|
49
|
+
_: &zip_code Zip code
|
50
|
+
label: *zip_code
|
51
|
+
heading: *zip_code
|
data/lib/bullet_train/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: standard
|
@@ -553,7 +553,17 @@ files:
|
|
553
553
|
- app/mailers/concerns/mailers/base.rb
|
554
554
|
- app/mailers/devise_mailer.rb
|
555
555
|
- app/mailers/user_mailer.rb
|
556
|
+
- app/models/address.rb
|
557
|
+
- app/models/addresses/continent.rb
|
558
|
+
- app/models/addresses/country.rb
|
559
|
+
- app/models/addresses/region.rb
|
560
|
+
- app/models/addresses/subcontinent.rb
|
556
561
|
- app/models/billing/mock_limiter.rb
|
562
|
+
- app/models/concerns/addresses/base.rb
|
563
|
+
- app/models/concerns/addresses/continents/base.rb
|
564
|
+
- app/models/concerns/addresses/countries/base.rb
|
565
|
+
- app/models/concerns/addresses/regions/base.rb
|
566
|
+
- app/models/concerns/addresses/subcontinents/base.rb
|
557
567
|
- app/models/concerns/current_attributes/base.rb
|
558
568
|
- app/models/concerns/invitations/base.rb
|
559
569
|
- app/models/concerns/memberships/base.rb
|
@@ -627,8 +637,11 @@ files:
|
|
627
637
|
- app/views/showcase/engine/_stylesheets.html.erb
|
628
638
|
- app/views/user_mailer/invited.html.erb
|
629
639
|
- app/views/user_mailer/welcome.html.erb
|
640
|
+
- config/addresses/countries.json
|
641
|
+
- config/addresses/states.json
|
630
642
|
- config/initializers/concerns/inflections_base.rb
|
631
643
|
- config/initializers/concerns/turbo_failure_app.rb
|
644
|
+
- config/locales/en/addresses.en.yml
|
632
645
|
- config/locales/en/base.yml
|
633
646
|
- config/locales/en/billing/products.en.yml
|
634
647
|
- config/locales/en/devise.en.yml
|