gitpartyguest 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.summary = %q{gonna start out small to make a gem}
11
11
  gem.homepage = ""
12
12
 
13
- gem.files = `git ls-files`.split($\) + Dir["config/*"] + Dir["lib/generators/*"]
13
+ gem.files = `git ls-files`.split($\) + Dir["lib/generators/*"]
14
14
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
15
15
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
16
16
  gem.name = "gitpartyguest"
@@ -1,9 +1,9 @@
1
- class Gitpartyguest::InitializerGenerator < Rails::Generators::Base
1
+ class Gitpartyguest::InitializerGenerator < Rails::Generators::NamedBase
2
2
  source_root File.expand_path('../templates', __FILE__)
3
3
 
4
4
  desc "Generates routes for updating site."
5
5
 
6
- def gitpartyguest_initialize
6
+ def initialize
7
7
  copy_file "repo_init.rb", "config/initializers/repo_init.rb" '
8
8
  route "resources :update, :only => :index"'
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Gitpartyguest
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -23,8 +23,6 @@ files:
23
23
  - LICENSE
24
24
  - README.md
25
25
  - Rakefile
26
- - config/initializers/repo_init.rb
27
- - config/routes.rb
28
26
  - gitpartyguest.gemspec
29
27
  - lib/generators/gitpartyguest/initializer/USAGE
30
28
  - lib/generators/gitpartyguest/initializer/initializer_generator.rb
@@ -1,11 +0,0 @@
1
- #Synch Increment is a way to indicate how often a rollback point will be set in git.
2
- #The default is minutes which means a new clone will be
3
- #created if the previous synch was longer than one minute ago.
4
- # the other increments are:
5
- # 'second'
6
- # 'minute'
7
- # 'hour'
8
- # 'day'
9
- ::SYNCHINC = 'minute'
10
-
11
- ::REPOSERVER = 'git@github.com:sfweb/SFBlogSite.git'
data/config/routes.rb DELETED
@@ -1,5 +0,0 @@
1
- GitPartyGuest::Application.routes.draw do
2
- resources :update, :only => :index
3
- end
4
-
5
-