librarianp 1.1.0 → 1.1.1

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: '04836272b4b555a30bf10f2650b9fffe3345cbcebe2571b2abfb6dfcf2a0386c'
4
- data.tar.gz: cfdf93c57b0e642752b522ed10023f3d34cdddc8332124d766951e356c786ea3
3
+ metadata.gz: 9c9763e69ec0059b3de54d6be45d61a1c1d8d1da005e7292152c8d87236e6da1
4
+ data.tar.gz: 8d3ffe4bcccec279c81f3028573aa3b96428c4a98ac09719cf5a5f7317bed661
5
5
  SHA512:
6
- metadata.gz: c04b6ea8c05639eba4ecbb67eb24800c1061b9c3fcb57046b73d131c4f9fb0618432325815be4e361697eeac23c5a45de8e33ce77ecc6873feb402397cd9c164
7
- data.tar.gz: 4f93488d213e11c2d64140df7b01b5fb557ed14d5a11f6745213c0f468f9d4502c4b65f2eb88a207f01fcdac73c46e22b8b1c3b7a01a3350257e5bcb2014bf66
6
+ metadata.gz: d678620dd06362ff48aae226af3ae5cdac3ea2543d111b06c95e972f8d578dc7a100d4efba45eeb23f3f3dd41883979e80c8f33e86e193ed1a111dc3692d3b62
7
+ data.tar.gz: 20a5aafef57724f5e9a11638cebec6d5e0de4225826ed510e13413521064defa87c39884c4e739d33653f35c5b19158fe87b836438c4fd90f48d725891a94f0d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.1.1
4
+
5
+ * Fix one more Ruby 3 compatibility issue
6
+ * Search for the Rakefile relatively to pwd
7
+
3
8
  ## 1.1.0
4
9
 
5
10
  * Support Ruby 3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
1
+ 1.1.1
@@ -25,8 +25,8 @@ module Librarian
25
25
  end
26
26
  end
27
27
 
28
- def run(specfile = nil)
29
- specfile = Proc.new if block_given?
28
+ def run(specfile = nil, &block)
29
+ specfile = block if block
30
30
 
31
31
  case specfile
32
32
  when Pathname
@@ -51,7 +51,7 @@ module Librarian
51
51
  def self.included(base)
52
52
  base.instance_exec do
53
53
  let(:project_path) do
54
- project_path = Pathname.new(__FILE__).expand_path
54
+ project_path = Pathname.pwd.expand_path
55
55
  project_path = project_path.dirname until project_path.join("Rakefile").exist?
56
56
  project_path
57
57
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: librarianp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Feldblum
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2021-08-16 00:00:00.000000000 Z
12
+ date: 2021-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor