gruf 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/bin/gruf +5 -1
  4. data/lib/gruf/version.rb +1 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf915e7758e81685a101b9e72aa09fed1e10f321
4
- data.tar.gz: b554de229c8dc82eb178d097832fe73563217a91
3
+ metadata.gz: f730b985ec9be1cdbe0ad8333a6b4e0bdf63e91c
4
+ data.tar.gz: 4279e2c4c19621269c876984b050cd2b1b5556ad
5
5
  SHA512:
6
- metadata.gz: e6d41632033e9fef86546a98c7c15bd24e2814291f88ae4591f9a132291e09239152caf4e186818e08f919f77f13f1c730e38e705a0855864016139d0f5742db
7
- data.tar.gz: 7a5e379562c72fca6bc9556ca613c98a71397f9b164e0253d81c0f9d4cc7b09bef65911d396b7da4fdd6f57e543aef7b9571f38b301df3ecf0e7b5e651adc4fc
6
+ metadata.gz: eed32a217e3e649c51944b0b12cc4b3ae7ae7b8a37acbbd3bf6963aa54acdb78d17a2136527541423936474b914347dc40b5fb181ba7cbd643a5b6eda1e8e6ad
7
+ data.tar.gz: 59fa0142e79caad40ebbc00b14a9f18fa6b3d00bfe74ae66259a621e9f0eeee4e622dc9d928fcb85594c7468a2977d2993439d8fe57c2f617dfbd8b5569a0f29
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@ Changelog for the gruf gem. This includes internal history before the gem was ma
2
2
 
3
3
  ### Pending release
4
4
 
5
+ ### 2.0.3
6
+
7
+ - Fix regression [#35] where gruf was not able to be loaded outside of a Rails application
8
+
5
9
  ### 2.0.2
6
10
 
7
11
  - Update Rubocop to 0.51
data/bin/gruf CHANGED
@@ -17,7 +17,11 @@
17
17
  #
18
18
  require 'rubygems'
19
19
  require 'bundler/setup'
20
- require 'rails' rescue nil
20
+ begin
21
+ require 'rails'
22
+ rescue LoadError
23
+ nil
24
+ end
21
25
  load 'config/environment.rb' if defined?(Rails)
22
26
  require 'gruf'
23
27
 
data/lib/gruf/version.rb CHANGED
@@ -14,5 +14,5 @@
14
14
  # OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
15
15
  #
16
16
  module Gruf
17
- VERSION = '2.0.2'.freeze
17
+ VERSION = '2.0.3'.freeze
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gruf
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shaun McCormick
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-07 00:00:00.000000000 Z
11
+ date: 2017-12-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler