purveyor 0.1.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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 44e15126097cb287839ff219ac65a78b1214d9b4
4
+ data.tar.gz: 64272cdd9dc81f0c429b62501b6853fd2be7fd82
5
+ SHA512:
6
+ metadata.gz: 8ae283f5fa995b5b85c1d24cd10e348b2ee9b19f9d716d6be75596290e611af4d40ce1da7ffad3fd87f5fe843f7dc0b040975dcbab1142d78ed952d4ab23b7df
7
+ data.tar.gz: 4b303529f759ed1719018432393335c3e62460ccb09463adb0d647d3e2144e997bd7f743b8af4f30066fc7a2c8d67f2cea19e7c232c35d18c7ad36793c0f83e3
@@ -0,0 +1 @@
1
+ ��dB����+(����H�����i`����6���q�)%��0A�$Հ�n���7�3k�d�4L:�,x��;��A��tZ�i2���|f=�b i �jRC�7&�=�������Eq��|vS �hI�#�Z�%-�K6��Q�����{�Ӌ3�x;''���l^�G9|6�a����+��,�R@�3��/?�T�lx���<����Q;�N]���2�j���_Ao��v�r2r����@Q*<D���&��
Binary file
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,5 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.1.4
5
+ before_install: gem install bundler -v 1.12.5
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in purveyor.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Aaron F Stanton
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,41 @@
1
+ # Purveyor
2
+
3
+ The Purveyor gem is intended to provide a generic abstract interface for using distributor/dropshipper APIs. This should also allow for a pluggable strategy to swap them in/out as needed.
4
+
5
+ This doesn't actually do anything yet.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'purveyor'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install purveyor
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/purveyor.
36
+
37
+
38
+ ## License
39
+
40
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
41
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "purveyor"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlhZnN0
3
+ YW50b24xFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
4
+ bTAeFw0xNjA3MjQxODAxMjRaFw0xNzA3MjQxODAxMjRaMEAxEjAQBgNVBAMMCWFm
5
+ c3RhbnRvbjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
6
+ Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5UhG4CRuY9qsnYQa
7
+ rTPeYqtm4b7SPCwfLvNPZ12kg1E2Vg9MVfnUx+/4kKUplFC5P2voNxZg9nj3/6vE
8
+ elhv4SPLV1FXXJNaj1X5jUP8lUHLgFLRSg/j3FayBoRNdWpid306J21g0pEbwAld
9
+ sNyG6bs5bEDaqdGEbwCokymglBAU0SBkx0nryCqrA/Jza0NXu6fhQdqPT0C3/j38
10
+ qNPwLzELFHhOZKqyqOYV91wfp7oLplKlBlUuRWT66xcUvxXZhrZpb9MuyJVUVzcG
11
+ OxxnzrBZqAFuEnlFlsHFWATREaxgQkRm3PUn2weDLgaPGe7WfBlLTT+FDoQnJObC
12
+ aAK6pQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
13
+ ZS/314qCDsOT9nstSETcNi+2SdkwHgYDVR0RBBcwFYETYWZzdGFudG9uQGdtYWls
14
+ LmNvbTAeBgNVHRIEFzAVgRNhZnN0YW50b25AZ21haWwuY29tMA0GCSqGSIb3DQEB
15
+ BQUAA4IBAQBMVIOr1s+4UPxKNnPEoHa9ZzHiDMkAjsoNmUU5xTMZVc8YqfjmH0Ln
16
+ bRSz+WwZBW4UfZw0SnY6zQFXLxjpa3mqRBXNhoU2isbl2PPjn4/C88hEX7QDniI0
17
+ MC/y9fqZ1IRYYxLymRT5vxCFeTCY5+p9Jo3zsURgRtweDOyOgd+G4hbNGXl3+P9S
18
+ 4ltKuRAsB6vbs1zKhxIHTG2BdueAsHN58g1x1g1qyhRInUKKkAYEMbiBNUJ7RfmK
19
+ WqP+X9bIQqDMJHX8y8StfwzxMZ5dT29JUI1Zi3b2bBoi+N+jxRh1yifZhpmB/zF0
20
+ KR47hJGqdBx2WEBjgGGprOZVnfb8yC68
21
+ -----END CERTIFICATE-----
@@ -0,0 +1,5 @@
1
+ require "purveyor/version"
2
+
3
+ module Purveyor
4
+ # Your code goes here...
5
+ end
@@ -0,0 +1,3 @@
1
+ module Purveyor
2
+ VERSION = "0.1.1"
3
+ end
Binary file
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'purveyor/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "purveyor"
8
+ spec.version = Purveyor::VERSION
9
+ spec.authors = ["Aaron F Stanton"]
10
+ spec.email = ["afstanton@gmail.com"]
11
+
12
+ spec.summary = %q{An abstract interface for as many distributor/dropshipper APIs as I can find.}
13
+ spec.description = %q{Defines an interface for other gems to use and creates a strategy for using them.}
14
+ spec.homepage = "https://github.com/catharticbliss/purveyor"
15
+ spec.license = "MIT"
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
+ spec.bindir = "exe"
19
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
+ spec.require_paths = ["lib"]
21
+
22
+ spec.add_development_dependency "bundler", "~> 1.12"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
25
+
26
+ spec.cert_chain = ['certs/afstanton.pem']
27
+ spec.signing_key = File.expand_path("~/.ssh/gem-private_key.pem") if $0 =~ /gem\z/
28
+ end
metadata ADDED
@@ -0,0 +1,123 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: purveyor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Aaron F Stanton
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDdDCCAlygAwIBAgIBATANBgkqhkiG9w0BAQUFADBAMRIwEAYDVQQDDAlhZnN0
14
+ YW50b24xFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
15
+ bTAeFw0xNjA3MjQxODAxMjRaFw0xNzA3MjQxODAxMjRaMEAxEjAQBgNVBAMMCWFm
16
+ c3RhbnRvbjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYD
17
+ Y29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5UhG4CRuY9qsnYQa
18
+ rTPeYqtm4b7SPCwfLvNPZ12kg1E2Vg9MVfnUx+/4kKUplFC5P2voNxZg9nj3/6vE
19
+ elhv4SPLV1FXXJNaj1X5jUP8lUHLgFLRSg/j3FayBoRNdWpid306J21g0pEbwAld
20
+ sNyG6bs5bEDaqdGEbwCokymglBAU0SBkx0nryCqrA/Jza0NXu6fhQdqPT0C3/j38
21
+ qNPwLzELFHhOZKqyqOYV91wfp7oLplKlBlUuRWT66xcUvxXZhrZpb9MuyJVUVzcG
22
+ OxxnzrBZqAFuEnlFlsHFWATREaxgQkRm3PUn2weDLgaPGe7WfBlLTT+FDoQnJObC
23
+ aAK6pQIDAQABo3kwdzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
24
+ ZS/314qCDsOT9nstSETcNi+2SdkwHgYDVR0RBBcwFYETYWZzdGFudG9uQGdtYWls
25
+ LmNvbTAeBgNVHRIEFzAVgRNhZnN0YW50b25AZ21haWwuY29tMA0GCSqGSIb3DQEB
26
+ BQUAA4IBAQBMVIOr1s+4UPxKNnPEoHa9ZzHiDMkAjsoNmUU5xTMZVc8YqfjmH0Ln
27
+ bRSz+WwZBW4UfZw0SnY6zQFXLxjpa3mqRBXNhoU2isbl2PPjn4/C88hEX7QDniI0
28
+ MC/y9fqZ1IRYYxLymRT5vxCFeTCY5+p9Jo3zsURgRtweDOyOgd+G4hbNGXl3+P9S
29
+ 4ltKuRAsB6vbs1zKhxIHTG2BdueAsHN58g1x1g1qyhRInUKKkAYEMbiBNUJ7RfmK
30
+ WqP+X9bIQqDMJHX8y8StfwzxMZ5dT29JUI1Zi3b2bBoi+N+jxRh1yifZhpmB/zF0
31
+ KR47hJGqdBx2WEBjgGGprOZVnfb8yC68
32
+ -----END CERTIFICATE-----
33
+ date: 2016-07-24 00:00:00.000000000 Z
34
+ dependencies:
35
+ - !ruby/object:Gem::Dependency
36
+ name: bundler
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '1.12'
42
+ type: :development
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.12'
49
+ - !ruby/object:Gem::Dependency
50
+ name: rake
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: '10.0'
56
+ type: :development
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '10.0'
63
+ - !ruby/object:Gem::Dependency
64
+ name: rspec
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.0'
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '3.0'
77
+ description: Defines an interface for other gems to use and creates a strategy for
78
+ using them.
79
+ email:
80
+ - afstanton@gmail.com
81
+ executables: []
82
+ extensions: []
83
+ extra_rdoc_files: []
84
+ files:
85
+ - ".gitignore"
86
+ - ".rspec"
87
+ - ".travis.yml"
88
+ - Gemfile
89
+ - LICENSE.txt
90
+ - README.md
91
+ - Rakefile
92
+ - bin/console
93
+ - bin/setup
94
+ - certs/afstanton.pem
95
+ - lib/purveyor.rb
96
+ - lib/purveyor/version.rb
97
+ - purveyor-0.1.0.gem
98
+ - purveyor.gemspec
99
+ homepage: https://github.com/catharticbliss/purveyor
100
+ licenses:
101
+ - MIT
102
+ metadata: {}
103
+ post_install_message:
104
+ rdoc_options: []
105
+ require_paths:
106
+ - lib
107
+ required_ruby_version: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ required_rubygems_version: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
117
+ requirements: []
118
+ rubyforge_project:
119
+ rubygems_version: 2.4.8
120
+ signing_key:
121
+ specification_version: 4
122
+ summary: An abstract interface for as many distributor/dropshipper APIs as I can find.
123
+ test_files: []
Binary file