tongues 0.0.6 → 0.0.7

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: a27d1786bab1c001a28c83db1ef8b4a870a8b489
4
- data.tar.gz: 4b06f49aab1939b5e5441344ec1ce4efabc56a8d
3
+ metadata.gz: c0e7771525b62a49765e4023e485cc4c2fcd8c7d
4
+ data.tar.gz: e6c0d9369359c659e21ae147fdd45e93b6f174d6
5
5
  SHA512:
6
- metadata.gz: eaf98b0456d9abc4cf26af116963ec1e58438ef4df2af61929fab8ecc4ac88cd7c4cb068721d32ecd2a90844ec8ef6db63e16dbbfb6e405eec9e0054d2da9e73
7
- data.tar.gz: 9e5e100fa4af46ed25038cf1759ac949d5f2b0d20429fa72a193472c3de8f3afe80d10d8ee300ddc25eba2ef78d24360b8b5af6d9811f6d2f23e01c7c2fd9ede
6
+ metadata.gz: 8ba8aa9542f14a4a660a688ba47e01a9876ddbea875fdcd40fea678085b1530cac0da4602c8a1a8a9463d9845718ed7c252ab8cc5ae9a332143147ffa265b3da
7
+ data.tar.gz: 4d63745fd0a427f7d04d7146dab49f80a1164cb736066083d4c6db70505fbe50862694bd71e88cc1cb405d0afff891de8f9d480779a1c498c3e8e101759e60af
@@ -5,8 +5,8 @@ module Tongues
5
5
  source_root File.expand_path('../templates', __FILE__)
6
6
 
7
7
  desc 'This generator creates an initializer for the api key.'
8
- def add_initializer
9
- template 'initializer.rb', 'config/initializers/tongues.rb'
8
+ def copy_initializer_file
9
+ copy_file 'initializer.rb', 'config/initializers/tongues.rb'
10
10
  end
11
11
  end
12
12
  end
@@ -0,0 +1,4 @@
1
+ #Tongues.configure do |config|
2
+ # require 'tongues'
3
+ # config.api_key = ''
4
+ #end
@@ -1,3 +1,3 @@
1
1
  module Tongues
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
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_generator.rb
90
- - lib/generators/templates/initializer.rb
89
+ - lib/generators/initializer/initializer_generator.rb
90
+ - lib/generators/initializer/templates/initializer.rb
91
91
  - lib/tongues.rb
92
92
  - lib/tongues/api_connexion.rb
93
93
  - lib/tongues/config/config.yml
@@ -1,4 +0,0 @@
1
- Tongues.configure do |config|
2
- require 'tongues'
3
- config.api_key = ''
4
- end