dot_why 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dot_why.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6fb94638063c0d9a67d3b79a0bbdd7e49764fde
4
- data.tar.gz: 4f1dda2ccdf62014e3f061e6a28911cc8da77293
3
+ metadata.gz: 2a14296e647912d4cff96c2b20ca67fd425d0c1e
4
+ data.tar.gz: 9663677810c8478a3efd73ba1148432e20d95d35
5
5
  SHA512:
6
- metadata.gz: 41b8237b838df21a51e6bc5af28d6ad205f39ca33a9b7690c42d641f94b37616ed7bea4bf2b11b4b7b9c1871f2abe5ab31e3ce3d4b5aa3a973b533858981b2c3
7
- data.tar.gz: 97993ed44ea0610e210941c551a9b232048cfb2e71d1eb8f9a073fdd4c6e682b6448dab69b2eae49c3b6b1f01da1990b0daa3f2afa0b9f57e4b35dd8fac89db2
6
+ metadata.gz: da786c3721f5e33ae233fc5f26d3bd49beab32526db2fe1c607b30ecdfd973bb0cfa0b4af2e57b327ec4f5ef14e47fd6b772f0e021089a0e75913ade374edb4d
7
+ data.tar.gz: ca25a52930c895cf4ae5b7226b195319d4abd9066dd0c9dee9bd3083a8077d41fb50c02f7dafe9701a134e7ab86deaa1833f6b4b4aa991b5a6ac4a03d0dec6d5
data/lib/dot_why.rb CHANGED
@@ -74,7 +74,7 @@ module Dot_Why
74
74
  def view_name
75
75
  @view_name ||= begin
76
76
  base = File.basename(main_file).sub(".rb", '')
77
- dir = File.dirname(main_file)
77
+ dir = File.basename(File.dirname main_file)
78
78
  "#{dir}/#{base}"
79
79
  end
80
80
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dot_why
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - da99