This repository has been archived by the owner on Oct 29, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rerrange files a bit to be more ruby/rubygem friendly. Add gemspec
- Loading branch information
james cook
committed
Oct 6, 2010
1 parent
a8ff599
commit 3ed0840
Showing
16 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# -*- encoding: utf-8 -*- | ||
lib = File.expand_path('../lib/', __FILE__) | ||
$:.unshift lib unless $:.include?(lib) | ||
|
||
require "reddit/version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "ruby_reddit_api" | ||
s.version = Reddit::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["James Cook"] | ||
s.email = ["jamecook@gmail.com"] | ||
s.homepage = "http://github.com/jamescook/RubyRedditAPI" | ||
s.summary = "Wrapper for reddit API" | ||
s.description = "Wraps many reddit API functions such as submission and comments browsing, voting and messaging." | ||
s.has_rdoc = false | ||
|
||
s.required_rubygems_version = ">= 1.3.6" | ||
|
||
s.add_dependency "httparty" | ||
s.add_development_dependency "cucumber" | ||
|
||
s.files = Dir.glob("{lib}/**/*") + %w(README) | ||
s.test_files = Dir.glob("{features}/**/*") | ||
s.require_path = 'lib' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.gem | ||
*.swp | ||
*.swm | ||
*.sw0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
$:.unshift(File.dirname(__FILE__) + '/../../lib') | ||
require 'cucumber/rake/task' | ||
require "bundler/version" | ||
|
||
Cucumber::Rake::Task.new do |t| | ||
t.cucumber_opts = %w{--format pretty} | ||
end | ||
|
||
task :build do | ||
system "gem build .gemspec" | ||
end | ||
|
||
task :release => :build do | ||
system "gem push ruby_reddit_api-#{Reddit::VERSION}" | ||
end | ||
|
||
task :default => [:cucumber] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.7 | ||
0.1.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module Reddit | ||
VERSION = File.exist?("VERSION") ? File.read("VERSION").chomp : "" | ||
end |
File renamed without changes.