lite-archive 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: 851598e0a76d9695dd9eaeb19dc963dfac444ad698b7181a604a4783538dfc41
4
- data.tar.gz: 61f17b3822835e73a51e44ebba4294ce7fb3ec5ec2d991e295c28d31a008ddda
3
+ metadata.gz: 535beb5e80f2f77c304b3cb07881d3219d98822c973a0bd3ae2b25a217cee3f6
4
+ data.tar.gz: aa9ec689bcc94cbb873743d495ad020c738e56ba0c289c73857b874293d5fac0
5
5
  SHA512:
6
- metadata.gz: 93521127ebf7885e35a8cc33e41df535e3379681f4d4f8e70f16030832215a27f8ba5ade973f1ffd5165f45cc47137e273b1a9d9a0d05f9fa97dd25d58dbdb40
7
- data.tar.gz: e13824f54810e733fa66311af86b65088beed5ba307e9074c62a43ca491d7ddb9fb9e132b91f5c3df04971dfb7ddc0326a504c1d9e44c1ac368e67f95bd98961
6
+ metadata.gz: 1051dd0a9ed346d1583846f75db0a026d7edf33a28e6312e7a1179474559715ab103ba95f7d43b252c118d46c03ffec2308de77f85e469299e3db0396d4df47d
7
+ data.tar.gz: 185d5c50c911322614c62189476e85631e40ea4487ed1e2d0b31a9aa76fcb4581560bb626fe12c14d431536afa33ac6249e42bd99144f63f4e5673d1f8b88f5a
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-21
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-archive (1.1.1)
4
+ lite-archive (1.1.2)
5
5
  activerecord
6
6
  activesupport
7
7
 
File without changes
data/lib/lite/archive.rb CHANGED
@@ -7,7 +7,9 @@ require 'generators/lite/archive/install_generator' if defined?(Rails::Generator
7
7
 
8
8
  require 'lite/archive/railtie' if defined?(Rails::Railtie)
9
9
  require 'lite/archive/version'
10
-
11
- %w[configuration schema_statement table_definition methods scopes base].each do |name|
12
- require "lite/archive/#{name}"
13
- end
10
+ require 'lite/archive/configuration'
11
+ require 'lite/archive/schema_statement'
12
+ require 'lite/archive/table_definition'
13
+ require 'lite/archive/methods'
14
+ require 'lite/archive/scopes'
15
+ require 'lite/archive/base'
@@ -6,7 +6,7 @@ module Lite
6
6
 
7
7
  initializer 'lite-archive.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("../../../../config/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 Archive
5
5
 
6
- VERSION = '1.1.1'
6
+ VERSION = '1.1.2'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-archive
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
@@ -228,12 +228,12 @@ files:
228
228
  - _config.yml
229
229
  - bin/console
230
230
  - bin/setup
231
+ - config/locales/en.yml
231
232
  - lib/generators/lite/archive/install_generator.rb
232
233
  - lib/generators/lite/archive/templates/install.rb
233
234
  - lib/lite/archive.rb
234
235
  - lib/lite/archive/base.rb
235
236
  - lib/lite/archive/configuration.rb
236
- - lib/lite/archive/locales/en.yml
237
237
  - lib/lite/archive/methods.rb
238
238
  - lib/lite/archive/railtie.rb
239
239
  - lib/lite/archive/schema_statement.rb