wize_upgrader 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. data/lib/wize_upgrader.rb +2 -9
  2. metadata +1 -1
data/lib/wize_upgrader.rb CHANGED
@@ -6,6 +6,7 @@ module Wize
6
6
  class Upgrader
7
7
  SOFT_DIR_MAPPINGS = {
8
8
  ".git" => ".git",
9
+ ".gitignore" => ".gitignore",
9
10
  "script" => "bin",
10
11
  "db" => "db",
11
12
  "lib" => "lib",
@@ -20,6 +21,7 @@ module Wize
20
21
  COMMON_GEMS = [
21
22
  "gem 'jquery-rails'",
22
23
  "gem 'rspec-rails'",
24
+ "gem 'jbuilder'",
23
25
  "gem 'coffee-rails', '~> 3.2.1'",
24
26
  "gem 'sass-rails', '~> 3.2.3'",
25
27
  "gem 'uglifier', '>= 1.0.3'",
@@ -55,7 +57,6 @@ module Wize
55
57
  copy_special_files
56
58
  fix_models
57
59
  fix_controllers
58
- version_control
59
60
  rescue => e
60
61
  puts e.message
61
62
  puts e.backtrace
@@ -65,14 +66,6 @@ module Wize
65
66
  puts "------ DONE UPGRADING! HAVE FUN ------"
66
67
  end
67
68
 
68
- def version_control
69
- Dir.chdir(@new_name)
70
- puts `git add -A`
71
- `git commit -m "upgraded to rails 4 with wize_upgrader"`
72
- puts `git push`
73
- Dir.chdir("..")
74
- end
75
-
76
69
  def install_rspec
77
70
  `cd #{ @new_name }`
78
71
  `bundle install`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wize_upgrader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: