lazyatom-gem-this 0.1.4 → 0.1.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.
- data/Rakefile +1 -1
- data/bin/gem-this +2 -1
- metadata +1 -1
data/Rakefile
CHANGED
|
@@ -15,7 +15,7 @@ spec = Gem::Specification.new do |s|
|
|
|
15
15
|
|
|
16
16
|
# Change these as appropriate
|
|
17
17
|
s.name = "gem-this"
|
|
18
|
-
s.version = "0.1.
|
|
18
|
+
s.version = "0.1.5"
|
|
19
19
|
s.summary = "Make existing code into a gem, without any fuss."
|
|
20
20
|
s.author = "James Adam"
|
|
21
21
|
s.email = "james@lazyatom.com"
|
data/bin/gem-this
CHANGED
|
@@ -44,7 +44,8 @@ def using_git?
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
def add_to_gitignore
|
|
47
|
-
|
|
47
|
+
return unless File.exist?(".gitignore")
|
|
48
|
+
ignores = File.readlines(".gitignore")
|
|
48
49
|
ignores += ["pkg", "rdoc"]
|
|
49
50
|
File.open(".gitignore", "w") { |f| f.write ignores.map { |l| l.strip }.uniq.join("\n") }
|
|
50
51
|
end
|