Baidupush 0.0.4 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d587f948a6e7a562ed3d3937acf00188a4bbf1f1
|
4
|
+
data.tar.gz: 6f455e9c6c4675678e90c2594a4772e5372cc538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24f5e89d93b03adc50de17ea35dd7c351fc8e9a9418720864e40522de7f9c143f52722bd4f6181285f313af9b244170ceb2ff260a3b6dd89fc7bb66a33ad642c
|
7
|
+
data.tar.gz: 41c420caacb13a2cd8e9626086e6f0775736c8e6f1692bc4368ea3b4608e88166e5a7103612c54c16a428d9c6b836dbc0ea0b1cce018e2d26ea08d509df7bd40
|
data/lib/Baidupush/version.rb
CHANGED
@@ -4,9 +4,11 @@ module Baidupush
|
|
4
4
|
# Your code goes here...
|
5
5
|
module Generators
|
6
6
|
class ConfigGenerator < ::Rails::Generators::Base
|
7
|
+
source_root File.expand_path('../templates', __FILE__)
|
7
8
|
desc "Creates a baidu_cloud_push configuration file at config/baidu_push.yml"
|
8
9
|
|
9
|
-
def
|
10
|
+
def generate_config
|
11
|
+
p "Come in!"
|
10
12
|
template 'baidu_cloud_push.yml', File.join('config', 'baidu_cloud_push.yml')
|
11
13
|
end
|
12
14
|
|