lite-regulations 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6acbbef86579433a77664ff0bcd047b9425afbce5883b676b3bad427d24b9c87
4
- data.tar.gz: e77daf09160432da89a91c178a7bffb340c3e1e096fb453c2f8eb4c3f53074db
3
+ metadata.gz: ea952d7fa12d6c92b81ae4e768886d441a8671ff954712e956435e36a40bee43
4
+ data.tar.gz: 4f03400524d1fbcbd957c022b8f73f3d4395ad8d1b0b73c772c452d9717473d1
5
5
  SHA512:
6
- metadata.gz: 58dcf0493ba2cb0448bdd06910fb099a77bb9dee27a1ad81fb6471e1d2072dbc75b4f61e73816a14e4aa5c78e9c763566d7fb9dd448a2dd8942370f967e0718e
7
- data.tar.gz: ba0d5cac1e383674a0b7b4910d5e9bfa796356c29ab393cacd7488dabe65b71fb33a92b98d1af85f7f499df31a29bc538287c22fc0bbc70f858c4e6b5c467214
6
+ metadata.gz: d8711f05feab90e84800582867820b685dd4e02a0c3d767018a37d889bb47467d18ef9516a882bf6431df1c86b253daff5827496ddb91d512e66a18b8de463b9
7
+ data.tar.gz: 58afa2b765087bef2a98f65b93cd055d53c218336fb426fd8a99e3c3abee6b359e4af58cc2699f64f52ba26aef9bdb4f3a13d584e893ce66d9cb5644606641e8
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.2] - 2021-07-22
10
+ ### Changed
11
+ - Improved setup
12
+
9
13
  ## [1.1.1] - 2021-07-21
10
14
  ### Changed
11
15
  - Improved Railtie support
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-regulations (1.1.1)
4
+ lite-regulations (1.1.2)
5
5
  activerecord
6
6
  activesupport
7
7
 
@@ -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
- %w[base activation containment expiration quarantine suspension visibility].each do |name|
10
- require "lite/regulations/#{name}"
11
- end
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("../locales/#{locale}.yml", __FILE__)
9
+ path = File.expand_path("../../../locales/#{locale}.yml", __FILE__)
10
10
  next unless File.file?(path)
11
11
 
12
12
  I18n.load_path << path
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Regulations
5
5
 
6
- VERSION = '1.1.1'
6
+ VERSION = '1.1.2'
7
7
 
8
8
  end
9
9
  end
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.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: