cliff 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +4 -0
  2. data/lib/cliff.rb +1 -1
  3. data/test/helper.rb +1 -1
  4. metadata +2 -2
data/README.md CHANGED
@@ -3,6 +3,10 @@ Cliff is a CLI-Client for [friendpaste.com][fp]. You can paste stuff to Friendpa
3
3
 
4
4
  And btw: [friendpaste.com][fp] is powered by [CouchDB][couch] :)
5
5
 
6
+ # Installation
7
+
8
+ gem install cliff
9
+
6
10
  # Usage
7
11
 
8
12
  cliff [--help | --list-languages | --refresh]
@@ -25,7 +25,7 @@ class Cliff
25
25
 
26
26
  def get(doc_id)
27
27
  headers = {"Accept" => "application/json"}
28
- raw = open("#{FP_URL}/#{doc_id}", headers).read
28
+ raw = open("#{Cliff::fp_url}/#{doc_id}", headers).read
29
29
  Snippet.new(JSON.parse(raw))
30
30
  end
31
31
 
@@ -3,7 +3,7 @@ require 'test/unit'
3
3
 
4
4
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
5
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
6
- require 'cliffg'
6
+ require 'cliff'
7
7
 
8
8
  class Test::Unit::TestCase
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cliff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Cohnen
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-13 00:00:00 +01:00
12
+ date: 2010-02-25 00:00:00 +01:00
13
13
  default_executable: cliff
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency