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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1611101e9f039b98ac300f335d8a93945ce92007
|
4
|
+
data.tar.gz: 07f3273a262facda8723c95998c23a36adb7a004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/lib/tongues/version.rb
CHANGED
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.
|
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/
|
90
|
-
- lib/generators/initializer
|
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
|
File without changes
|