hexx-suit 2.1.0 → 2.2.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c2cb3d7683bd9a1bc6f3358c6c1bbbf215060ac
|
4
|
+
data.tar.gz: 20c2c592c4153d2e1e5c8dd9a06914ea622e72ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1612f0ef30e5ab66978183ac9c0eb269e52e09d286460aaf37eed185d0fdf1e8f53558e708921a7da6cdb3db17c6b602df1790bc7e3a99e3a16c0f56fea3df66
|
7
|
+
data.tar.gz: 741f67f17a60aaeb9233cc4419b0592e8ffb7f156469400793d348db6a1f337b75ea1acb0d07d6aaa8772762219310a74eb0a97722ab839d423952533ccb784c
|
data/lib/hexx/suit/install.rb
CHANGED
@@ -31,6 +31,11 @@ module Hexx
|
|
31
31
|
Hexx::RSpec::Install.start %w(--no-rakefile)
|
32
32
|
end
|
33
33
|
|
34
|
+
# @private
|
35
|
+
def update_spec_helper
|
36
|
+
template "spec/spec_helper.erb", "spec/spec_helper.rb", force: true
|
37
|
+
end
|
38
|
+
|
34
39
|
# @private
|
35
40
|
def create_rakefile
|
36
41
|
copy_file "Rakefile"
|
@@ -78,6 +83,10 @@ module Hexx
|
|
78
83
|
Hexx::Suit::VERSION.split(".")[0..1].join(".")
|
79
84
|
end
|
80
85
|
|
86
|
+
def gemname
|
87
|
+
@gemname ||= ::File.basename(destination_root).downcase
|
88
|
+
end
|
89
|
+
|
81
90
|
end # class Install
|
82
91
|
|
83
92
|
end # module Suit
|
@@ -1,5 +1,9 @@
|
|
1
1
|
# Settings for metric_fu and its packages are collected in the `config/metrics`
|
2
2
|
# and loaded by the Hexx::Suit::Metrics::MetricFu.
|
3
3
|
|
4
|
-
|
5
|
-
|
4
|
+
begin
|
5
|
+
require "hexx-suit"
|
6
|
+
Hexx::Suit::Metrics::MetricFu.load
|
7
|
+
rescue LoadError
|
8
|
+
puts "The 'hexx-suit' gem is not installed"
|
9
|
+
end
|
data/lib/hexx/suit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hexx-suit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.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-
|
11
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fasterer
|
@@ -210,6 +210,7 @@ files:
|
|
210
210
|
- lib/hexx/suit/install/metrics/rubocop.yml
|
211
211
|
- lib/hexx/suit/install/metrics/saikuro.yml
|
212
212
|
- lib/hexx/suit/install/metrics/yardstick.yml
|
213
|
+
- lib/hexx/suit/install/spec/spec_helper.erb
|
213
214
|
- lib/hexx/suit/metrics.rb
|
214
215
|
- lib/hexx/suit/metrics/metric_fu.rb
|
215
216
|
- lib/hexx/suit/metrics/metric_fu/base.rb
|