Initial commit of gem structure
This commit is contained in:
commit
130d4cf5d0
7 changed files with 44 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
*.gem
|
||||||
|
.bundle
|
||||||
|
pkg/*
|
1
.rvmrc
Normal file
1
.rvmrc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
rvm use default@cookie-extractor
|
4
Gemfile
Normal file
4
Gemfile
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
source "http://rubygems.org"
|
||||||
|
|
||||||
|
# Specify your gem's dependencies in cookie-extractor.gemspec
|
||||||
|
gemspec
|
1
Rakefile
Normal file
1
Rakefile
Normal file
|
@ -0,0 +1 @@
|
||||||
|
require "bundler/gem_tasks"
|
23
cookie-extractor.gemspec
Normal file
23
cookie-extractor.gemspec
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
$:.push File.expand_path("../lib", __FILE__)
|
||||||
|
require "cookie-extractor/version"
|
||||||
|
|
||||||
|
Gem::Specification.new do |s|
|
||||||
|
s.name = "cookie-extractor"
|
||||||
|
s.version = CookieExtractor::VERSION
|
||||||
|
s.authors = ["Jeff Dallien"]
|
||||||
|
s.email = ["jeff@dallien.net"]
|
||||||
|
s.homepage = "http://jeff.dallien.net/"
|
||||||
|
s.summary = %q{Create cookies.txt from Firefox or Chrome cookies}
|
||||||
|
s.description = %q{Extract cookies from Firefox or Chrome sqlite databases into a wget-compatible cookies.txt file.}
|
||||||
|
|
||||||
|
s.rubyforge_project = "cookie-extractor"
|
||||||
|
|
||||||
|
s.files = `git ls-files`.split("\n")
|
||||||
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
||||||
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
||||||
|
s.require_paths = ["lib"]
|
||||||
|
|
||||||
|
s.add_development_dependency "rspec"
|
||||||
|
s.add_runtime_dependency "sqlite3-ruby"
|
||||||
|
end
|
7
lib/cookie-extractor.rb
Normal file
7
lib/cookie-extractor.rb
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
require "cookie-extractor/version"
|
||||||
|
|
||||||
|
module Cookie
|
||||||
|
module Extractor
|
||||||
|
# Your code goes here...
|
||||||
|
end
|
||||||
|
end
|
5
lib/cookie-extractor/version.rb
Normal file
5
lib/cookie-extractor/version.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
module Cookie
|
||||||
|
module Extractor
|
||||||
|
VERSION = "0.0.1"
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue