runaworld 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: e956b625bb92abe7abef99280f59861351282c69c646c82a64a302b5ee1bc706
4
- data.tar.gz: 76f5984b91ff18e6a7cccfe86d9c4293da39fd14cce8e731ac6276738fb8e9e7
3
+ metadata.gz: f9d28abda91fb3134be9e8271664eba3a025aaa8293a148b4e8dfb7926d81d1f
4
+ data.tar.gz: fbb8ae7744b3acb5eb9f6518b096985e85880d07a581e1763f484f41493d48cc
5
5
  SHA512:
6
- metadata.gz: dd2f33411004f86bea8a73cc04fcccb8584ccc374b71d92a82c218e827f498fe2101b5f1ca2cefc91b82b723d6b3da2f89bd4b63b1a79bc44762c3197c5a85e7
7
- data.tar.gz: 75d71cd9e8b5d91f02210a3c2616174b9972493803c947a1bdded153adbc9a1794e11e244330a66f2900df50025ebf5fa5502bbbd054e073975c9323fd04749c
6
+ metadata.gz: cec9ea9c963cf566a1b71447b283d6714b99a46c103121cdb024821cf4603e8b0d372f27ccbc1a970df7fdeb84ce5bed9a9c68175e6b9afaf7534bc4adedecea
7
+ data.tar.gz: 3ab82dd1ba6a184ba36874708471007105473479eb51696bc5939ebe360d1ff0599aea135dc3cfae320608ed7314b9bb285f9f8f94c7a460a4d4abe081e778aa
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- runaworld (0.1.1)
4
+ runaworld (0.1.2)
5
5
  nokogiri
6
6
  thor
7
7
 
@@ -2,7 +2,7 @@ require "json"
2
2
 
3
3
  module Runaworld
4
4
  class Profile
5
- PROFILE_JSON = "config/profile.json"
5
+ PROFILE_JSON = "#{File.dirname(__FILE__)}/../../config/profile.json"
6
6
  def self.print_profile
7
7
  profile = File.open(PROFILE_JSON) do |f|
8
8
  JSON.load(f)
@@ -1,3 +1,3 @@
1
1
  module Runaworld
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  require "json"
2
2
  module Runaworld
3
3
  class Word
4
- WORD_JSON = "config/word.json"
4
+ WORD_JSON = "#{File.dirname(__FILE__)}/../../config/word.json"
5
5
  def self.print_random_word
6
6
  words = read_file
7
7
  puts words["word"].sample
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: runaworld
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - '723'