pastie-api 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/bin/pastie CHANGED
@@ -3,8 +3,8 @@
3
3
  lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
4
4
  $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)
5
5
 
6
- require 'pastie'
7
- require 'pastie/console'
6
+ require 'pastie-api'
7
+ require 'pastie-api/console'
8
8
 
9
9
  unless ARGV.empty?
10
10
  ARGV.each do |f|
@@ -0,0 +1,6 @@
1
+ require 'net/http'
2
+ require 'uri'
3
+
4
+ require 'pastie-api/request'
5
+ require 'pastie-api/paste'
6
+ require 'pastie-api/pastie'
File without changes
File without changes
File without changes
File without changes
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pastie-api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- version: "0.1"
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Dan Sosedoff
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-09-28 00:00:00 -05:00
18
+ date: 2010-09-30 00:00:00 -05:00
18
19
  default_executable: pastie
19
20
  dependencies: []
20
21
 
@@ -28,11 +29,11 @@ extra_rdoc_files: []
28
29
 
29
30
  files:
30
31
  - bin/pastie
31
- - lib/pastie.rb
32
- - lib/pastie/pastie.rb
33
- - lib/pastie/request.rb
34
- - lib/pastie/paste.rb
35
- - lib/pastie/console.rb
32
+ - lib/pastie-api.rb
33
+ - lib/pastie-api/pastie.rb
34
+ - lib/pastie-api/request.rb
35
+ - lib/pastie-api/paste.rb
36
+ - lib/pastie-api/console.rb
36
37
  has_rdoc: true
37
38
  homepage: http://github.com/sosedoff/pastie
38
39
  licenses: []
@@ -1,6 +0,0 @@
1
- require 'net/http'
2
- require 'uri'
3
-
4
- require 'pastie/request'
5
- require 'pastie/paste'
6
- require 'pastie/pastie'