recycle 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 06ffa6bb8a23403a5bd93a0cdc0e8d8d7beeac8a
4
- data.tar.gz: 58dbdf4cf3bc6fb5eb25c3c6414c3653d88d061b
3
+ metadata.gz: 6035bfbe3af5452338b241075bfbd3659fa00f8c
4
+ data.tar.gz: 2976a7ef492b2f9a3dea696f631e885fb8d39ae8
5
5
  SHA512:
6
- metadata.gz: 88d71dd02ab861add97eba837eb9c015874bc6aa721091d1d5602c08b9e4068f3ad1804387061507bfdf9112f949aa887b3d4c6835d073f174307643b500f457
7
- data.tar.gz: 3764017ad455fa5a7b1f1e6be499865bb3e9b3839c8765d43ee9a6104858edd9811bf0759eea0030573a9ba3bbefb3d85419455e593a3f23ac2cd93ddc4bf877
6
+ metadata.gz: 903741adfa3c0a0bcd8fb38623805483c0585babfd8f11b8092886a14d2d000adcab4764c82a9fb520c3c529129b3867df861154f66fc5fad78663be7648dc19
7
+ data.tar.gz: ae44b7c82499686c8d30353e5cf205ceffb66fb9e4a91ad0f50fcb65ddd1b40c554b1343432ed06fd61821e078f2b37f186371c80b212d2423e0a7a5ed11666c
data/README.md CHANGED
@@ -14,5 +14,28 @@ To use:
14
14
  eval "$(recycle exec)"
15
15
  ```
16
16
 
17
+ Listing configuration:
18
+
19
+ ```sh
20
+ recycle list
21
+ ```
22
+
23
+ ![List](https://raw.github.com/jeremywrowe/recycle/master/recycle-list.png)
24
+
25
+ Adding a command shortcut:
26
+
27
+ ```sh
28
+ recycle add -c lld "ls -ld .?*"
29
+ ```
30
+
31
+ Adding a directory shortcut:
32
+
33
+ ```sh
34
+ recycle add -d h "\$HOME"
35
+ ```
36
+
37
+ *note* You may have to escape reserved shell terms like shown above, since you
38
+ may not want it to resolve until a later time.
39
+
17
40
  This is still very much a work in progress, but give it a shot and open up pull
18
41
  requests as you see fit.
@@ -1,3 +1,3 @@
1
1
  module Recycle
2
- VERSION = '0.1.3'.freeze
2
+ VERSION = '0.1.4'.freeze
3
3
  end
data/recycle-list.png ADDED
Binary file
data/recycle.gemspec CHANGED
@@ -5,25 +5,24 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'recycle/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
+ spec.required_ruby_version = '~> 2.3'
8
9
  spec.name = 'recycle'
9
10
  spec.version = Recycle::VERSION
10
11
  spec.authors = ['Jeremy W. Rowe']
11
12
  spec.email = ['jeremywrowe@users.noreply.github.com']
12
-
13
- spec.summary = 'Command line tool for optimizing workflows through aliases'
14
13
  spec.license = 'MIT'
14
+ spec.summary = 'Command line tool for optimizing workflows through aliases'
15
15
  spec.description = <<-EOF
16
16
  Recycle is a command line interface (CLI) that helps automate workflows by storing
17
17
  commands and aliases in a standardized location. Recycle allows you to list, add, and remove
18
18
  commands and directories that you frequent.
19
19
  EOF
20
-
20
+ spec.require_paths = ['lib']
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
23
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
22
24
  f.match(%r{^(test|spec|features)/})
23
25
  end
24
- spec.bindir = 'exe'
25
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
- spec.require_paths = ['lib']
27
26
 
28
27
  # deps
29
28
  spec.add_dependency 'commander', '~> 4.4.3'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recycle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy W. Rowe
@@ -142,8 +142,7 @@ description: |2
142
142
  commands and directories that you frequent.
143
143
  email:
144
144
  - jeremywrowe@users.noreply.github.com
145
- executables:
146
- - recycle
145
+ executables: []
147
146
  extensions: []
148
147
  extra_rdoc_files: []
149
148
  files:
@@ -163,6 +162,7 @@ files:
163
162
  - lib/recycle.rb
164
163
  - lib/recycle/list.rb
165
164
  - lib/recycle/version.rb
165
+ - recycle-list.png
166
166
  - recycle.gemspec
167
167
  homepage:
168
168
  licenses:
@@ -174,9 +174,9 @@ require_paths:
174
174
  - lib
175
175
  required_ruby_version: !ruby/object:Gem::Requirement
176
176
  requirements:
177
- - - ">="
177
+ - - "~>"
178
178
  - !ruby/object:Gem::Version
179
- version: '0'
179
+ version: '2.3'
180
180
  required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  requirements:
182
182
  - - ">="