schedulable 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTg5Y2E4OWJkYzkwYTliN2UxZDE0NjRjMTNlMjViYWQ4MTA5NjIwNA==
4
+ ODA5YmNlNTU0OGNmNTk3YmU2MDRiNDZjYjQ3ZGUyMmY1NmYxNmNhYg==
5
5
  data.tar.gz: !binary |-
6
- YWNjZmE2NWE2ZjNjNmM4NjFhMmJiNDIyZTYxODcwNzQ4Yzc4NWFiMQ==
6
+ YWJlMWMwODE2NTRkYjRlYmI1YjkxODAwYmZhMjM0ZjBjM2IzYjllZQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTY0Y2UyZmQ2N2IzYjk3NjU2NWM3YzQ1NjRkNmExNGJlMDVkYTFlZDY0OWYw
10
- NzNmMzcxYWYwZjUyZTkwYmI1ZTVmMDVlMzgyMTIzZGU4ZmVhODFiZTM3NmRk
11
- YjEyM2YwNTIxNGIyZjQ0OWM3ODA3NzhkMjM1MWJlOTk1YTZiYWE=
9
+ MzQyYmY5M2MyMDUwMDMwODhmYjkzZDM5MTVlNDM0ZDQwOWY3ZTkwMTNhMmVi
10
+ OTFiNDU4ZmZkMTgyMzEwMTIyYzUwMDFkM2VjMzJjMjVhOTlmMzc4NTcxMGUy
11
+ OTU5MDcwZGIyYjhhNDFhMDljMGIzNjdlNDNlYTMyZmY0MWE5ZGQ=
12
12
  data.tar.gz: !binary |-
13
- ZWVjNzcxM2I5ZjA5NjgzMzNkYmJjZjZmYWQzZDJjN2M5YWVjMTgyMzAwYmM0
14
- MWY1MWQ0MmY5M2JhMzM2NDVlNzljZjEwNmFhNzhjNmIzMGExMThhMTRlMjEz
15
- ZWI5ZWJkMzBiYjlmNDRmMTM1NjdiNmZhMzUxMTJmMzYxODQ5MzQ=
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('../../../../../config/locales', __FILE__)
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
@@ -1,3 +1,3 @@
1
1
  module Schedulable
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
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.2
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