buf 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/buf.rb +20 -0
  3. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6891ca42cf1723b63b21b825a78875e12ecb6bf
4
- data.tar.gz: 8568d11495a01acc30e2c989711f3aa78816d189
3
+ metadata.gz: 4d11c4937144a30cfe4280f534bac6bb8e867ea3
4
+ data.tar.gz: 66a0ce9bbf038b4741df325d871458ee8fd6c606
5
5
  SHA512:
6
- metadata.gz: a7856487ad1304bb37f86469996e524359de795ea292857b04498640362821b4b10329a050d2e902dd8a55a9204feab681739caf28ae10417342afcd586220a7
7
- data.tar.gz: b7e75a6616c59851ac99c60dc64801a6bcd4e9628ed8528fff666ba5459a2bf79c13c282c2d7f7d5159b67af0a99fadd5b78fe307c13c8156b73fcce320473f3
6
+ metadata.gz: 8c7552e69f7bfe8fb3d8c672cd0e7abe6f112b54a811677ed3d863d6df842e636eedac6a98c475f7acb0fff9e73bab31cfe9ecb1b3cb9da42311adabe8844841
7
+ data.tar.gz: 19afa57fbecd03f37322f95c3a6125f56d02cb176487237e2153808a35ef4ade6742b2a34a8a9edc84008a6a480d3eccff6f7c4c7d4b007550c249e51bf4d8d7
data/lib/buf.rb CHANGED
@@ -1,4 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
+ #
3
+ # next thing i'm doing is making this thing work with two dotfiles instead of my foo.txt
4
+ # and foo.txt.archive
2
5
 
3
6
  # rubygems
4
7
  require 'rubygems'
@@ -12,6 +15,23 @@ class Buf < Thor
12
15
 
13
16
  def initialize(*args)
14
17
  super
18
+ # no I just write directly to the config file. Just do that
19
+ # and I just write directly to that and um. well.
20
+ # I want to be able to control it with git so I need
21
+ # to be able to put it in a folder
22
+ # so the config file will be there at
23
+ # .bufrc
24
+ # if there is no ~/.bufrc I will create one
25
+ # and the default path will be in ~/
26
+ # for the buffile and the archive file
27
+ # yes. so it will be
28
+ # buf.txt and buf.archive.txt
29
+ # so basically just read from the config file
30
+ # and look for a buffile and archive file in that spot
31
+ # and if there is one, read it, and if there isn't, create one
32
+ # and create the folder and read from it. that's pretty simple. to change the buffile
33
+ # or archive file you manually modify .bufrc.
34
+ # then I think I'll be done with buf
15
35
  @buffile = "/users/rocker/buf/lib/foo.txt"
16
36
  @archivefile = "/users/rocker/buf/lib/foo.txt.archive"
17
37
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Douglas Lamb
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-26 00:00:00.000000000 Z
11
+ date: 2015-05-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A dead simple short-term memory aid
14
14
  email: douglaslamb@douglaslamb.com
@@ -42,6 +42,5 @@ rubyforge_project:
42
42
  rubygems_version: 2.4.5
43
43
  signing_key:
44
44
  specification_version: 4
45
- summary: still STILL fixing problem w initial gem release. it wouldn't run after gem
46
- install
45
+ summary: still working on it
47
46
  test_files: []