gitrubydeploy 0.0.2 → 0.0.3

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: 7e61e3ebca3b16e3b54a280056dee0d4ba3e0763
4
- data.tar.gz: 1ba42973bb3f89a91cf3365c22cb393f7d99b1ba
3
+ metadata.gz: 379d08e774041caecde832079246a3dbd3095bc7
4
+ data.tar.gz: 7876c48e783e2840f9451bc34ae523ff086b12c2
5
5
  SHA512:
6
- metadata.gz: 560c5a699e8806ab798ce08a214c1bdd60ac803d5816172db8868d6c5e7b97e7bf4a0e2547a3b3365482fabb6387e5633a60cfbc33f6a46b9e7145334b897e13
7
- data.tar.gz: 742291aac317db8c5dae9da0db731249647b9860de58df233358a4386057f5f7aeba85946bf587da3b8804f62adaef2727edb00eb805d3104fbd35447bc763e3
6
+ metadata.gz: 51dd91b8b6106452c4c55e997de3d0edca0e2472955519584c954ee5e59f58c8c814732e9c88d68392a01b4a226d1ed234b6328e8d2f30e6da78159263cfd9e2
7
+ data.tar.gz: 6b044c8a3035f9f25b401ab8190f839bc3fab188b3a3614c95d5351066138457c7db17c8e7b151e58508d163a51b7687371193ba88f50134a98220927a977b7c
@@ -1,8 +1,9 @@
1
- class GitRubyDeploy::ControllersGenerator < Rails::Generators::Base
1
+ require 'rails/generators'
2
+ class ControllersGenerator < ::Rails::Generators::Base
2
3
  source_root File.expand_path("../templates", __FILE__)
3
4
 
4
5
  def copy_files
5
6
  copy_file 'config/controllers/deploy_controller.rb', 'app/controllers/deploy_controller.rb'
6
- copy_file 'config/routes.rb', 'app/cib/deploy_controller.rb'
7
+ copy_file 'config/routes.rb', 'app/config/deploy_controller.rb'
7
8
  end
8
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitrubydeploy
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
  - Nywton Barros
@@ -53,9 +53,9 @@ extra_rdoc_files: []
53
53
  files:
54
54
  - MIT-LICENSE
55
55
  - README.rdoc
56
- - lib/generators/git_ruby_deploy/controllers/controllers_generator.rb
57
- - lib/generators/git_ruby_deploy/controllers/templates/config/controllers/deploy_controller.rb
58
- - lib/generators/git_ruby_deploy/controllers/templates/config/routes.rb
56
+ - lib/generators/controllers/controllers_generator.rb
57
+ - lib/generators/controllers/templates/config/controllers/deploy_controller.rb
58
+ - lib/generators/controllers/templates/config/routes.rb
59
59
  homepage: http://rubygems.org/gems/gitrubydeploy
60
60
  licenses:
61
61
  - MIT