rename 0.0.9 → 1.0.0
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.
@@ -7,7 +7,6 @@ module Rename
|
|
7
7
|
return if !valid_app_name?
|
8
8
|
new_module_name()
|
9
9
|
new_basename()
|
10
|
-
puts "Done!"
|
11
10
|
end
|
12
11
|
|
13
12
|
private
|
@@ -76,6 +75,7 @@ module Rename
|
|
76
75
|
print "Renaming directory..."
|
77
76
|
new_path = Rails.root.to_s.split('/')[0...-1].push(basename).join('/')
|
78
77
|
File.rename(Rails.root.to_s, new_path)
|
78
|
+
puts "Done!"
|
79
79
|
rescue Exception => ex
|
80
80
|
puts "Error:#{ex.message}"
|
81
81
|
end
|
data/lib/rename/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rename
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-06-
|
12
|
+
date: 2013-06-25 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &72799420 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *72799420
|
25
25
|
description: This library allows you to rename Rails3 application by using a single
|
26
26
|
command
|
27
27
|
email:
|