gist-sweep 0.0.1 → 0.0.2

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: 1378ff400ad3109f7a1e72b02b4c2025096bc251
4
- data.tar.gz: e4d59540ccd2bda3e4649de2b0c80d5854e363d2
3
+ metadata.gz: 190dac3c764ee0a30fb841eda89eb07f8b0c34b5
4
+ data.tar.gz: da581f0650a029a5593fbc49a3c6c8a709c942e9
5
5
  SHA512:
6
- metadata.gz: fb5f3858fe50faf9cedf81f03a15dfe1329900e0ce07290ecb95d7053bbd9da02c512b16e958a431099d0e0600416a124e772f69f56414838a748375b5535821
7
- data.tar.gz: 21f2057ab61ba21357759f4054b6e2aab189c056be09431101f89db7bec941c08bcac55aaf3a1a2302fc1ecb8f0723193af2c5fadc674a91addc543de7dfc28f
6
+ metadata.gz: 986a265af6830dfbf4a4aeddc6de6ce87af1575ba96c1361f5bae97e8ab20b20adfd30842f8a29a5bada7f20de357ca4111d66fb688fa05ade7577f2de4afb6e
7
+ data.tar.gz: cda787957e508beb73c32fd23f9aee82cbf5ab0a6ab187f38e7c6c9e1ea5e5051d19382612b4b48d08389c55c94cb3048fc7d835bf505044af9c93752c58d9b3
data/README.md CHANGED
@@ -1,6 +1,17 @@
1
- # Gist::Sweep
1
+ # gist-sweep
2
2
 
3
- TODO: Write a gem description
3
+ ## Usage
4
+
5
+ > gist-sweep -u adamdecaf
6
+
7
+ ```
8
+ Usage: gist-sweep [options]
9
+ -v, -s Print verbose messages
10
+ -c Read config from a different file
11
+ -u Username to sweep gists on
12
+ -d Days to keep
13
+ -p Include public gists
14
+ ```
4
15
 
5
16
  ## Installation
6
17
 
@@ -17,15 +28,3 @@ And then execute:
17
28
  Or install it yourself as:
18
29
 
19
30
  $ gem install gist-sweep
20
-
21
- ## Usage
22
-
23
- TODO: Write usage instructions here
24
-
25
- ## Contributing
26
-
27
- 1. Fork it ( https://github.com/[my-github-username]/gist-sweep/fork )
28
- 2. Create your feature branch (`git checkout -b my-new-feature`)
29
- 3. Commit your changes (`git commit -am 'Add some feature'`)
30
- 4. Push to the branch (`git push origin my-new-feature`)
31
- 5. Create a new Pull Request
data/Rakefile CHANGED
@@ -1,2 +1 @@
1
1
  require "bundler/gem_tasks"
2
-
@@ -1,5 +1,5 @@
1
1
  module Gist
2
2
  module Sweep
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
data/lib/gist/sweep.rb CHANGED
@@ -75,7 +75,7 @@ module GistSweep
75
75
  end
76
76
 
77
77
  def promot_to_remove_gists(count)
78
- puts "Remove #{count} gists? (y/n)"
78
+ print "Remove #{count} gists? (y/n) "
79
79
  line = STDIN.gets.strip
80
80
  if line == 'y'
81
81
  true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gist-sweep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Shannon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-15 00:00:00.000000000 Z
11
+ date: 2015-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  requirements: []
105
105
  rubyforge_project:
106
- rubygems_version: 2.2.2
106
+ rubygems_version: 2.4.5
107
107
  signing_key:
108
108
  specification_version: 4
109
109
  summary: sweep gists