smart-period 1.0.8 → 1.0.9

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: 0a3d9947a640e16d37b4388f379169c0001a3ae7ec3f62364ce5649c459815a6
4
- data.tar.gz: c4e126393399c839bf7a14f1c5484048d3f37d187a4edfcb86b6c120377c66b1
3
+ metadata.gz: 4080d2ca42a869f1d9d2004c9d94b71695e6382c164a8c40d79e1360535b1b48
4
+ data.tar.gz: f9a9b9e8d956cf063adbfae50643012f2146d086919cf00bf0e879bbc34d2932
5
5
  SHA512:
6
- metadata.gz: 24cf1e781b82c179b9423dc996ab9e125aa673e616814dfcd3492466838fe583f24aa0eebfcdd4e30eda0ee875e4064d7a96b34749b2557a9bf4464879ec9073
7
- data.tar.gz: 6b9f7c388255bc3cffd73704d916577faad5e739d764df421ce1785bc46065ff81526d9bba4324aae1f2d928f7f5e3b3f53a2aba351ad23fe4cfe20e72cc6cc5
6
+ metadata.gz: df0f98369e8cca8811b27759d38608e92e64329c34841f82332b69f3edf41321eecac3f6207e18f907135596d1726a53b1893cb498869e159777867846d24f20
7
+ data.tar.gz: 780bd0cacac4df000645784f2c430f7a4803d36f1395b7568a54fc64cd74da90f6e20a473e42ca28b6349af04033b8a51b39092075f6b06e320772ba0fc94b86
data/README.md CHANGED
@@ -16,7 +16,7 @@ And then execute:
16
16
 
17
17
  Or install it yourself as:
18
18
 
19
- $ gem install period
19
+ $ gem install smart-period
20
20
 
21
21
  ## Usage
22
22
 
@@ -1,6 +1,10 @@
1
1
  require_relative 'period/version.rb'
2
2
  require 'active_support/all'
3
3
  require 'i18n'
4
+
5
+ I18n.load_path << File.expand_path("../config/locales/en.yml", __dir__)
6
+ I18n.load_path << File.expand_path("../config/locales/fr.yml", __dir__)
7
+
4
8
  require_relative 'numeric.rb'
5
9
  require_relative 'period/free_period.rb'
6
10
  require_relative 'period/day.rb'
@@ -1,5 +1,5 @@
1
1
  module Period
2
2
 
3
- VERSION = '1.0.8'.freeze
3
+ VERSION = '1.0.9'.freeze
4
4
 
5
5
  end
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
34
34
  end
35
35
  spec.bindir = 'exe'
36
36
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
37
- spec.require_paths = %w[lib]
37
+ spec.require_paths = %w[lib config]
38
38
 
39
39
  spec.required_ruby_version = '>= 2.5'
40
40
  spec.add_runtime_dependency 'activesupport', '>= 5', '< 7'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart-period
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - billau_l
@@ -123,6 +123,7 @@ post_install_message:
123
123
  rdoc_options: []
124
124
  require_paths:
125
125
  - lib
126
+ - config
126
127
  required_ruby_version: !ruby/object:Gem::Requirement
127
128
  requirements:
128
129
  - - ">="