rake-n-bake 3.1.1 → 3.1.2

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: d1647d87677113f39c9fac846e5da9b98dd3aac6
4
- data.tar.gz: b3abe8dacef2b1dc1f77334988ce3db921a7effc
3
+ metadata.gz: 94353dc11f1fdf42e1279c593fe587bb12e004c7
4
+ data.tar.gz: 0e0a50af7a3a93e52edc6c062f5360a9b64e5506
5
5
  SHA512:
6
- metadata.gz: 2c01e0daa5d20a7b7025e9fac618f72431f3f2e19859a7d70940bbe2393514948055f27a6c73516090271df0c954b0099ba638e57385b69b61a9158c302a106d
7
- data.tar.gz: 8f6c947cec58beb663564ef29600020002a8cc13736714431728c0f01e68f23216ca1b1d39a038dda5bd19f6671e299923a8976519ab64c3c682e7bbab45e727
6
+ metadata.gz: 9a74acdb7b2f2a67fae3f7203241cf4bf662cd89ea2be1824d4599e741354875bd4478211580ed547191588835d3bb1050336da472130f68730fa44161044243
7
+ data.tar.gz: 1875921b8517d6e503aa93201eefdd0f2ec9c7f83cf2f32c404a25e9d2e5779f486c2afe8e9f1c807c74d1c7cb5e3abed14063b758ccd1675528d3b139c9a04c
data/.semver CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  :major: 3
3
3
  :minor: 1
4
- :patch: 1
4
+ :patch: 2
5
5
  :special: ''
6
6
  :metadata: ''
@@ -1,3 +1,5 @@
1
+ == v3.1.2 (10 July 2019)
2
+
1
3
  == v3.1.1 (05 October 2018)
2
4
 
3
5
  * Add 'yarn:test' task
@@ -66,7 +66,7 @@ module RakeNBake
66
66
  version_file = version_files[0]
67
67
 
68
68
  version = current_version.to_s.sub(/^v/, '')
69
- version_string = "VERSION = '#{version}'.freeze"
69
+ version_string = "VERSION = '#{version}'"
70
70
  version_file_content = File.read(version_file).sub(/VERSION = .*$/, version_string)
71
71
 
72
72
  File.write(version_file, version_file_content)
@@ -1,3 +1,3 @@
1
1
  module RakeNBake
2
- VERSION = '3.1.1'.freeze
2
+ VERSION = '3.1.2'
3
3
  end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ begin
4
+ namespace :bake do
5
+ desc 'Format the code'
6
+ task :prettier do
7
+ RakeNBake::Baker.log_step 'Running Prettier'
8
+ format = system('prettier')
9
+
10
+ if format
11
+ RakeNBake::Baker.log_passed 'Formatting complete'
12
+ else
13
+ puts
14
+ RakeNBake::Baker.log_warn 'Please run "yarn install"'
15
+ raise
16
+ end
17
+ end
18
+ end
19
+ 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.1.1
4
+ version: 3.1.2
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-10-05 00:00:00.000000000 Z
12
+ date: 2019-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -58,6 +58,7 @@ files:
58
58
  - ".travis.yml"
59
59
  - Gemfile
60
60
  - Guardfile
61
+ - NetrwTreeListing 3
61
62
  - README.md
62
63
  - Rakefile
63
64
  - bin/bundle-audit
@@ -98,6 +99,7 @@ files:
98
99
  - tasks/coverage.rake
99
100
  - tasks/fasterer.rake
100
101
  - tasks/ok.rake
102
+ - tasks/prettier.rake
101
103
  - tasks/rails_best_practices.rake
102
104
  - tasks/rspec.rake
103
105
  - tasks/rubocop.rake