rusky 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2481de2ebd82496ba818a663ad9939ca9bf62bf
4
- data.tar.gz: 96c97ed651c2317205e24851be6ca21044f8d828
3
+ metadata.gz: e5cda5de248d9412f968179036276f319c291818
4
+ data.tar.gz: c9b43785d753f799a13fca9c403f8abc7686943d
5
5
  SHA512:
6
- metadata.gz: ad6a71c3a2c76724f35a796f04222c54e8b84d67d5078ddc34553c3ccc3e1b3ee47265e6c48b445035c7f1ef02627aac17ae6a9e314363f387fb7cc8cf1962f0
7
- data.tar.gz: b6ac28dd6aaca658bb5c9d60d455c62b8d195f55c9912d40c667f2e98b8ca4ffa6d14d80a08d47bc6166acaee100b07ccc359d9cffc438c80553946919eeef15
6
+ metadata.gz: e28e3d57dab83a2921d3b18eb019bfca8ed9030d100c8c275731b714de6812033db06ee3dc24a5901a20228fff51196a25e83a3465eda7c26a53318efcace3ca
7
+ data.tar.gz: 75494541904dd85da8076d4b09e57c96653ea160e7327b39c668633262ebfd692b61931336330d0496df39c86f0cb9a8d0fcc9f074f3cb066d333310e1b2141b
@@ -3,7 +3,7 @@
3
3
  require "rubygems"
4
4
  require "rusky"
5
5
 
6
- Gem.pre_install do |installer|
6
+ Gem.post_install do |installer|
7
7
  Rusky.install
8
8
  end
9
9
 
data/lib/rusky.rb CHANGED
@@ -1,4 +1,3 @@
1
- require 'rusky/cli'
2
1
  require 'rusky/hook'
3
2
  require 'rusky/hooks'
4
3
  require 'rusky/setting'
data/lib/rusky/hook.rb CHANGED
@@ -1,6 +1,11 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rake'
3
+ begin
4
+ require 'rake'
5
+ rescue LoadError
6
+ # When this file is loaded at gem installation, it might not be able to
7
+ # load rake due to the order of installation. But it's ignorable.
8
+ end
4
9
  require 'yaml'
5
10
  require 'fileutils'
6
11
 
data/lib/rusky/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rusky
4
- VERSION = "0.2.3"
4
+ VERSION = "0.2.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rusky
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masato Ohba