vineyard 0.0.1

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.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTlhNjIzODkzNWQ5NTFkMDZjNjkwZWFkNDNjNTA3M2RiODBhY2RkOA==
5
+ data.tar.gz: !binary |-
6
+ Y2E4M2RkNjMyNDc3ZjEzNDBlY2FjMjZhOWI5NTNhNmQ3N2I4MDI5OQ==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ZjNmMjRiOGNiNzAwZmJmZTFhMjEyZWY0NThmOTIzMzE2YzcxMGM4YTAxMDRk
10
+ MTk4YTEwYjYwYWY3NTBhZWE1NWZmZjYwMmU2YmYxNWRmMDNiNzYzNTU2OTU3
11
+ NTViZGJhYzdmNWMyZWFiODk4ZThlMDQ5MWQ0NmRjM2JjNGNlODY=
12
+ data.tar.gz: !binary |-
13
+ YzViNDk2MzE1YjFkZmU0ZDYxOTVlMmEzZmNmOTc4MmRkYTQ4ZWFkM2QwOTA0
14
+ MTRkMGFhMzA4ODU2MWRkZjlhZTQ2ZDViMGQ3NGQ3MjEwOTU0MGEzYjQzOGUy
15
+ YzQ4Mzk0NWUzMGVlYTA3MTkzNzIxNWRhOTg4NWIzYzQyOWU1YTA=
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --fail-fast
3
+ --order random
data/.travis.yaml ADDED
@@ -0,0 +1,4 @@
1
+ bundler_args: --without development
2
+ language: ruby
3
+ rvm:
4
+ - 1.9.3
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gem 'rake'
4
+ group :test do
5
+ gem 'rspec'
6
+ end
7
+
8
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Kyle Decot
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # vineyard
2
+
3
+ Rubygem for interacting w/ Vine's unofficial API. Inspired and based off of Vino - https://github.com/tlack/vino
4
+
5
+ [![Build Status](https://travis-ci.org/kyledecot/vineyard.png?branch=master)](https://travis-ci.org/kyledecot/vineyard)
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ gem 'vineyard'
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install vineyard
20
+
21
+ ## Usage
22
+
23
+ TODO: Write usage instructions here
24
+
25
+ ## Contributing
26
+
27
+ 1. Fork it
28
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
29
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
30
+ 4. Push to the branch (`git push origin my-new-feature`)
31
+ 5. Create new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,8 @@
1
+ require 'bundler'
2
+ Bundler::GemHelper.install_tasks
3
+
4
+ require 'rspec/core/rake_task'
5
+ RSpec::Core::RakeTask.new(:spec)
6
+
7
+ task :test => :spec
8
+ task :default => :spec
data/lib/vineyard.rb ADDED
@@ -0,0 +1,7 @@
1
+ require 'vineyard/version'
2
+ require 'httparty'
3
+ require 'vineyard/configurable'
4
+
5
+ module Vineyard
6
+ include Vineyard::Configurable
7
+ end
@@ -0,0 +1,21 @@
1
+ module Vineyard
2
+ module Configurable
3
+ def configure
4
+ puts 'Configure!'
5
+ # def self.authenticate(username = '', password = '')
6
+ # options = {
7
+ # :query => {
8
+ # 'username' => username,
9
+ # 'password' => password
10
+ # },
11
+ # :headers => {
12
+ # 'Device-Token' => 'Vineyard',
13
+ # 'User-Agent' => 'com.vine.iphone/1.01 (unknown, iPhone OS 6.0, iPad, Scale/2.000000) (Vineyard.js/0.0.1)'
14
+ # }
15
+ # }
16
+ # # puts options
17
+ # puts HTTParty.post 'https://api.vineapp.com/users/authenticate', options
18
+ # end
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,3 @@
1
+ module Vineyard
2
+ VERSION = "0.0.1"
3
+ end
data/spec/helper.rb ADDED
@@ -0,0 +1,2 @@
1
+ require 'vineyard'
2
+ require 'rspec'
@@ -0,0 +1,5 @@
1
+ require 'helper'
2
+
3
+ describe Vineyard do
4
+
5
+ end
data/vineyard.gemspec ADDED
@@ -0,0 +1,21 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'vineyard/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "vineyard"
8
+ gem.version = Vineyard::VERSION
9
+ gem.authors = ["Kyle Decot"]
10
+ gem.email = ["kyle.decot@icloud.com"]
11
+ gem.description = %q{Rubygem for interacting w/ Vine's API}
12
+ gem.summary = %q{Rubygem for interacting w/ Vine's API}
13
+ gem.homepage = ""
14
+
15
+ gem.files = `git ls-files`.split($/)
16
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
18
+ gem.require_paths = ["lib"]
19
+
20
+ gem.add_dependency "httparty"
21
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vineyard
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Kyle Decot
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-03-22 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: httparty
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ! '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ description: Rubygem for interacting w/ Vine's API
28
+ email:
29
+ - kyle.decot@icloud.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - .gitignore
35
+ - .rspec
36
+ - .travis.yaml
37
+ - Gemfile
38
+ - LICENSE.txt
39
+ - README.md
40
+ - Rakefile
41
+ - lib/vineyard.rb
42
+ - lib/vineyard/configurable.rb
43
+ - lib/vineyard/version.rb
44
+ - spec/helper.rb
45
+ - spec/vineyard_spec.rb
46
+ - vineyard.gemspec
47
+ homepage: ''
48
+ licenses: []
49
+ metadata: {}
50
+ post_install_message:
51
+ rdoc_options: []
52
+ require_paths:
53
+ - lib
54
+ required_ruby_version: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ! '>='
57
+ - !ruby/object:Gem::Version
58
+ version: '0'
59
+ required_rubygems_version: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ requirements: []
65
+ rubyforge_project:
66
+ rubygems_version: 2.0.3
67
+ signing_key:
68
+ specification_version: 4
69
+ summary: Rubygem for interacting w/ Vine's API
70
+ test_files:
71
+ - spec/helper.rb
72
+ - spec/vineyard_spec.rb