gitpartyguest 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,9 +3,16 @@ class Gitpartyguest::InitializerGenerator < Rails::Generators::Base
3
3
 
4
4
  desc "Generates routes for updating site."
5
5
 
6
- def initialize
6
+ def initializer
7
7
  copy_file "repo_init.rb", "config/initializers/repo_init.rb" '
8
8
  route "resources :update, :only => :index"'
9
9
  end
10
10
 
11
+ def copy_initializer_file
12
+ copy_file "repo_init.rb", "config/initializers/repo_init.rb"
13
+ end
14
+
15
+ def add_route
16
+ route "resources :update, :only => :index"
17
+ end
11
18
  end
@@ -1,3 +1,3 @@
1
1
  module Gitpartyguest
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitpartyguest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: