warhol 0.0.0

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.
File without changes
@@ -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
@@ -0,0 +1 @@
1
+ 1.9.3-p448
@@ -0,0 +1,8 @@
1
+ SimpleCov.start do
2
+ SimpleCov.minimum_coverage 85
3
+
4
+ project_name 'Warhol'
5
+
6
+ add_filter '/.bundle/'
7
+ add_filter '/vendor/'
8
+ end
@@ -0,0 +1,5 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.0.0
5
+ bundler_args: --without development doc
@@ -0,0 +1,8 @@
1
+ --no-private
2
+ --protected
3
+ --markup markdown
4
+ -
5
+ CHANGELOG.md
6
+ CONTRIBUTING.md
7
+ LICENSE.md
8
+ README.md
@@ -0,0 +1,3 @@
1
+ # 0.0.0
2
+
3
+ * Project bootstrapping
@@ -0,0 +1,52 @@
1
+ # Contributing to Warhol
2
+
3
+ In the spirit of [free software][free-sw], **everyone** is encouraged to help
4
+ improve this project.
5
+
6
+ [free-sw]: http://www.fsf.org/licensing/essays/free-sw.html
7
+
8
+ Here are some ways *you* can contribute:
9
+
10
+ * by using alpha, beta, and prerelease versions
11
+ * by reporting bugs
12
+ * by suggesting new features
13
+ * by writing or editing documentation
14
+ * by writing specifications
15
+ * by writing code (**no patch is too small**: fix typos, add comments, clean up
16
+ inconsistent whitespace)
17
+ * by refactoring code
18
+ * by fixing [issues][]
19
+ * by reviewing patches
20
+
21
+ [issues]: https://github.com/sferik/twitter/issues
22
+
23
+ ## Submitting an Issue
24
+ We use the [GitHub issue tracker][issues] to track bugs and features. Before
25
+ submitting a bug report or feature request, check to make sure it hasn't
26
+ already been submitted. When submitting a bug report, please include a [Gist][]
27
+ that includes a stack trace and any details that may be necessary to reproduce
28
+ the bug, including your gem version, Ruby version, and operating system.
29
+ Ideally, a bug report should include a pull request with failing specs.
30
+
31
+ [gist]: https://gist.github.com/
32
+
33
+ ## Submitting a Pull Request
34
+ 1. [Fork the repository.][fork]
35
+ 2. [Create a topic branch.][branch]
36
+ 3. Add specs for your unimplemented feature or bug fix.
37
+ 4. Run `bundle exec rake spec`. If your specs pass, return to step 3.
38
+ 5. Implement your feature or bug fix.
39
+ 6. Run `bundle exec rake spec`. If your specs fail, return to step 5.
40
+ 7. Run `open coverage/index.html`. If your changes are not completely covered
41
+ by your tests, return to step 3.
42
+ 8. Run `RUBYOPT=W2 bundle exec rake spec 2>&1 | grep warhol`. If your changes
43
+ produce any warnings, return to step 5.
44
+ 9. Add documentation for your feature or bug fix.
45
+ 10. Run `bundle exec rake yard`. If your changes are not 100% documented, go
46
+ back to step 9.
47
+ 11. Commit and push your changes.
48
+ 12. [Submit a pull request.][pr]
49
+
50
+ [fork]: http://help.github.com/fork-a-repo/
51
+ [branch]: http://learn.github.com/p/branching.html
52
+ [pr]: http://help.github.com/send-pull-requests/
data/Gemfile ADDED
@@ -0,0 +1,26 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development do
6
+ gem 'gem-release', '~> 0.6.0'
7
+ end
8
+
9
+ group :test do
10
+ gem 'rspec', '~> 2.14.1'
11
+ gem 'rspec-fire', '~> 1.2.0'
12
+ gem 'simplecov', '~> 0.7.1', require: false
13
+ gem 'timecop', '~> 0.6.2'
14
+ gem 'webmock', '~> 1.13.0'
15
+ end
16
+
17
+ group :development, :test do
18
+ gem 'pry', '~> 0.9.12'
19
+ gem 'pry-debugger', '~> 0.2.2'
20
+ gem 'pry-stack_explorer', '~> 0.4.9'
21
+ end
22
+
23
+ group :doc do
24
+ gem 'redcarpet', '~> 3.0.0'
25
+ gem 'yard', '~> 0.8.6'
26
+ end
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Quad Learning, Inc.
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.
@@ -0,0 +1,81 @@
1
+ # Warhol
2
+
3
+ [![Gem Version](https://badge.fury.io/rb/warhol.png)][gem]
4
+ [![Build Status](https://secure.travis-ci.org/americanhonors/warhol.png?branch=master)][travis]
5
+ [![Dependency Status](https://gemnasium.com/americanhonors/warhol.png?travis)][gemnasium]
6
+ [![Code Climate](https://codeclimate.com/github/americanhonors/warhol.png)][codeclimate]
7
+
8
+ A Ruby client gem for the [Canvas](canvas) LMS [API](canvas-api).
9
+
10
+ [canvas]: http://instructure.com
11
+ [canvas-api]: https://canvas.instructure.com/doc/api/
12
+ [gem]: https://rubygems.org/gems/warhol
13
+ [travis]: http://travis-ci.org/americanhonors/warhol
14
+ [gemnasium]: https://gemnasium.com/americanhonors/warhol
15
+ [codeclimate]: https://codeclimate.com/github/americanhonors/warhol
16
+
17
+ ## Installation
18
+
19
+ Add this line to your application's Gemfile:
20
+
21
+ gem 'warhol'
22
+
23
+ And then execute:
24
+
25
+ $ bundle
26
+
27
+ Or install it yourself as:
28
+
29
+ $ gem install warhol
30
+
31
+ ## Getting started
32
+
33
+ TODO: Write usage instructions here
34
+
35
+ ## Documentation
36
+
37
+ [http://rdoc.info/gems/warhol][documentation]
38
+
39
+ [documentation]: http://rdoc.info/gems/warhol
40
+
41
+ ## Supported Ruby Versions
42
+
43
+ This library aims to support, and is [tested against][travis] the following Ruby
44
+ implementations:
45
+
46
+ * Ruby 1.9.3
47
+ * Ruby 2.0.0
48
+
49
+ Development is primarily done in a Ruby 1.9.3 environment with the latest patch
50
+ release.
51
+
52
+ ## Versioning
53
+
54
+ This library aims to adhere to [Semantic Versioning 2.0.0][semver]. Violations
55
+ of this scheme should be reported as bugs. Specifically, if a minor or patch
56
+ version is released that breaks backward compatibility, that version should be
57
+ immediately yanked and/or a new version should be immediately released that
58
+ restores compatibility. Breaking changes to the public API will only be
59
+ introduced with new major versions. As a result of this policy, you can (and
60
+ should) specify a dependency on this gem using the [Pessimistic Version
61
+ Constraint][pvc] with two digits of precision. For example:
62
+
63
+ spec.add_dependency 'twitter', '~> 4.0'
64
+
65
+ [semver]: http://semver.org/
66
+ [pvc]: http://docs.rubygems.org/read/chapter/16#page74
67
+
68
+ ## Thanks
69
+
70
+ * Special thanks to the authors of the [twitter][twitter-gem] gem, from which
71
+ a good deal of this gem's boilerplate and foundation is based on.
72
+
73
+ [twitter-gem]: https://github.com/sferik/twitter
74
+
75
+ ## Copyright
76
+
77
+ Copyright (c) 2013 Quad Learning, Inc.
78
+
79
+ See [LICENSE][] for details.
80
+
81
+ [license]: LICENSE.md
@@ -0,0 +1,10 @@
1
+ require 'bundler'
2
+ require 'bundler/gem_tasks'
3
+ require 'rspec/core/rake_task'
4
+ require 'yard'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task :default => :spec
9
+
10
+ YARD::Rake::YardocTask.new
@@ -0,0 +1,4 @@
1
+ require 'warhol/version'
2
+
3
+ module Warhol
4
+ end
@@ -0,0 +1,3 @@
1
+ module Warhol
2
+ VERSION = '0.0.0'
3
+ end
@@ -0,0 +1,4 @@
1
+ require 'spec_helper'
2
+
3
+ describe Warhol do
4
+ end
@@ -0,0 +1,21 @@
1
+ require 'simplecov'
2
+ require 'warhol'
3
+ require 'rspec'
4
+ require 'timecop'
5
+ require 'webmock/rspec'
6
+
7
+ WebMock.disable_net_connect!
8
+
9
+ RSpec.configure do |config|
10
+ config.expect_with :rspec do |c|
11
+ c.syntax = :expect
12
+ end
13
+ end
14
+
15
+ def fixture_path
16
+ File.expand_path('../fixtures', __FILE__)
17
+ end
18
+
19
+ def fixture(file)
20
+ File.new("#{fixture_path}/#{file}")
21
+ end
@@ -0,0 +1,25 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'warhol/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'warhol'
7
+ spec.version = Warhol::VERSION
8
+ spec.authors = ['Tony Burns']
9
+ spec.email = ['tony@tabolario.com']
10
+ spec.description = %q{A client for the Canvas LMS API.}
11
+ spec.summary = spec.description
12
+ spec.homepage = 'https://github.com/americanhonors/warhol'
13
+ spec.license = 'MIT'
14
+
15
+ spec.files = `git ls-files`.split($/)
16
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
+ spec.test_files = spec.files.grep(%r{^(spec|features)/})
18
+ spec.require_paths = ['lib']
19
+
20
+ spec.add_dependency 'faraday', '~> 0.8.7'
21
+ spec.add_dependency 'faraday_middleware', '~> 0.9.0'
22
+
23
+ spec.add_development_dependency 'bundler', '~> 1.3'
24
+ spec.add_development_dependency 'rake'
25
+ end
metadata ADDED
@@ -0,0 +1,131 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: warhol
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Tony Burns
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-07-18 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: faraday
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: 0.8.7
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.8.7
30
+ - !ruby/object:Gem::Dependency
31
+ name: faraday_middleware
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: 0.9.0
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 0.9.0
46
+ - !ruby/object:Gem::Dependency
47
+ name: bundler
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '1.3'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '1.3'
62
+ - !ruby/object:Gem::Dependency
63
+ name: rake
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ description: A client for the Canvas LMS API.
79
+ email:
80
+ - tony@tabolario.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - .gemtest
86
+ - .gitignore
87
+ - .rspec
88
+ - .ruby-version
89
+ - .simplecov
90
+ - .travis.yml
91
+ - .yardopts
92
+ - CHANGELOG.md
93
+ - CONTRIBUTING.md
94
+ - Gemfile
95
+ - LICENSE.md
96
+ - README.md
97
+ - Rakefile
98
+ - lib/warhol.rb
99
+ - lib/warhol/version.rb
100
+ - spec/lib/warhol_spec.rb
101
+ - spec/spec_helper.rb
102
+ - warhol.gemspec
103
+ homepage: https://github.com/americanhonors/warhol
104
+ licenses:
105
+ - MIT
106
+ post_install_message:
107
+ rdoc_options: []
108
+ require_paths:
109
+ - lib
110
+ required_ruby_version: !ruby/object:Gem::Requirement
111
+ none: false
112
+ requirements:
113
+ - - ! '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ none: false
118
+ requirements:
119
+ - - ! '>='
120
+ - !ruby/object:Gem::Version
121
+ version: '0'
122
+ requirements: []
123
+ rubyforge_project:
124
+ rubygems_version: 1.8.23
125
+ signing_key:
126
+ specification_version: 3
127
+ summary: A client for the Canvas LMS API.
128
+ test_files:
129
+ - spec/lib/warhol_spec.rb
130
+ - spec/spec_helper.rb
131
+ has_rdoc: