shuttlerock_shared_config 0.2.1 → 0.2.2
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 +4 -4
- data/lib/shuttlerock_shared_config/version.rb +1 -1
- data/lib/tasks/tasks.rb +1 -1
- data/lib/tasks/update_eslintrc.js +9 -0
- data/lib/templates/.eslintrc +2 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d40a4ee03916e2f665475df799ec18a150d2c6e3131ad5fe804ca52b3acdd209
|
4
|
+
data.tar.gz: 9cf92f8f7f968675c0313756f8ab1a5e72fc0d5f23eb889694e90596f6c96620
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c07c8cb4984e7cbb936f67f04118b5df961dd49d584dfa40edce095bc56d5bd190f340a7ecc4e383e6fc302445b7159f99bc9fa73c6b5fb67abfb7798c66de5
|
7
|
+
data.tar.gz: 5909ddc0a59334046bb1d209322132f851cd5f37c9f3c7256da002540cfaafef68a3c7d8ab60325f2c76dc48a47634ec13643cd08b080e02d709dc84618d3924
|
data/lib/tasks/tasks.rb
CHANGED
@@ -13,7 +13,7 @@ namespace :shuttlerock_shared_config do
|
|
13
13
|
FileUtils.copy(input_path, Dir.pwd)
|
14
14
|
end
|
15
15
|
|
16
|
-
desc 'Update .
|
16
|
+
desc 'Update .eslintrc'
|
17
17
|
task :update_eslint do
|
18
18
|
input_path = File.expand_path('../../lib/templates/.eslintrc', __dir__)
|
19
19
|
FileUtils.copy(input_path, Dir.pwd)
|
@@ -0,0 +1,9 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
|
3
|
+
const fs = require('fs');
|
4
|
+
|
5
|
+
// .eslintrc will be created or overwritten by default.
|
6
|
+
fs.copyFile(__dirname + '/../templates/.eslintrc', '.eslintrc', (err) => {
|
7
|
+
if (err) throw err;
|
8
|
+
console.log('.eslintrc was copied to the project');
|
9
|
+
});
|
data/lib/templates/.eslintrc
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shuttlerock_shared_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ElseThen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -76,6 +76,7 @@ files:
|
|
76
76
|
- lib/shuttlerock_shared_config.rb
|
77
77
|
- lib/shuttlerock_shared_config/version.rb
|
78
78
|
- lib/tasks/tasks.rb
|
79
|
+
- lib/tasks/update_eslintrc.js
|
79
80
|
- lib/templates/.codeclimate.yml
|
80
81
|
- lib/templates/.eslintrc
|
81
82
|
- lib/templates/.rubocop.yml
|
@@ -100,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
101
|
version: '0'
|
101
102
|
requirements: []
|
102
103
|
rubyforge_project:
|
103
|
-
rubygems_version: 2.7.
|
104
|
+
rubygems_version: 2.7.6
|
104
105
|
signing_key:
|
105
106
|
specification_version: 4
|
106
107
|
summary: Update shared config.
|