hexx-rspec 0.3.1 → 0.4.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.
- checksums.yaml +4 -4
- data/lib/hexx/rspec/install.rb +11 -0
- data/lib/hexx/rspec/install/spec_helper.erb +8 -0
- data/lib/hexx/rspec/version.rb +1 -1
- data/spec/tests/lib/install_spec.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fbfa5d92b4a49c8d9cfb833301013a6985fe1663
|
4
|
+
data.tar.gz: d949ee55e3519117ea0430d1c35fa711fdd50691
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 93eab1199412db06415f270cc3f60f689c4a7264d591eb0674e72b47eac2e4cdb3f161a8bbba785d3da388388d8c6ad1330211af3675ce5fe892bfeafe1d6e93
|
7
|
+
data.tar.gz: 03fb21a46c85c61dbeb87b7383abafdb48759c8e6b1b6be6a626eaf9e22b1c37355fb9e67f8fb19fa26a6cdacebc283644c290d934ba8d44f37502b2c71f2b0f
|
data/lib/hexx/rspec/install.rb
CHANGED
@@ -44,6 +44,17 @@ module Hexx
|
|
44
44
|
copy_file "simplecov.yml", "config/metrics/simplecov.yml"
|
45
45
|
end
|
46
46
|
|
47
|
+
# @private
|
48
|
+
def create_spec_helper
|
49
|
+
template "spec_helper.erb", "spec/spec_helper.rb"
|
50
|
+
end
|
51
|
+
|
52
|
+
private
|
53
|
+
|
54
|
+
def gemname
|
55
|
+
@gemname ||= ::File.basename(destination_root).downcase
|
56
|
+
end
|
57
|
+
|
47
58
|
end # class Install
|
48
59
|
|
49
60
|
end # module RSpec
|
data/lib/hexx/rspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Kozin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coveralls
|
@@ -133,6 +133,7 @@ files:
|
|
133
133
|
- lib/hexx/rspec/install/Rakefile
|
134
134
|
- lib/hexx/rspec/install/_rspec
|
135
135
|
- lib/hexx/rspec/install/simplecov.yml
|
136
|
+
- lib/hexx/rspec/install/spec_helper.erb
|
136
137
|
- lib/hexx/rspec/metrics.rb
|
137
138
|
- lib/hexx/rspec/metrics/base.rb
|
138
139
|
- lib/hexx/rspec/metrics/simplecov.rb
|