eventify 0.9.2 → 0.9.3

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: 00e01a3af0535a84a3c82e9556ab1e4bbf14c9fb
4
- data.tar.gz: 5d5f7fc692f3eea93ae18613bdc9b3542510b923
3
+ metadata.gz: c63d0d9cbc7f993843600d90d40223b637c713dd
4
+ data.tar.gz: cf89587660f384abf6408320118b05d8181d8452
5
5
  SHA512:
6
- metadata.gz: 0759811cf176cc5910ecff4d17d7039e2e3135566e951a89535b5682d3ce549e968d1b6f757c1df3c1aeb806dd4d7d6e1c01cc1de89ff3e252f655a254a75b33
7
- data.tar.gz: 27b92530e6505d8fc44cde358bc2a4190b0f8b3f4b1c52e773429f0f16d538a7fc6572530414b77389bf581162ce9976875aec1dc8b0efb7d1a3c814e654eb41
6
+ metadata.gz: 65e89bf490dede5ffccb6ae5f14a10763364322d7ca1bfcbc1f3314f2a18044ac9d5215d0103d72d98a4d9473517e1ee2ffc7479ff4828af947d7d3b91bfc42a
7
+ data.tar.gz: c041c725f0fa5524d69002854a867fe6415e855366e683b1c8c9d8ddab34b9fe49dcff42f44fc9e181a1c553b1e27bb075ca9174248060afa2e0f0547d6b7410
@@ -1,4 +1,5 @@
1
1
  require "yaml"
2
+ require "fileutils"
2
3
 
3
4
  class Eventify::Configuration
4
5
  PATH = File.expand_path(File.join(ENV["HOME"], "/.eventify/config.yaml"))
@@ -8,6 +9,7 @@ class Eventify::Configuration
8
9
  end
9
10
 
10
11
  def save
12
+ FileUtils.mkdir_p File.dirname(PATH)
11
13
  File.open(PATH, "w") { |f| f.write YAML.dump(@configuration) }
12
14
  end
13
15
 
@@ -1,3 +1,3 @@
1
1
  class Eventify
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarmo Pertman