buf 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/buf.rb +20 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d11c4937144a30cfe4280f534bac6bb8e867ea3
|
4
|
+
data.tar.gz: 66a0ce9bbf038b4741df325d871458ee8fd6c606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
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-
|
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
|
46
|
-
install
|
45
|
+
summary: still working on it
|
47
46
|
test_files: []
|