safe_pusher 0.5.3 → 0.5.5

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: 8b7491b0cc3a402a1c29d9131dcb2a57341f1329fbbc3b8dce86819aaf03209a
4
- data.tar.gz: 8f402f50f2b7b0f456c560887a6f8f5ec6a73c1a4208a3a0f6a2269cce7bfb2d
3
+ metadata.gz: 969e799d288231d659f7b1e20d8c4a1c0e85d6ea34c6850a7fd1c33e22ab70cc
4
+ data.tar.gz: 1d1439d15ed8c08f62dd38b97e2a455989cd13038d5e850feec36b4a11397405
5
5
  SHA512:
6
- metadata.gz: 54dd08fc230bce9f181bd9582da00e047b38e5a7096771e7a70a0ee98d86cda26f6c284f3cab5c74ed4ffc19a1285babd85da4c3b57bb3cd0e2297d99ba2c557
7
- data.tar.gz: b603682237a7c9ce4d2f04b9165a2e0ee32ebcc81d2757ddcf57040f3b7f3bc9089589fbf794cdf7553efeb98a439573c8f790575ee29b9f215502b52f85bc87
6
+ metadata.gz: 5b5093c43e6e47f211bbf13a1c84a5737515e06714a98f119b50e27a028bb96aa9f096f1d14f4b1816e44c642ef0084f1b6aa9ccd2ff0ea57b0724bc868b78d3
7
+ data.tar.gz: 5053306a284378346d0b0893d2e9cbc72337c8f9b40be7afe6c81fcfb4ea3e6059505453464751d18947537d1ccda8d337165e749a9cd7058fd44b710398b500
data/CHANGELOG.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  This project adheres to [Semantic Versioning](http://semver.org)
4
4
 
5
- ## [0.5.2] - 2022-11-14
5
+ ## [0.5.4] - 2022-11-14
6
6
  Fix:
7
7
  - Config / commands file
8
8
 
@@ -67,7 +67,7 @@ module SafePusher
67
67
 
68
68
  def shortcut_to_command
69
69
  @shortcut_to_command ||= YAML
70
- .load_file(File.expand_path('config/commands.yml'))
70
+ .load_file("#{__dir__}/../../config/commands.yml")
71
71
  .reduce({}) { |o, (k, v)| o.update(v['shortcut'] => k) }
72
72
  end
73
73
  end
@@ -20,7 +20,7 @@ module SafePusher
20
20
 
21
21
  def load_services
22
22
  YAML
23
- .load_file(File.expand_path('config/commands.yml'))
23
+ .load_file("#{__dir__}/../../config/commands.yml")
24
24
  .reduce({}) { |o, (k, v)| o.update(k => v['default_client']) }
25
25
  .merge(application_config['services'] || {})
26
26
  end
@@ -1,3 +1,3 @@
1
1
  module SafePusher
2
- VERSION = '0.5.3'.freeze
2
+ VERSION = '0.5.5'.freeze
3
3
  end
data/lib/safe_pusher.rb CHANGED
@@ -12,8 +12,9 @@ require 'safe_pusher/client/rspec'
12
12
  require 'safe_pusher/client/pronto'
13
13
  require 'safe_pusher/client/github'
14
14
 
15
- I18n.config.available_locales_set << :en
16
- I18n.load_path += Dir["#{File.expand_path('config/locales')}/*.yml"]
15
+ I18n.config.available_locales = :en
16
+
17
+ I18n.load_path += Dir["#{__dir__}/../../config/locales/*.yml"]
17
18
 
18
19
  module SafePusher
19
20
  # Configuration setup
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: safe_pusher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Pollet