shuttlerock_shared_config 0.2.1 → 0.2.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
  SHA256:
3
- metadata.gz: 378327edb088e174e2950aa1f5c02f54edbf573c43cf008e5da9297580cc89a8
4
- data.tar.gz: e18ac7d510ba2ebffd6e7d4d3ceb07b6e27b98e0a229358706ec264afa147d6e
3
+ metadata.gz: d40a4ee03916e2f665475df799ec18a150d2c6e3131ad5fe804ca52b3acdd209
4
+ data.tar.gz: 9cf92f8f7f968675c0313756f8ab1a5e72fc0d5f23eb889694e90596f6c96620
5
5
  SHA512:
6
- metadata.gz: b8828a46662b7624cf360ff39c4e1a8c30e33128a91e4a42eb7acf515751d508931e110c4f0108d1805d862325befceeccc7e74b59847ceb83ed5e51e0ea85c0
7
- data.tar.gz: bbb33e531a27b6cbe082bc7c2849ea68cd4f5f45eaca626aa2e64c019eaec3fe7700887aba7a233ebabb23e1a0d7595d18ca263001f3915bebfcde46f1aa3d60
6
+ metadata.gz: 7c07c8cb4984e7cbb936f67f04118b5df961dd49d584dfa40edce095bc56d5bd190f340a7ecc4e383e6fc302445b7159f99bc9fa73c6b5fb67abfb7798c66de5
7
+ data.tar.gz: 5909ddc0a59334046bb1d209322132f851cd5f37c9f3c7256da002540cfaafef68a3c7d8ab60325f2c76dc48a47634ec13643cd08b080e02d709dc84618d3924
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ShuttlerockSharedConfig
4
- VERSION = '0.2.1'
4
+ VERSION = '0.2.2'
5
5
  end
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 .eslint.yml'
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
+ });
@@ -30,6 +30,8 @@
30
30
  "jest": true,
31
31
  "Routes": true,
32
32
  "window": true,
33
+ "MIXPANEL_TOKEN": true,
34
+ "beforeAll": true
33
35
  },
34
36
  "rules": {
35
37
  "class-methods-use-this": 0,
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.1
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-12 00:00:00.000000000 Z
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.7
104
+ rubygems_version: 2.7.6
104
105
  signing_key:
105
106
  specification_version: 4
106
107
  summary: Update shared config.