time_will_tell 0.0.2 → 0.0.3

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: 57dee9ddb266b6137dd3ddc13ded38620a2ec167
4
- data.tar.gz: fbccd3b5a1a057fbdc816926e92fb82e1d9001cd
3
+ metadata.gz: 9df2e1dbc70a4b7a75f46a82274345c31e28503b
4
+ data.tar.gz: 6301da2b44cfdf952d658caad8b21d74ae18e051
5
5
  SHA512:
6
- metadata.gz: d728f1d7cd227ad465b655a35b2832aa64e9c11707e5dbb205414df110fe15ce81d8bf6cae6d0158d53cd90a9e2f7d2478eddb734ba9a83814aff8a351719b50
7
- data.tar.gz: b44dc7c9e272cf562b6cdec4a530283f2e34748fe0f796899ec5342306c3b57ca3ddf1bbf2442c42c9338647747e6ae1099875eb5bb33a921235cd7fb7d3ceb8
6
+ metadata.gz: 416388541bc70c215cb26bede5c8f1bd06b35df69b3c08803eadea363ed1fa137561f3b68aabe7da06427614e191fce7e0494c6f85a0f19aa4553aaf51a70def
7
+ data.tar.gz: 1adda75db830cf80c1af65ed034b7d721db63c7150a629e26084a8a18750426ffc1fdeed4f660d000f6fa1f26afc7b91fa2bf22d75551fec17ecf0ccf474ff35
@@ -2,10 +2,10 @@ module TimeWillTell
2
2
  module Generators
3
3
  class InstallGenerator < Rails::Generators::Base
4
4
  desc "Copy TimeWillTell default files"
5
- source_root File.expand_path("../templates", __FILE__)
5
+ source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
6
6
 
7
7
  def copy_locales
8
- directory "config/locales"
8
+ directory 'config/locales'
9
9
  end
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module TimeWillTell
2
- VERSION = "0.0.2".freeze
2
+ VERSION = '0.0.3'.freeze
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rails/railtie'
2
2
  require 'time_will_tell'
3
3
 
4
- I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '../lib/generators/time_will_tell/templates/config/locales/*.yml') ]
4
+ I18n.load_path += Dir[ File.join(File.dirname(__FILE__), '../lib/generators/time_will_tell/install/templates/config/locales/*.yml') ]
5
5
  I18n.load_path += Dir[ File.join(File.dirname(__FILE__), './fixtures/locales/*.yml') ]
6
6
  I18n.default_locale = :en
7
7
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_will_tell
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michel Billard
@@ -79,9 +79,9 @@ files:
79
79
  - LICENSE.txt
80
80
  - README.md
81
81
  - Rakefile
82
- - lib/generators/USAGE
83
- - lib/generators/install_generator.rb
84
- - lib/generators/time_will_tell/templates/config/locales/time_will_tell.en.yml
82
+ - lib/generators/time_will_tell/install/USAGE
83
+ - lib/generators/time_will_tell/install/install_generator.rb
84
+ - lib/generators/time_will_tell/install/templates/config/locales/time_will_tell.en.yml
85
85
  - lib/time_will_tell.rb
86
86
  - lib/time_will_tell/helpers/date_helper.rb
87
87
  - lib/time_will_tell/helpers/date_range_helper.rb