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 +4 -4
- data/lib/generators/{USAGE → time_will_tell/install/USAGE} +0 -0
- data/lib/generators/{install_generator.rb → time_will_tell/install/install_generator.rb} +2 -2
- data/lib/generators/time_will_tell/{templates → install/templates}/config/locales/time_will_tell.en.yml +0 -0
- data/lib/time_will_tell/version.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9df2e1dbc70a4b7a75f46a82274345c31e28503b
|
|
4
|
+
data.tar.gz: 6301da2b44cfdf952d658caad8b21d74ae18e051
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 416388541bc70c215cb26bede5c8f1bd06b35df69b3c08803eadea363ed1fa137561f3b68aabe7da06427614e191fce7e0494c6f85a0f19aa4553aaf51a70def
|
|
7
|
+
data.tar.gz: 1adda75db830cf80c1af65ed034b7d721db63c7150a629e26084a8a18750426ffc1fdeed4f660d000f6fa1f26afc7b91fa2bf22d75551fec17ecf0ccf474ff35
|
|
File without changes
|
|
@@ -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(
|
|
5
|
+
source_root File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
|
6
6
|
|
|
7
7
|
def copy_locales
|
|
8
|
-
directory
|
|
8
|
+
directory 'config/locales'
|
|
9
9
|
end
|
|
10
10
|
end
|
|
11
11
|
end
|
|
File without changes
|
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.
|
|
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
|