simplemerchant 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: c62808682340382b0b4e0f310b7dd20fa9c1edd0
4
+ data.tar.gz: b3a62d226ff9cdf6d7e632a83274ed44801b0129
5
+ SHA512:
6
+ metadata.gz: f67c1f60f5ff7b260c1c79fb929107c98552424aac7b874f3df866d22c57b795b651cad1e4eb4b5f82d608661f54ba0ad0b34a3d9e77c959475c17582027f892
7
+ data.tar.gz: 392e628411c2c3fe779f4e12b5832fb8de7fca7a4caa76899be3cfa8b7c65ce83cd0c4e08fdced425c949b28de8ac5d13bccdb788988ecbd478526212e2e8048
data/.gitignore ADDED
@@ -0,0 +1,36 @@
1
+ *.gem
2
+ *.rbc
3
+ /.config
4
+ /coverage/
5
+ /InstalledFiles
6
+ /pkg/
7
+ /spec/reports/
8
+ /spec/examples.txt
9
+ /test/tmp/
10
+ /test/version_tmp/
11
+ /tmp/
12
+
13
+ ## Specific to RubyMotion:
14
+ .dat*
15
+ .repl_history
16
+ build/
17
+
18
+ ## Documentation cache and generated files:
19
+ /.yardoc/
20
+ /_yardoc/
21
+ /doc/
22
+ /rdoc/
23
+
24
+ ## Environment normalization:
25
+ /.bundle/
26
+ /vendor/bundle
27
+ /lib/bundler/man/
28
+
29
+ # for a library or gem, you might want to ignore these files since the code is
30
+ # intended to run in multiple environments; otherwise, check them in:
31
+ # Gemfile.lock
32
+ # .ruby-version
33
+ # .ruby-gemset
34
+
35
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
36
+ .rvmrc
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at info@edwardwoodcock.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in simplemerchant.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,47 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ simplemerchant (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.2.0)
10
+ diff-lcs (1.2.5)
11
+ parser (2.3.0.1)
12
+ ast (~> 2.2)
13
+ powerpack (0.1.1)
14
+ rainbow (2.0.0)
15
+ rake (10.5.0)
16
+ rspec (3.4.0)
17
+ rspec-core (~> 3.4.0)
18
+ rspec-expectations (~> 3.4.0)
19
+ rspec-mocks (~> 3.4.0)
20
+ rspec-core (3.4.1)
21
+ rspec-support (~> 3.4.0)
22
+ rspec-expectations (3.4.0)
23
+ diff-lcs (>= 1.2.0, < 2.0)
24
+ rspec-support (~> 3.4.0)
25
+ rspec-mocks (3.4.1)
26
+ diff-lcs (>= 1.2.0, < 2.0)
27
+ rspec-support (~> 3.4.0)
28
+ rspec-support (3.4.1)
29
+ rubocop (0.36.0)
30
+ parser (>= 2.3.0.0, < 3.0)
31
+ powerpack (~> 0.1)
32
+ rainbow (>= 1.99.1, < 3.0)
33
+ ruby-progressbar (~> 1.7)
34
+ ruby-progressbar (1.7.5)
35
+
36
+ PLATFORMS
37
+ ruby
38
+
39
+ DEPENDENCIES
40
+ bundler (~> 1.11)
41
+ rake (~> 10.0)
42
+ rspec (~> 3.0)
43
+ rubocop (~> 0.36.0)
44
+ simplemerchant!
45
+
46
+ BUNDLED WITH
47
+ 1.11.2
data/LICENSE ADDED
@@ -0,0 +1,8 @@
1
+ The MIT License (MIT)
2
+ Copyright (c) 2016 Simple Merchant
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5
+
6
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7
+
8
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,35 @@
1
+ # Simplemerchant
2
+
3
+ Official Simple Merchant Ruby Gem
4
+
5
+ [ ![Codeship Status for simplemerchant/simplemerchant-ruby](https://codeship.com/projects/adc73950-a28a-0133-81e8-4622c1e7ba28/status?branch=master)](https://codeship.com/projects/128937)
6
+
7
+ ### Important Note. This Gem is currently in development, this repo is currently a placeholder.
8
+
9
+ ## Installation
10
+
11
+ Add this line to your application's Gemfile:
12
+
13
+ ```ruby
14
+ gem 'simplemerchant'
15
+ ```
16
+
17
+ And then execute:
18
+
19
+ $ bundle
20
+
21
+ Or install it yourself as:
22
+
23
+ $ gem install simplemerchant
24
+
25
+ ## Usage
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/simplemerchant/simplemerchant-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
data/Rakefile ADDED
@@ -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
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'simplemerchant'
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
data/bin/setup ADDED
@@ -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,5 @@
1
+ require 'simplemerchant/version'
2
+
3
+ # Core module for SimpleMerchant
4
+ module SimpleMerchant
5
+ end
@@ -0,0 +1,3 @@
1
+ module SimpleMerchant
2
+ VERSION = '0.0.1'.freeze
3
+ end
data/rubocop.yml ADDED
@@ -0,0 +1,246 @@
1
+ AllCops:
2
+ Include:
3
+ - '**/*.rake'
4
+ - '**/Gemfile'
5
+ Exclude:
6
+ - 'bin/*'
7
+ - '**/vendor/**'
8
+
9
+ AccessorMethodName:
10
+ Enabled: false
11
+
12
+ Alias:
13
+ Enabled: false
14
+
15
+ ArrayJoin:
16
+ Enabled: false
17
+
18
+ AsciiComments:
19
+ Enabled: false
20
+
21
+ AsciiIdentifiers:
22
+ Enabled: false
23
+
24
+ Attr:
25
+ Enabled: false
26
+
27
+ BlockNesting:
28
+ Enabled: false
29
+
30
+ CaseEquality:
31
+ Enabled: false
32
+
33
+ CharacterLiteral:
34
+ Enabled: false
35
+
36
+ ClassLength:
37
+ Enabled: false
38
+
39
+ ClassVars:
40
+ Enabled: false
41
+
42
+ CollectionMethods:
43
+ PreferredMethods:
44
+ find: detect
45
+ reduce: inject
46
+ collect: map
47
+ find_all: select
48
+
49
+ ColonMethodCall:
50
+ Enabled: false
51
+
52
+ CommentAnnotation:
53
+ Enabled: false
54
+
55
+ CyclomaticComplexity:
56
+ Enabled: false
57
+
58
+ Delegate:
59
+ Enabled: false
60
+
61
+ DeprecatedHashMethods:
62
+ Enabled: false
63
+
64
+ Documentation:
65
+ Enabled: false
66
+
67
+ DotPosition:
68
+ EnforcedStyle: trailing
69
+
70
+ DoubleNegation:
71
+ Enabled: false
72
+
73
+ EmptyLiteral:
74
+ Enabled: false
75
+
76
+ Encoding:
77
+ Enabled: false
78
+
79
+ EvenOdd:
80
+ Enabled: false
81
+
82
+ FileName:
83
+ Enabled: false
84
+
85
+ FlipFlop:
86
+ Enabled: false
87
+
88
+ FormatString:
89
+ Enabled: false
90
+
91
+ GlobalVars:
92
+ Enabled: false
93
+
94
+ IfUnlessModifier:
95
+ Enabled: false
96
+
97
+ IfWithSemicolon:
98
+ Enabled: false
99
+
100
+ Lambda:
101
+ Enabled: false
102
+
103
+ LambdaCall:
104
+ Enabled: false
105
+
106
+ LineEndConcatenation:
107
+ Enabled: false
108
+
109
+ LineLength:
110
+ Max: 95
111
+
112
+ MethodLength:
113
+ Enabled: false
114
+
115
+ ModuleFunction:
116
+ Enabled: false
117
+
118
+ NegatedIf:
119
+ Enabled: false
120
+
121
+ NegatedWhile:
122
+ Enabled: false
123
+
124
+ NilComparison:
125
+ Enabled: false
126
+
127
+ Not:
128
+ Enabled: false
129
+
130
+ NumericLiterals:
131
+ Enabled: false
132
+
133
+ OneLineConditional:
134
+ Enabled: false
135
+
136
+ OpMethod:
137
+ Enabled: false
138
+
139
+ ParameterLists:
140
+ Enabled: false
141
+
142
+ PercentLiteralDelimiters:
143
+ PreferredDelimiters:
144
+ '%': '{}'
145
+
146
+ PerlBackrefs:
147
+ Enabled: false
148
+
149
+ PredicateName:
150
+ NamePrefixBlacklist:
151
+ - is_
152
+
153
+ Proc:
154
+ Enabled: false
155
+
156
+ RaiseArgs:
157
+ Enabled: false
158
+
159
+ RegexpLiteral:
160
+ Enabled: false
161
+
162
+ SelfAssignment:
163
+ Enabled: false
164
+
165
+ SingleLineBlockParams:
166
+ Enabled: false
167
+
168
+ SingleLineMethods:
169
+ Enabled: false
170
+
171
+ SignalException:
172
+ Enabled: false
173
+
174
+ SpecialGlobalVars:
175
+ Enabled: false
176
+
177
+ StringLiterals:
178
+ EnforcedStyle: single_quotes
179
+
180
+ VariableInterpolation:
181
+ Enabled: false
182
+
183
+ TrailingComma:
184
+ Enabled: false
185
+
186
+ TrivialAccessors:
187
+ Enabled: false
188
+
189
+ VariableInterpolation:
190
+ Enabled: false
191
+
192
+ WhenThen:
193
+ Enabled: false
194
+
195
+ WhileUntilModifier:
196
+ Enabled: false
197
+
198
+ WordArray:
199
+ Enabled: false
200
+
201
+ # Lint
202
+
203
+ AmbiguousOperator:
204
+ Enabled: false
205
+
206
+ AmbiguousRegexpLiteral:
207
+ Enabled: false
208
+
209
+ AssignmentInCondition:
210
+ Enabled: false
211
+
212
+ ConditionPosition:
213
+ Enabled: false
214
+
215
+ DeprecatedClassMethods:
216
+ Enabled: false
217
+
218
+ ElseLayout:
219
+ Enabled: false
220
+
221
+ HandleExceptions:
222
+ Enabled: false
223
+
224
+ InvalidCharacterLiteral:
225
+ Enabled: false
226
+
227
+ LiteralInCondition:
228
+ Enabled: false
229
+
230
+ LiteralInInterpolation:
231
+ Enabled: false
232
+
233
+ Loop:
234
+ Enabled: false
235
+
236
+ ParenthesesAsGroupedExpression:
237
+ Enabled: false
238
+
239
+ RequireParentheses:
240
+ Enabled: false
241
+
242
+ UnderscorePrefixedVariableName:
243
+ Enabled: false
244
+
245
+ Void:
246
+ Enabled: false
@@ -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 'simplemerchant/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'simplemerchant'
8
+ spec.version = SimpleMerchant::VERSION
9
+ spec.authors = ['Edward Woodcock']
10
+ spec.email = ['edward@simple-merchant.com']
11
+
12
+ spec.summary = 'A Ruby wrapper for the Simple Merchant API'
13
+ spec.description = 'Ruby wrapper for the Simple Merchant API'
14
+ spec.licenses = ['MIT']
15
+ spec.homepage = 'https://github.com/simplemerchant/simplemerchant-ruby'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+ spec.bindir = 'exe'
21
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
+ spec.require_paths = ['lib']
23
+
24
+ spec.add_development_dependency 'rubocop', '~> 0.36.0'
25
+ spec.add_development_dependency 'bundler', '~> 1.11'
26
+ spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rspec', '~> 3.0'
28
+ end
metadata ADDED
@@ -0,0 +1,113 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simplemerchant
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Edward Woodcock
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-01-21 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.36.0
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.36.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.11'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.11'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ description: Ruby wrapper for the Simple Merchant API
70
+ email:
71
+ - edward@simple-merchant.com
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - ".gitignore"
77
+ - CODE_OF_CONDUCT.md
78
+ - Gemfile
79
+ - Gemfile.lock
80
+ - LICENSE
81
+ - README.md
82
+ - Rakefile
83
+ - bin/console
84
+ - bin/setup
85
+ - lib/simplemerchant.rb
86
+ - lib/simplemerchant/version.rb
87
+ - rubocop.yml
88
+ - simplemerchant.gemspec
89
+ homepage: https://github.com/simplemerchant/simplemerchant-ruby
90
+ licenses:
91
+ - MIT
92
+ metadata: {}
93
+ post_install_message:
94
+ rdoc_options: []
95
+ require_paths:
96
+ - lib
97
+ required_ruby_version: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ required_rubygems_version: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - ">="
105
+ - !ruby/object:Gem::Version
106
+ version: '0'
107
+ requirements: []
108
+ rubyforge_project:
109
+ rubygems_version: 2.4.5.1
110
+ signing_key:
111
+ specification_version: 4
112
+ summary: A Ruby wrapper for the Simple Merchant API
113
+ test_files: []