brocktail 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,4 @@
1
+ *.gem
2
+ .bundle
3
+ Gemfile.lock
4
+ pkg/*
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in brocktail.gemspec
4
+ gemspec
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
data/brocktail.gemspec ADDED
@@ -0,0 +1,23 @@
1
+ # -*- encoding: utf-8 -*-
2
+ $:.push File.expand_path("../lib", __FILE__)
3
+ require "brocktail/version"
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = "brocktail"
7
+ s.version = Brocktail::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.authors = ["Ivan Malijkh"]
10
+ s.email = ["ivan@lesslines.com"]
11
+ s.homepage = ""
12
+ s.summary = %q{Brocktail is a Ruby wrapper for Blocktail API v1}
13
+ s.description = %q{Brocktail is a Ruby wrapper for Blocktail API v1}
14
+
15
+ s.add_development_dependency "typhoeus"
16
+
17
+ s.rubyforge_project = "brocktail"
18
+
19
+ s.files = `git ls-files`.split("\n")
20
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22
+ s.require_paths = ["lib"]
23
+ end
@@ -0,0 +1,3 @@
1
+ module Brocktail
2
+ VERSION = "0.0.1"
3
+ end
data/lib/brocktail.rb ADDED
@@ -0,0 +1,20 @@
1
+ require 'typhoeus'
2
+ require 'json'
3
+ require 'base64'
4
+
5
+ require 'brocktail/errors'
6
+ require 'brocktail/credentials'
7
+ require 'brocktail/behavior/crud'
8
+
9
+
10
+ require 'brocktail/base'
11
+
12
+ module Brocktail
13
+
14
+ class << self
15
+ def client(username, password, options = {})
16
+ Brocktail::Base.new(username, password, options)
17
+ end
18
+ end
19
+
20
+ end
metadata ADDED
@@ -0,0 +1,86 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: brocktail
3
+ version: !ruby/object:Gem::Version
4
+ hash: 29
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 1
10
+ version: 0.0.1
11
+ platform: ruby
12
+ authors:
13
+ - Ivan Malijkh
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-04-01 00:00:00 +02:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: typhoeus
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id001
35
+ description: Brocktail is a Ruby wrapper for Blocktail API v1
36
+ email:
37
+ - ivan@lesslines.com
38
+ executables: []
39
+
40
+ extensions: []
41
+
42
+ extra_rdoc_files: []
43
+
44
+ files:
45
+ - .gitignore
46
+ - Gemfile
47
+ - Rakefile
48
+ - brocktail.gemspec
49
+ - lib/brocktail.rb
50
+ - lib/brocktail/version.rb
51
+ has_rdoc: true
52
+ homepage: ""
53
+ licenses: []
54
+
55
+ post_install_message:
56
+ rdoc_options: []
57
+
58
+ require_paths:
59
+ - lib
60
+ required_ruby_version: !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ hash: 3
66
+ segments:
67
+ - 0
68
+ version: "0"
69
+ required_rubygems_version: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ hash: 3
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ requirements: []
79
+
80
+ rubyforge_project: brocktail
81
+ rubygems_version: 1.5.2
82
+ signing_key:
83
+ specification_version: 3
84
+ summary: Brocktail is a Ruby wrapper for Blocktail API v1
85
+ test_files: []
86
+