bake-modernize 0.1.4 → 0.2.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
  SHA256:
3
- metadata.gz: a43c383bb9baa39b723d9e32328b95221dc92d9dd71addf4aa535e4f07bd8059
4
- data.tar.gz: 15488c3b2641443ab69909e139faa43d8cba0c6b4f71653d0cf6775faf8f1c1d
3
+ metadata.gz: 75271407b97ab96706e68b107d007bbfa046806ceae4e724a212da77eed2441e
4
+ data.tar.gz: e8df139fdcda5491b67644d3fe4e5cf3304f49336eec48387813d7a90558edd0
5
5
  SHA512:
6
- metadata.gz: 3588ead1b3bbf41dd6f2760e6cc5e1be7758afabab578ca26b73802a73b115b05699a8e9d1ca68ef3cca58bc3b8ab67f83222764260d28a7dc3a7f074697c08d
7
- data.tar.gz: 7dd515852d76b609a5c47171b7071b7073046b24982c3ecad478bfd07d78170877a6fd638707eabac444e171fa2d6c1765767d8cda8512d1f7fbf68e9cab845c
6
+ metadata.gz: 4a6abd81f19428b1528550cf0a6ece16dc320607055c8eb3415d6e3ed15c388b9bd3716d48509eac55198deeb6aa34806df68e85e91ef07b15995fa41b15f7da
7
+ data.tar.gz: b6b5b87f2be7f43a8a7c53e58f6324c20cdc18c364c92908772cdd33e391b15513806f7b79a16be16ca54abcdc86c9e48e4aa84234432b8e891f471c188e023c
@@ -107,7 +107,7 @@ def directory_glob_for(spec, paths = spec.files)
107
107
  end
108
108
  end
109
109
 
110
- return "Dir['{#{directories.keys.join(',')}}/**/*', base: __dir__]"
110
+ return "Dir.glob('{#{directories.keys.join(',')}}/**/*', File::FNM_DOTMATCH, base: __dir__)"
111
111
  end
112
112
 
113
113
  def format_dependency(dependency)
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Bake
22
22
  module Modernize
23
- VERSION = "0.1.4"
23
+ VERSION = "0.2.0"
24
24
  end
25
25
  end
@@ -0,0 +1,46 @@
1
+ name: Development
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ test:
7
+ runs-on: ${{matrix.os}}-latest
8
+ continue-on-error: ${{matrix.experimental}}
9
+
10
+ strategy:
11
+ matrix:
12
+ os:
13
+ - ubuntu
14
+ - macos
15
+
16
+ ruby:
17
+ - 2.5
18
+ - 2.6
19
+ - 2.7
20
+
21
+ experimental: [false]
22
+ env: [""]
23
+
24
+ include:
25
+ - os: ubuntu
26
+ ruby: truffleruby
27
+ experimental: true
28
+ - os: ubuntu
29
+ ruby: jruby
30
+ experimental: true
31
+ - os: ubuntu
32
+ ruby: head
33
+ experimental: true
34
+
35
+ steps:
36
+ - uses: actions/checkout@v2
37
+ - uses: ruby/setup-ruby@v1
38
+ with:
39
+ ruby-version: ${{matrix.ruby}}
40
+
41
+ - name: Install dependencies
42
+ run: ${{matrix.env}} bundle install
43
+
44
+ - name: Run tests
45
+ timeout-minutes: 5
46
+ run: ${{matrix.env}} bundle exec rspec
@@ -0,0 +1,6 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = tab
5
+ indent_size = 2
6
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-modernize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -78,6 +78,8 @@ files:
78
78
  - bake/modernize/gemspec.rb
79
79
  - lib/bake/modernize.rb
80
80
  - lib/bake/modernize/version.rb
81
+ - template/actions/.github/workflows/development.yml
82
+ - template/editorconfig/.editorconfig
81
83
  - template/readme/README.md
82
84
  homepage: https://github.com/ioquatix/bake-modernize
83
85
  licenses: