rake-n-bake 3.0.0 → 3.1.0

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: 8d70787a2b32c3f11aea85ad9c7ea41894fc8e04
4
- data.tar.gz: 9917be00d5e6a59abec4eac7645e7ab55562e7a1
3
+ metadata.gz: bde18dd4c693f4750f9bda82cc31159cd5024aad
4
+ data.tar.gz: 9e10ac7da01f7c0a1d6ac55db8cb4d5e071c0810
5
5
  SHA512:
6
- metadata.gz: 4ec74ae16f59729cf6fa502aad67471168212170d2e58b7d0ea972f993f891a1e6eca41cf69cd7898b5cbc76740e4bf4aff8c6fd6c065d8ee8aa64778c5b261b
7
- data.tar.gz: 938c8d18a10306493fc92fa48ee41e519e3c76cf26f76edc7d6345e11c1a6a9da728f9b2f4a27b4bc1d4f8fbf3d5bd5118ac95acd35747553c92b081f4e9f4f5
6
+ metadata.gz: 12386986ccefbcdbf33b710c2eb9fc2e78454d83559a2f70b91bc2066c72080340ec1baaa5778a4602a575460c46ae35c4ad1c4d90eec03f17d3155a7c4bf1e3
7
+ data.tar.gz: 26469ff892ea035ac946e7145cdd09766263b6ebb1d9b61c34e68bb47b21d8de7fd470b400e4ef5ce5bf13c774a13c722109cbc18173ef3c9a20bf9c64406626
@@ -38,6 +38,9 @@ Layout/EmptyLinesAroundModuleBody:
38
38
  Layout/SpaceBeforeBlockBraces:
39
39
  Enabled: false
40
40
 
41
+ Layout/MultilineMethodCallIndentation:
42
+ EnforcedStyle: indented
43
+
41
44
  #############################################
42
45
  # Style
43
46
  #
@@ -3,5 +3,6 @@ inherit_from:
3
3
  - 'https://raw.githubusercontent.com/dvmtn/house_style/master/rubocop.yml'
4
4
 
5
5
  AllCops:
6
+ TargetRubyVersion: 2.3.5
6
7
  Exclude:
7
8
  - 'lib/rake-n-bake.rb'
@@ -1 +1 @@
1
- 2.2.5
1
+ 2.3.5
data/.semver CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  :major: 3
3
- :minor: 0
3
+ :minor: 1
4
4
  :patch: 0
5
5
  :special: ''
6
6
  :metadata: ''
data/README.md CHANGED
@@ -110,6 +110,10 @@ Runs the [RubyCritic](https://github.com/whitesmith/rubycritic) tool and generat
110
110
  ### :traceroute
111
111
  Runs [Traceroute](https://rubygems.org/gems/traceroute), a tool for finding unused routes within [Rails](http://rubyonrails.org/) apps
112
112
 
113
+ ### :yarn
114
+ #### :check
115
+ Runs the yarn integrity check [Yarn](https://yarnpkg.com/lang/en/docs/cli/check/)
116
+
113
117
  Handy Tips for new tasks
114
118
  ------------------------
115
119
  - All tasks loaded by `lib/rake_n_bake.rb` will have access to the `RakeNBake::Baker`. This is intended for truely common things, like logging out when a particular step runs or passes.
@@ -1,3 +1,7 @@
1
+ == v3.1.0 (20 August 2018)
2
+
3
+ * Add 'yarn:check' task
4
+
1
5
  == v3.0.0 (12 July 2018)
2
6
 
3
7
  * Remove metric_fu (see RubyCritic instead)
@@ -1,3 +1,3 @@
1
1
  module RakeNBake
2
- VERSION = '3.0.0'.freeze
2
+ VERSION = '3.1.0'.freeze
3
3
  end
@@ -0,0 +1,18 @@
1
+ begin
2
+ namespace :bake do
3
+ namespace :yarn do
4
+ task :check do
5
+ RakeNBake::Baker.log_step 'Running yarn check'
6
+ check = system('yarn check --integrity')
7
+
8
+ if check
9
+ RakeNBake::Baker.log_passed 'Yarn us up to date'
10
+ else
11
+ puts
12
+ RakeNBake::Baker.log_warn 'please run "yarn install"'
13
+ fail
14
+ end
15
+ end
16
+ end
17
+ end
18
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake-n-bake
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Vickerstaff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-12 00:00:00.000000000 Z
12
+ date: 2018-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -104,6 +104,7 @@ files:
104
104
  - tasks/ruby_critic.rake
105
105
  - tasks/semver.rake
106
106
  - tasks/traceroute.rake
107
+ - tasks/yarn.rake
107
108
  homepage: https://github.com/RichardVickerstaff/rake-n-bake
108
109
  licenses:
109
110
  - MIT