lift_off 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/lift_off +1 -1
- data/lib/lift_off/version.rb +1 -1
- metadata +3 -3
data/bin/lift_off
CHANGED
@@ -31,7 +31,7 @@ def replace_in_file(filename, new_value)
|
|
31
31
|
temp_file = Tempfile.new(File.basename(filename))
|
32
32
|
|
33
33
|
contents = File.read(filename)
|
34
|
-
changed_contents = contents.gsub(ORIGINAL_NAME, new_value).gsub(ORIGINAL_NAME
|
34
|
+
changed_contents = contents.gsub(ORIGINAL_NAME, new_value).gsub(underscore(ORIGINAL_NAME), underscore(new_value))
|
35
35
|
temp_file.print(changed_contents)
|
36
36
|
temp_file.close
|
37
37
|
FileUtils.mv(temp_file.path, filename)
|
data/lib/lift_off/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lift_off
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fileutils
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
78
|
rubyforge_project:
|
79
|
-
rubygems_version: 1.8.
|
79
|
+
rubygems_version: 1.8.23
|
80
80
|
signing_key:
|
81
81
|
specification_version: 3
|
82
82
|
summary: CLI for making Iora based Rails apps.
|