grift 1.0.0 → 1.0.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: d0691b07f2ab035b9c6110605b00bc162822394c078cf27271e458fd60026a18
4
- data.tar.gz: b14b4078f42413059aab0114a62c0785c8ed19acb30a6f743e8c0c7fcab771fb
3
+ metadata.gz: dfb5ff564a491305f0eccd4e3098fb3c132fca4b70fef6f07ff05fd5a087fe12
4
+ data.tar.gz: bf327e20c122bc67ac490cce8409f80fb7e03fbeb81aca5e7443a2bad9b61c93
5
5
  SHA512:
6
- metadata.gz: 3719002c8f0a986c3ecd97555b7008ef21b34f5397fed8de7e721eca0a5767d101493d9b8c2852c85bc27f9742b88d2ad8c23c700d6487b6bf2e16a9baf131fa
7
- data.tar.gz: 6d7eb236900d1be7c8928b33f5c0e5649fd96bf443f8ff1542da71f5818e8e5b8aa4d0247a10c829537bd6879bc4e741ef8015f795f18083b2b80c7af7534ace
6
+ metadata.gz: ebe31625bd0ecf33c2d5e0cfbadba80ac634cfaee932d0e54cb915c94720b538ab6748c56f311ece69177c078a8ce4394c39ae1b4c431bc78293d0c34b2e95d6
7
+ data.tar.gz: 4779c67321958fe366269a293308c145e2402cb6a169a651a94e6ebdccd678b1b96154edd1170c5c5eeae84ddbe57f5ce769b41280dd9158a51f37beff679d0c
data/CHANGELOG.md CHANGED
@@ -8,6 +8,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
8
8
 
9
9
  N/A
10
10
 
11
+ ## [1.0.1](https://github.com/clarkedb/grift/releases/tag/v1.0.1) - 2021-11-10
12
+
13
+ This version fixes a bug that prevented most mocking features in Grift from functioning as expected.
14
+
15
+ ### Fixed
16
+
17
+ * Uses relative path for yaml config files
18
+
19
+ ### Updated
20
+
21
+ * Updates `rubocop-performance`
22
+ * Updates `rake`
23
+
11
24
  ## [1.0.0](https://github.com/clarkedb/grift/releases/tag/v1.0.0) - 2021-11-06
12
25
 
13
26
  The first major version of Grift! 100% documentation and 100% code coverage.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- grift (1.0.0)
4
+ grift (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -20,7 +20,7 @@ GEM
20
20
  parser (3.0.2.0)
21
21
  ast (~> 2.4.1)
22
22
  rainbow (3.0.0)
23
- rake (12.3.3)
23
+ rake (13.0.6)
24
24
  regexp_parser (2.1.1)
25
25
  rexml (3.2.5)
26
26
  rubocop (1.22.3)
@@ -38,7 +38,7 @@ GEM
38
38
  rubocop (>= 0.90, < 2.0)
39
39
  rubocop-packaging (0.5.1)
40
40
  rubocop (>= 0.89, < 2.0)
41
- rubocop-performance (1.11.5)
41
+ rubocop-performance (1.12.0)
42
42
  rubocop (>= 1.7.0, < 2.0)
43
43
  rubocop-ast (>= 0.4.0)
44
44
  ruby-progressbar (1.11.0)
data/lib/grift/config.rb CHANGED
@@ -7,7 +7,8 @@ module Grift
7
7
  # The config for Grift. This is readonly for now.
8
8
  #
9
9
  module Config
10
- @restricted_methods = YAML.safe_load(File.read('lib/grift/config/restricted.yml'))
10
+ restricted_file_path = File.join(File.dirname(__FILE__), 'config/restricted.yml')
11
+ @restricted_methods = YAML.safe_load(File.read(restricted_file_path))
11
12
 
12
13
  class << self
13
14
  ##
data/lib/grift/version.rb CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Grift
4
4
  # gem version
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  public_constant :VERSION
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grift
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clark Brown
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-06 00:00:00.000000000 Z
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A gem for simple mocking and spying in Ruby's MiniTest framework.
14
14
  email: