tongues 0.0.8 → 0.0.9

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: 6360f6340866664d1f4e09d4e414da537f87b035
4
- data.tar.gz: 69a90d17e1399a20ce8e22ca01c914aeeda21823
3
+ metadata.gz: 1611101e9f039b98ac300f335d8a93945ce92007
4
+ data.tar.gz: 07f3273a262facda8723c95998c23a36adb7a004
5
5
  SHA512:
6
- metadata.gz: 671170a3e7f85c7686a4119215bd222f0503e1872c3a22fb7c380c5eb62ab4cdc4ba848840bcb1ab318b3f5fc768a94d767b7f748b19af67820ecfa94d4454b1
7
- data.tar.gz: 1673c47f7913e8a22e4873a708df0f2b8eac89290acd1f419e85b4d7668e3f270597dbb04867dd40d616c2da3fba4d0c3cbd2ec24ec948c05129e98aea5a3505
6
+ metadata.gz: a574ee4769f480719927288de21c022e67ae3fb61d58940e7d7f7aeb7a0d4d823634dc3b5f071aa295f4096664ee1f88c6058ed6740be8037f48720f11e3b02e
7
+ data.tar.gz: be044ff1485e070d4b333ca6dde03d0dd57d92feb62a56f23d21f3692dff59aa2854c109646cc5ea4546638b48d1ccea9aaef60173ea3ca3745a271a65a91c93
@@ -0,0 +1,11 @@
1
+ require 'rails/generators'
2
+
3
+ class InitializerGenerator < Rails::Generators::Base
4
+ source_root File.expand_path('../templates', __FILE__)
5
+
6
+ desc 'This generator creates an initializer for the api key.'
7
+
8
+ def copy_initializer_file
9
+ copy_file 'initializer.rb', 'config/initializers/tongues.rb'
10
+ end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Tongues
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tongues
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexandre Zicat
@@ -86,8 +86,8 @@ files:
86
86
  - README.md
87
87
  - Rakefile
88
88
  - lib/README.md
89
- - lib/generators/initializer/templates/initializer.rb
90
- - lib/generators/initializer/tongues_generator.rb
89
+ - lib/generators/tongues/initializer_generator.rb
90
+ - lib/generators/tongues/templates/initializer.rb
91
91
  - lib/tongues.rb
92
92
  - lib/tongues/api_connexion.rb
93
93
  - lib/tongues/config/config.yml
@@ -1,12 +0,0 @@
1
- require 'rails/generators'
2
-
3
- module Tongues
4
- class TonguesGenerator < Rails::Generators::Base
5
- source_root File.expand_path('../templates', __FILE__)
6
-
7
- desc 'This generator creates an initializer for the api key.'
8
- def copy_initializer_file
9
- copy_file 'initializer.rb', 'config/initializers/tongues.rb'
10
- end
11
- end
12
- end