magic_locales 0.0.12 → 0.0.13
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56cbd4a05364b7c414709e15f9f6eb2235fc3595
|
|
4
|
+
data.tar.gz: 968ef3c90f7715756736f763e7afbe8c86acc041
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7351a0d72c174b7efbdbee388fdd627a627f133a6fa39373aabeaf6768f5511ead4d30b6dc5b562c3499d96cc893dff92ce7c8a4f7b13281e9a85b2bbc0c2d4d
|
|
7
|
+
data.tar.gz: 9dafdd0ff6924edc692ac0b3750f796cd6d44e3b815d41ff40b9e38fafff90fda959b99b65a703d6e5d3cbf8c93894f0ac7114e7c6e3b63614e2a4c3381af4bb
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<% icns = {
|
|
2
|
-
<% clss = {
|
|
1
|
+
<% icns = {activate: "checkmark", deactivate: "close", release: "earth"} %>
|
|
2
|
+
<% clss = {activate: "success", deactivate: "danger", release: "info"} %>
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
<% %w(activate release deactivate).each do |state| %>
|
|
@@ -21,13 +21,13 @@ module MagicLocales
|
|
|
21
21
|
migration_template( "magic_logales_migration.rb", "db/migrate/add_magic_locales.rb" )
|
|
22
22
|
end
|
|
23
23
|
|
|
24
|
-
def create_seeds_folder
|
|
25
|
-
|
|
26
|
-
end
|
|
24
|
+
# => def create_seeds_folder
|
|
25
|
+
# => empty_directory( "db/seeds" )
|
|
26
|
+
# => end
|
|
27
27
|
|
|
28
28
|
desc "add locale-seed file"
|
|
29
29
|
def copy_country_seeds
|
|
30
|
-
copy_file( "locale_seeds.rb", "db/
|
|
30
|
+
copy_file( "locale_seeds.rb", "db/seed_locales.rb" )
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
desc "add magic_logales initialitzer"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: magic_locales
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Torsten Wetzel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-12-
|
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|