whatup 0.3.0 → 0.3.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: 974cf5162247e51601cda75af330d68aa1b9a77a73eb394228a5c4db17966445
4
- data.tar.gz: 1a9113486f862c0ff3fc324458572f0e98055cd3459a126b84fc61ae44c90b77
3
+ metadata.gz: 3c236a803d598d94e183de61c6a8c750f60c0fb7ba9ee7b6146cd5574bbce525
4
+ data.tar.gz: dffea436af3a21fe6148ab520567deacbc6d342122a92c9db2104f1e9b026d84
5
5
  SHA512:
6
- metadata.gz: c9c93d48307ac342e04efa0b43a43c7d84d6208be74e87702b2f35c30eae0c01be4d6fca302ee6c691b2e6f4c41af6ea1d64d024f09d735cd503c35419744b1c
7
- data.tar.gz: 1fcce685d6b140cb51452fdf299b0190212c42c036aa9821fc9f062ad8387c06d617f9068c52c37c8b877708ec072f01cc070ede433df061cfa161300da02370
6
+ metadata.gz: 4bda3ba71c444f9e2eea7575a63c589ba167b51a8f0a276780403f480da45168c2b401ddc6457bcc27a61c01e435aa78af47ec143ad4589c5b61c9b0f3b2200c
7
+ data.tar.gz: 68190fe40784698bb21fde77708c8b0305590625ffbe02fdabd42ae6cc240da926eb4d06d6c7ebb07af73703629f0ac7590aa9fbe4cb49746d99c57bb24aee0f
@@ -11,7 +11,7 @@ module Whatup
11
11
  class << self
12
12
  # Sets up our database, deleting all existing data.
13
13
  def setup_db!
14
- db = "#{Whatup.root}/db/whatup.db"
14
+ db = "#{Dir.home}/.whatup.db"
15
15
  SQLite3::Database.new(db) unless File.exist?(db)
16
16
 
17
17
  ActiveRecord::Base.establish_connection adapter: 'sqlite3',
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Whatup
4
- VERSION = '0.3.0'
4
+ VERSION = '0.3.1'
5
5
  end
data/lib/whatup.rb CHANGED
@@ -8,11 +8,6 @@ module Whatup
8
8
  class Error < StandardError
9
9
  end
10
10
 
11
- # @return [String] The full path to application root
12
- def self.root
13
- Dir.pwd
14
- end
15
-
16
11
  # @return [Bool] Whether or not the app is running in a test environment
17
12
  def self.testing?
18
13
  !!defined?(RSpec)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whatup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Delk