ammeter 1.1.6 → 1.1.7

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: 45a625241c915188a70b534c263a9c38bfb1c0315aedf7d7a31fd27aaec8407f
4
- data.tar.gz: 80c902df52f5b7b68af80f680dbc0273c5b42b819d0a19f7de2065ddc3d556e3
3
+ metadata.gz: 16bfa450ad2ca9fcc35fba61b496085b3b8f51e9fb36cfba39f6c4c207e129a5
4
+ data.tar.gz: d87b51720a05eafa9340e7b0a93ed41be2736d63582e581dd81a256b875880eb
5
5
  SHA512:
6
- metadata.gz: 3ce7d82c75dedff9639409713b630ce6ea8e04c11a75536bd2ef4f5200a9901cc111510d643b316b51da78b83f3cf1729ec5a85d296ff755ea9256e2caca8145
7
- data.tar.gz: a99410d8eddd86ca0732099a108a9fdcad91674b72e93e7f93d67a8dc6464cde8eb93f860514edaad65c43281304b3c05d8eb9b8035b892bc42f8cb96b0cd704
6
+ metadata.gz: 64af70360ee44264d9aaded3f86b8f9845cb3deaaea81cf8a19e220b541b2367fe7e6e40e3c8bda310b858b773a60dd0ad4c42e692ae057deed920f80be3da5b
7
+ data.tar.gz: a5b9d34365e00de8845bd8943ad1354181a209ecff56117b282babeb0db6f9f1c0d3ddfabc8d4a0c75e6b7ba1d0f8c5ec48b06d49ef81c82d68851ca485e05ef
@@ -74,7 +74,7 @@ module Ammeter
74
74
  end
75
75
 
76
76
  def file relative
77
- File.expand_path(relative, destination_root)
77
+ Pathname.new(File.expand_path(relative, destination_root))
78
78
  end
79
79
  def migration_file relative
80
80
  file_path = file(relative)
@@ -1,3 +1,3 @@
1
1
  module Ammeter
2
- VERSION = "1.1.6"
2
+ VERSION = "1.1.7"
3
3
  end
@@ -43,7 +43,7 @@ module Ammeter::RSpec::Rails
43
43
  FileUtils.mkdir path_to_gem_root_tmp
44
44
  end
45
45
  it 'should use destination to find relative root file' do
46
- expect(group.file('app/model/post.rb')).to eq "#{path_to_gem_root_tmp}/app/model/post.rb"
46
+ expect(group.file('app/model/post.rb').to_path).to eq "#{path_to_gem_root_tmp}/app/model/post.rb"
47
47
  end
48
48
 
49
49
  describe 'migrations' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ammeter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.6
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Rothenberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-29 00:00:00.000000000 Z
11
+ date: 2024-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties