lite-regulations 1.1.1 → 1.1.2
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/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/lite/regulations.rb +7 -4
- data/lib/lite/regulations/railtie.rb +1 -1
- data/lib/lite/regulations/version.rb +1 -1
- data/lib/{lite/regulations/locales → locales}/en.yml +0 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea952d7fa12d6c92b81ae4e768886d441a8671ff954712e956435e36a40bee43
|
|
4
|
+
data.tar.gz: 4f03400524d1fbcbd957c022b8f73f3d4395ad8d1b0b73c772c452d9717473d1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d8711f05feab90e84800582867820b685dd4e02a0c3d767018a37d889bb47467d18ef9516a882bf6431df1c86b253daff5827496ddb91d512e66a18b8de463b9
|
|
7
|
+
data.tar.gz: 58afa2b765087bef2a98f65b93cd055d53c218336fb426fd8a99e3c3abee6b359e4af58cc2699f64f52ba26aef9bdb4f3a13d584e893ce66d9cb5644606641e8
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/lib/lite/regulations.rb
CHANGED
|
@@ -5,7 +5,10 @@ require 'active_support' unless defined?(ActiveSupport)
|
|
|
5
5
|
|
|
6
6
|
require 'lite/regulations/railtie' if defined?(Rails::Railtie)
|
|
7
7
|
require 'lite/regulations/version'
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
require 'lite/regulations/base'
|
|
9
|
+
require 'lite/regulations/activation'
|
|
10
|
+
require 'lite/regulations/containment'
|
|
11
|
+
require 'lite/regulations/expiration'
|
|
12
|
+
require 'lite/regulations/quarantine'
|
|
13
|
+
require 'lite/regulations/suspension'
|
|
14
|
+
require 'lite/regulations/visibility'
|
|
@@ -6,7 +6,7 @@ module Lite
|
|
|
6
6
|
|
|
7
7
|
initializer 'lite-regulations.configure_locales' do |app|
|
|
8
8
|
Array(app.config.i18n.available_locales).each do |locale|
|
|
9
|
-
path = File.expand_path("
|
|
9
|
+
path = File.expand_path("../../../locales/#{locale}.yml", __FILE__)
|
|
10
10
|
next unless File.file?(path)
|
|
11
11
|
|
|
12
12
|
I18n.load_path << path
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lite-regulations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juan Gomez
|
|
@@ -226,12 +226,12 @@ files:
|
|
|
226
226
|
- lib/lite/regulations/base.rb
|
|
227
227
|
- lib/lite/regulations/containment.rb
|
|
228
228
|
- lib/lite/regulations/expiration.rb
|
|
229
|
-
- lib/lite/regulations/locales/en.yml
|
|
230
229
|
- lib/lite/regulations/quarantine.rb
|
|
231
230
|
- lib/lite/regulations/railtie.rb
|
|
232
231
|
- lib/lite/regulations/suspension.rb
|
|
233
232
|
- lib/lite/regulations/version.rb
|
|
234
233
|
- lib/lite/regulations/visibility.rb
|
|
234
|
+
- lib/locales/en.yml
|
|
235
235
|
- lite-regulations.gemspec
|
|
236
236
|
homepage: http://drexed.github.io/lite-regulations
|
|
237
237
|
licenses:
|