schedulable 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 +8 -8
- data/lib/generators/schedulable/locale_generator.rb +2 -2
- data/{config/locales → lib/generators/schedulable/templates/locale}/schedulable.de.yml +0 -0
- data/{config/locales → lib/generators/schedulable/templates/locale}/schedulable.en.yml +0 -0
- data/lib/schedulable/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ODA5YmNlNTU0OGNmNTk3YmU2MDRiNDZjYjQ3ZGUyMmY1NmYxNmNhYg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YWJlMWMwODE2NTRkYjRlYmI1YjkxODAwYmZhMjM0ZjBjM2IzYjllZQ==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MzQyYmY5M2MyMDUwMDMwODhmYjkzZDM5MTVlNDM0ZDQwOWY3ZTkwMTNhMmVi
|
|
10
|
+
OTFiNDU4ZmZkMTgyMzEwMTIyYzUwMDFkM2VjMzJjMjVhOTlmMzc4NTcxMGUy
|
|
11
|
+
OTU5MDcwZGIyYjhhNDFhMDljMGIzNjdlNDNlYTMyZmY0MWE5ZGQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NDEyMDlkZDZiYzRiMjNhMjkzZWMxMDFmZDQ0Yjk4MTQzMGExMDlhODA3OTdl
|
|
14
|
+
NWE0NmE4ZWUzYzFmZGNmOTY1OTUwMDBmMzUwYWQ1NDI0ODU3ZDBlMWJiNWNk
|
|
15
|
+
ZDY3MTc1M2YwNDExZTcyNDEyYTliNDliYWVhNzg5ZjU4ZDA1ZWM=
|
|
@@ -4,11 +4,11 @@ module Schedulable
|
|
|
4
4
|
|
|
5
5
|
argument :locale, :type => :string, :default => "en"
|
|
6
6
|
|
|
7
|
-
source_root File.expand_path('
|
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
|
8
8
|
|
|
9
9
|
def create_locale
|
|
10
10
|
puts 'install locale'
|
|
11
|
-
template "schedulable.#{locale}.yml", "config/locales/schedulable.#{locale}.yml"
|
|
11
|
+
template "locale/schedulable.#{locale}.yml", "config/locales/schedulable.#{locale}.yml"
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
end
|
|
File without changes
|
|
File without changes
|
data/lib/schedulable/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: schedulable
|
|
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
|
- Rafael Nowrotek
|
|
@@ -45,8 +45,6 @@ executables: []
|
|
|
45
45
|
extensions: []
|
|
46
46
|
extra_rdoc_files: []
|
|
47
47
|
files:
|
|
48
|
-
- config/locales/schedulable.de.yml
|
|
49
|
-
- config/locales/schedulable.en.yml
|
|
50
48
|
- lib/generators/schedulable/config_generator.rb
|
|
51
49
|
- lib/generators/schedulable/install_generator.rb
|
|
52
50
|
- lib/generators/schedulable/locale_generator.rb
|
|
@@ -54,6 +52,8 @@ files:
|
|
|
54
52
|
- lib/generators/schedulable/simple_form_generator.rb
|
|
55
53
|
- lib/generators/schedulable/templates/config/schedulable.rb
|
|
56
54
|
- lib/generators/schedulable/templates/inputs/schedule_input.rb
|
|
55
|
+
- lib/generators/schedulable/templates/locale/schedulable.de.yml
|
|
56
|
+
- lib/generators/schedulable/templates/locale/schedulable.en.yml
|
|
57
57
|
- lib/generators/schedulable/templates/migrations/create_occurrences.erb
|
|
58
58
|
- lib/generators/schedulable/templates/migrations/create_schedules.rb
|
|
59
59
|
- lib/generators/schedulable/templates/models/occurrence.erb
|