autowow 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48291b2d9a0df006bf706b4b1e78e68d738b2e95
4
- data.tar.gz: a77484bd198269c68dd5c43afec2055b0368f536
3
+ metadata.gz: 4d49aa6913b86fa938c73addb935897a158f5e9b
4
+ data.tar.gz: 61aa000900c16dd4231dd87ed373786ceb26975b
5
5
  SHA512:
6
- metadata.gz: 917b983e4fb8cd58ea0c6ff2b2c06b5b496b86f5fd28cbb06fce4f6b43d53ca915929be98b12d7be276d4cd0bfe43d954582af576992eb83e5b60a25d1b49da8
7
- data.tar.gz: 769549c409634fe76c2e286d97be3d7fa7bca9204c4582834306e815caef882d024c1e1dde9706469413dd52414b248c091322f5ac20c2dbe1aadc00ae018bda
6
+ metadata.gz: 2c58d772c2b16edc9b57b65c0724bc00510450c65e538974f97a758bc1c83322e9534fd3fbe59af4386b799962d4b11ec49481a6265ed8eba71aee12285ca111
7
+ data.tar.gz: 13cb9ccf373e4aff6fee56f54302c4c8f18faaf1b87e2d0befabfd7363d701090f4b893542afdfe392edc75da078c112ee02bc2dbe6f9bc39ad2bdd7628019c4
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  #### Set of commands to [auto]mate [w]ay [o]f [w]orking
4
4
 
5
- *You are viewing the README of version [v0.9.2](https://github.com/thisismydesign/autowow/releases/tag/v0.9.2). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
5
+ *You are viewing the README of version [v0.9.3](https://github.com/thisismydesign/autowow/releases/tag/v0.9.3). You can find other releases [here](https://github.com/thisismydesign/autowow/releases).*
6
6
 
7
7
  | Branch | Status |
8
8
  | ------ | ------ |
@@ -2,7 +2,7 @@ module Autowow
2
2
  module Commands
3
3
  module Gem
4
4
  def release
5
- ["rake", "release"]
5
+ be + ["rake", "release"]
6
6
  end
7
7
 
8
8
  def clean
@@ -10,17 +10,22 @@ module Autowow
10
10
  end
11
11
 
12
12
  def rubocop_parallel
13
- ["rubocop", "--parallel"]
13
+ be + ["rubocop", "--parallel"]
14
14
  end
15
15
 
16
16
  def rubocop_autocorrect(files)
17
+ cmd = be + ["rubocop", "--auto-correct"]
17
18
  if files.kind_of?(Array)
18
- ["rubocop", "--auto-correct"] + files
19
+ cmd + files
19
20
  else
20
- ["rubocop", "--auto-correct"] + files.split(" ")
21
+ cmd + files.split(" ")
21
22
  end
22
23
  end
23
24
 
25
+ def be
26
+ ["bundle", "exec"]
27
+ end
28
+
24
29
  include ReflectionUtils::CreateModuleFunctions
25
30
  end
26
31
  end
@@ -1,3 +1,3 @@
1
1
  module Autowow
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autowow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - thisismydesign