facebookcl 0.1.7 → 0.1.10

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.
data/Rakefile CHANGED
@@ -1,5 +1,12 @@
1
1
  require 'rubygems'
2
2
  require 'rake'
3
+ require 'rake/testtask'
4
+
5
+ task :default => [:test]
6
+
7
+ Rake::TestTask.new(:test) do |t|
8
+ t.libs << "commands"
9
+ end
3
10
 
4
11
  begin
5
12
  require 'jeweler'
@@ -10,36 +17,10 @@ begin
10
17
  gem.email = "jubishop@facebook.com"
11
18
  gem.homepage = "http://github.com/jubishop/facebookcl"
12
19
  gem.authors = ["Justin Bishop"]
13
- gem.add_development_dependency "rspec", ">= 1.2.9"
20
+ gem.executables = ['facebook']
14
21
  end
15
22
  Jeweler::GemcutterTasks.new
16
23
  rescue LoadError
17
24
  puts "Jeweler (or a dependency) not available."
18
25
  puts "Install it with: gem install jeweler"
19
- end
20
-
21
- require 'spec/rake/spectask'
22
- Spec::Rake::SpecTask.new(:spec) do |spec|
23
- spec.libs << 'lib' << 'spec'
24
- spec.spec_files = FileList['spec/**/*_spec.rb']
25
- end
26
-
27
- Spec::Rake::SpecTask.new(:rcov) do |spec|
28
- spec.libs << 'lib' << 'spec'
29
- spec.pattern = 'spec/**/*_spec.rb'
30
- spec.rcov = true
31
- end
32
-
33
- task :spec => :check_dependencies
34
-
35
- task :default => :spec
36
-
37
- require 'rake/rdoctask'
38
- Rake::RDocTask.new do |rdoc|
39
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
40
-
41
- rdoc.rdoc_dir = 'rdoc'
42
- rdoc.title = "facebookcl #{version}"
43
- rdoc.rdoc_files.include('README*')
44
- rdoc.rdoc_files.include('lib/**/*.rb')
45
- end
26
+ end
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
1
+ 0.1.10
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+
1
3
  require 'readline'
2
4
  require 'shellwords'
3
5
 
@@ -5,13 +5,15 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{facebookcl}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.10"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Justin Bishop"]
12
12
  s.date = %q{2010-06-24}
13
+ s.default_executable = %q{facebook}
13
14
  s.description = %q{Facebook Command Line Long Description}
14
15
  s.email = %q{jubishop@facebook.com}
16
+ s.executables = ["facebook"]
15
17
  s.extra_rdoc_files = [
16
18
  "LICENSE",
17
19
  "README.markdown"
@@ -23,40 +25,30 @@ Gem::Specification.new do |s|
23
25
  "README.markdown",
24
26
  "Rakefile",
25
27
  "VERSION",
28
+ "bin/facebook",
26
29
  "commands/base.rb",
27
30
  "commands/help.rb",
28
31
  "commands/info.rb",
29
32
  "commands/picture.rb",
30
33
  "commands/stream.rb",
31
34
  "commands/wall.rb",
32
- "facebook.rb",
33
35
  "facebookcl.gemspec",
34
- "lib/facebookcl.rb",
35
- "spec/facebookcl_spec.rb",
36
- "spec/spec.opts",
37
- "spec/spec_helper.rb"
36
+ "lib/facebookcl.rb"
38
37
  ]
39
38
  s.homepage = %q{http://github.com/jubishop/facebookcl}
40
39
  s.rdoc_options = ["--charset=UTF-8"]
41
40
  s.require_paths = ["lib"]
42
41
  s.rubygems_version = %q{1.3.7}
43
42
  s.summary = %q{Facebook Command Line}
44
- s.test_files = [
45
- "spec/facebookcl_spec.rb",
46
- "spec/spec_helper.rb"
47
- ]
48
43
 
49
44
  if s.respond_to? :specification_version then
50
45
  current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
51
46
  s.specification_version = 3
52
47
 
53
48
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
54
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
55
49
  else
56
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
57
50
  end
58
51
  else
59
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
60
52
  end
61
53
  end
62
54
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facebookcl
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 15
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 7
10
- version: 0.1.7
9
+ - 10
10
+ version: 0.1.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Justin Bishop
@@ -16,28 +16,13 @@ bindir: bin
16
16
  cert_chain: []
17
17
 
18
18
  date: 2010-06-24 00:00:00 -07:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
22
- name: rspec
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 13
30
- segments:
31
- - 1
32
- - 2
33
- - 9
34
- version: 1.2.9
35
- type: :development
36
- version_requirements: *id001
19
+ default_executable: facebook
20
+ dependencies: []
21
+
37
22
  description: Facebook Command Line Long Description
38
23
  email: jubishop@facebook.com
39
- executables: []
40
-
24
+ executables:
25
+ - facebook
41
26
  extensions: []
42
27
 
43
28
  extra_rdoc_files:
@@ -50,18 +35,15 @@ files:
50
35
  - README.markdown
51
36
  - Rakefile
52
37
  - VERSION
38
+ - bin/facebook
53
39
  - commands/base.rb
54
40
  - commands/help.rb
55
41
  - commands/info.rb
56
42
  - commands/picture.rb
57
43
  - commands/stream.rb
58
44
  - commands/wall.rb
59
- - facebook.rb
60
45
  - facebookcl.gemspec
61
46
  - lib/facebookcl.rb
62
- - spec/facebookcl_spec.rb
63
- - spec/spec.opts
64
- - spec/spec_helper.rb
65
47
  has_rdoc: true
66
48
  homepage: http://github.com/jubishop/facebookcl
67
49
  licenses: []
@@ -96,6 +78,5 @@ rubygems_version: 1.3.7
96
78
  signing_key:
97
79
  specification_version: 3
98
80
  summary: Facebook Command Line
99
- test_files:
100
- - spec/facebookcl_spec.rb
101
- - spec/spec_helper.rb
81
+ test_files: []
82
+
@@ -1,7 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "Facebookcl" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end
@@ -1 +0,0 @@
1
- --color
@@ -1,9 +0,0 @@
1
- $LOAD_PATH.unshift(File.dirname(__FILE__))
2
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
- require 'facebookcl'
4
- require 'spec'
5
- require 'spec/autorun'
6
-
7
- Spec::Runner.configure do |config|
8
-
9
- end