onceover 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/controlrepo.gemspec +1 -1
- data/lib/onceover/controlrepo.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e331719150663a74f692d2459bd69c1743efc20b
|
4
|
+
data.tar.gz: 398b392ff989e0aee94c1d12f4d8059d1393bf42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1510032b56377bc1a5add18e8c0df518b8d58bf296a20a1dbc7c2b4545527a60c1d7362468a041cd480a59b4dcdbb1d795d4fdb2def5d794c39182f75f9ef4a0
|
7
|
+
data.tar.gz: 504c1a7da69bbd3a12119f1d08b8f0d119f7de859774b15fcfd1e7f4428129d109a7ebd55f328c68c0068640fded8e181734e6d32aa1b71692d374137795d7af
|
data/controlrepo.gemspec
CHANGED
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "onceover"
|
6
|
-
s.version = "3.0.
|
6
|
+
s.version = "3.0.4"
|
7
7
|
s.authors = ["Dylan Ratcliffe"]
|
8
8
|
s.email = ["dylan.ratcliffe@puppet.com"]
|
9
9
|
s.homepage = "https://github.com/dylanratcliffe/onceover"
|
data/lib/onceover/controlrepo.rb
CHANGED
@@ -376,7 +376,7 @@ class Onceover
|
|
376
376
|
Onceover::Controlrepo.init_write_file(Onceover::Controlrepo.evaluate_template('pre_conditions_README.md.erb',binding),File.expand_path('./pre_conditions/README.md',repo.spec_dir))
|
377
377
|
Onceover::Controlrepo.init_write_file(Onceover::Controlrepo.evaluate_template('factsets_README.md.erb',binding),File.expand_path('./factsets/README.md',repo.spec_dir))
|
378
378
|
|
379
|
-
# Add .
|
379
|
+
# Add .onceover to Gitignore
|
380
380
|
gitignore_path = File.expand_path('.gitignore',repo.root)
|
381
381
|
if File.exists? gitignore_path
|
382
382
|
gitignore_content = (File.open(gitignore_path,'r') {|f| f.read }).split("\n")
|
@@ -386,8 +386,8 @@ class Onceover
|
|
386
386
|
gitignore_content = []
|
387
387
|
end
|
388
388
|
|
389
|
-
unless gitignore_content.include?(".
|
390
|
-
gitignore_content << ".
|
389
|
+
unless gitignore_content.include?(".onceover")
|
390
|
+
gitignore_content << ".onceover\n"
|
391
391
|
File.open(gitignore_path,'w') {|f| f.write(gitignore_content.join("\n")) }
|
392
392
|
puts "#{message} #{Pathname.new(gitignore_path).relative_path_from(Pathname.new(Dir.pwd)).to_s}"
|
393
393
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onceover
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Ratcliffe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|