hexx-suit 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hexx/suit/install.rb +17 -0
- data/lib/hexx/suit/install/Gemfile +3 -0
- data/lib/hexx/suit/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: ffad0f15addbda17f8cb1b4194e6b9fa79cac088
|
4
|
+
data.tar.gz: ca39bdb22516a1b61fd000e14c9aad66daaed23c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6adc97a1a2d0c65e75220bb1b8e50e65d32b3de0c0da83c57df3e453d451511fe720f2e6ea90457d49fb1bcc640959bd87fecffa6d1c34ba9369bec0b3ce5e9a
|
7
|
+
data.tar.gz: 24a5a21e0078a98b274cb1120aa62ec9e170c6966b621990c9e43d0d0264a6632f3a1df415a707b6e98bb6ea971e936801133f0515b811846fb9e27649ebc255
|
data/lib/hexx/suit/install.rb
CHANGED
@@ -61,6 +61,23 @@ module Hexx
|
|
61
61
|
copy_file "_rubocop.yml", ".rubocop.yml"
|
62
62
|
end
|
63
63
|
|
64
|
+
# @private
|
65
|
+
def create_gemfile
|
66
|
+
copy_file "Gemfile", skip: true
|
67
|
+
append_to_file(
|
68
|
+
"Gemfile",
|
69
|
+
"\ngem \"hexx-suit\", \"~> #{ version }\"," \
|
70
|
+
" group: :metrics if RUBY_ENGINE == \"ruby\"\n",
|
71
|
+
skip: true
|
72
|
+
)
|
73
|
+
end
|
74
|
+
|
75
|
+
private
|
76
|
+
|
77
|
+
def version
|
78
|
+
Hexx::Suit::VERSION.split(".")[0..1].join(".")
|
79
|
+
end
|
80
|
+
|
64
81
|
end # class Install
|
65
82
|
|
66
83
|
end # module Suit
|
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.1.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: fasterer
|
@@ -194,6 +194,7 @@ files:
|
|
194
194
|
- lib/hexx-suit.rb
|
195
195
|
- lib/hexx/suit.rb
|
196
196
|
- lib/hexx/suit/install.rb
|
197
|
+
- lib/hexx/suit/install/Gemfile
|
197
198
|
- lib/hexx/suit/install/Guardfile
|
198
199
|
- lib/hexx/suit/install/Rakefile
|
199
200
|
- lib/hexx/suit/install/_metrics
|