torba 1.0.1 → 1.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
- SHA1:
3
- metadata.gz: 116382305382082bf20b73b22c89d44648fdf0d1
4
- data.tar.gz: abf29fc7033268f3beb04cc42b9fb68172b6d281
2
+ SHA256:
3
+ metadata.gz: 69ed394ec8286280a4b97265fb95dd36abb8bc5a57439ae1941963105186a433
4
+ data.tar.gz: f46c8d171e7b3c5e2771cf58358db711b3fe3b1c05b1a55b5bff79da76485bab
5
5
  SHA512:
6
- metadata.gz: 2c9cbaed4f544e63f96f3c563bdef4ef62557f1023246a4f73ceb882edb55b15311723af9110cf769e33199cbd116ff7b11413c49ae537aeb66ecb1daeb6f15f
7
- data.tar.gz: b1e685454739fe07027c3ce63328172a998655d4240cd884e59bc2ad39e81204a6b3e6b98b4c3e867709a79013bd93960c71523212aa42b1b2ec3330b4812b86
6
+ metadata.gz: 7e44c0cf8d1026f64f4dc75b8c5e6bda0f684c5ea8a5359f3238a057b5427562f819f5762a563f85989d450b3a1593a2d730797f25202276685667b6ccebb7a4
7
+ data.tar.gz: cfa4245b61895fad5fd22449e56933cfa001adeb140412ac298807aeb3fc4f12335737f748959c50c18140f68b494148745ae072821e8057d7062898607bf2ee
data/.travis.yml CHANGED
@@ -4,6 +4,10 @@ rvm:
4
4
  - 2.0.0
5
5
  - 2.1
6
6
  - 2.2
7
- - jruby-19mode
8
- - rbx-2
7
+ - 2.3
8
+ - 2.4
9
+ - 2.5
10
+ - 2.6
11
+ - 2.7
12
+ - jruby
9
13
  bundler_args: --without doc debug
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ## Unreleased
2
2
 
3
+ ## Version 1.1.0
4
+
5
+ ### Enhancements
6
+
7
+ * Thor dependency has been relaxed to support Rails 6.x.
8
+
3
9
  ## Version 1.0.1
4
10
 
5
11
  ### Bug fixes
data/README.md CHANGED
@@ -17,7 +17,7 @@ Production ready.
17
17
 
18
18
  ## Documentation
19
19
 
20
- [Released version](http://rubydoc.info/gems/torba/1.0.1)
20
+ [Released version](http://rubydoc.info/gems/torba/1.1.0)
21
21
 
22
22
  ## Why
23
23
 
@@ -10,7 +10,7 @@ module Torba
10
10
  def [](pattern)
11
11
  ensure_cached
12
12
 
13
- Dir.glob(File.join(cache_path, pattern)).reject{ |path| File.directory?(path) }.map do |path|
13
+ Dir.glob(File.join(cache_path, pattern)).sort.reject{ |path| File.directory?(path) }.map do |path|
14
14
  [File.absolute_path(path), path.sub(/#{cache_path}\/?/, "")]
15
15
  end
16
16
  end
data/test/test_helper.rb CHANGED
@@ -4,7 +4,7 @@ require "torba/remote_sources/common"
4
4
 
5
5
  require "minitest/autorun"
6
6
  require "minitest/assert_dirs_equal"
7
- require "mocha/mini_test"
7
+ require "mocha/minitest"
8
8
  require "tmpdir"
9
9
  require "fileutils"
10
10
  require "open3"
@@ -49,7 +49,7 @@ module Torba
49
49
  end
50
50
 
51
51
  def path_to_packaged(name, home = torba_tmp_dir)
52
- path = Dir.glob("#{home}/*").grep(Regexp.new(name)).first
52
+ path = Dir.glob("#{home}/*").sort.grep(Regexp.new(name)).first
53
53
  assert path, "Couldn't find packaged #{name.inspect} in #{home.inspect}"
54
54
  path
55
55
  end
data/torba.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "torba"
3
- spec.version = "1.0.1"
3
+ spec.version = "1.1.0"
4
4
  spec.authors = ["Andrii Malyshko"]
5
5
  spec.email = ["mail@nashbridges.me"]
6
6
  spec.description = "Bundler for Sprockets"
@@ -14,10 +14,10 @@ Gem::Specification.new do |spec|
14
14
  spec.bindir = "bin"
15
15
  spec.require_paths = ["lib"]
16
16
 
17
- spec.add_dependency "thor", "~> 0.19.1"
17
+ spec.add_dependency "thor", ">= 0.19.1", "< 2"
18
18
 
19
- spec.add_development_dependency "bundler", "~> 1.6"
20
- spec.add_development_dependency "rake", "~> 10.0"
19
+ spec.add_development_dependency "bundler"
20
+ spec.add_development_dependency "rake"
21
21
  spec.add_development_dependency "minitest", "~> 5.4"
22
22
  spec.add_development_dependency "mocha"
23
23
  spec.add_development_dependency "assert_dirs_equal", "~> 0.1"
metadata CHANGED
@@ -1,57 +1,63 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: torba
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrii Malyshko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.19.1
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.19.1
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: '1.6'
39
+ version: '0'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - "~>"
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '1.6'
46
+ version: '0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - "~>"
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
- version: '10.0'
53
+ version: '0'
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - "~>"
58
+ - - ">="
53
59
  - !ruby/object:Gem::Version
54
- version: '10.0'
60
+ version: '0'
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: minitest
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -181,8 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
187
  - !ruby/object:Gem::Version
182
188
  version: '0'
183
189
  requirements: []
184
- rubyforge_project:
185
- rubygems_version: 2.4.5.1
190
+ rubygems_version: 3.0.3
186
191
  signing_key:
187
192
  specification_version: 4
188
193
  summary: Bundler for Sprockets
@@ -221,4 +226,3 @@ test_files:
221
226
  - test/remote_sources/zip_test.rb
222
227
  - test/test_helper.rb
223
228
  - test/torba_test.rb
224
- has_rdoc: