toolbelt 0.0.1.pre

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: 7e61dfcf3c2d7ae53e9d3d36c5b962e9d9954682
4
+ data.tar.gz: e7d8dbf2b42f9c54c8fbb8b8430f640000c37637
5
+ SHA512:
6
+ metadata.gz: 6c3c4183180f579f397b57877dcc54bf8218ad03eac942661f170cb99ec5e59d94c31871e424fbcdb21b620b2daa189cdf51453aebe108d85a34cfa838fe38cf
7
+ data.tar.gz: efc78061ca45adb8a0a1738d7571bd304f09ed3d536ae83478f9db662b8be0910607210ca3bc5d6807d9838587f28196e9d0cefbd6be9a6f62c2d6091d6ce98e
data/.gitignore ADDED
@@ -0,0 +1,18 @@
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
18
+ .DS_Store
data/.rubocop.yml ADDED
@@ -0,0 +1,36 @@
1
+ AllCops:
2
+ RunRailsCops: false
3
+
4
+ LineLength:
5
+ Max: 120
6
+
7
+ ClassLength:
8
+ CountComments: false # count full line comments?
9
+ Max: 175
10
+
11
+ MethodLength:
12
+ CountComments: false # count full line comments?
13
+ Max: 10
14
+
15
+ HashSyntax:
16
+ EnforcedStyle: hash_rockets
17
+
18
+ Documentation:
19
+ Enabled: false
20
+
21
+ DefaultScope:
22
+ Enabled: false
23
+
24
+ CollectionMethods:
25
+ PreferredMethods:
26
+ map: 'collect'
27
+ map!: 'collect!'
28
+ reduce: 'inject'
29
+ find: 'detect'
30
+ find_all: 'select'
31
+
32
+ Output:
33
+ Enabled: false
34
+
35
+ HasAndBelongsToMany:
36
+ Enabled: false
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.0.0-p247
data/.travis.yml ADDED
@@ -0,0 +1,9 @@
1
+ language: ruby
2
+ cache: bundler
3
+
4
+ rvm:
5
+ - 1.9.3
6
+ - 2.0.0
7
+ - 2.1.1
8
+
9
+ script: 'bundle exec rake'
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # CHANGELOG
2
+
3
+ ## 1.0.0 (2014-08-01)
4
+
5
+ * Initial release
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,11 @@
1
+ guard 'rspec', :cmd => 'rspec --colour', :all_on_start => false, :all_after_pass => false do
2
+ watch('spec/spec_helper.rb') { "spec" }
3
+ watch(%r{^spec/.+_spec\.rb})
4
+ watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
5
+ end
6
+
7
+ guard :rubocop do
8
+ watch(%r{.+\.gemspec$})
9
+ watch(%r{.+\.rb$})
10
+ watch(%r{(?:.+/)?\.rubocop\.yml$}) { |m| File.dirname(m[0]) }
11
+ end
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License
2
+
3
+ Copyright (c) 2014 PJ Kelly (Crush & Lovely)
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.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Toolbelt for Ruby
2
+
3
+ [![Build Status](http://img.shields.io/travis/crushlovely/toolbelt.svg?style=flat)](https://travis-ci.org/crushlovely/toolbelt)
4
+ [![Code Climate](http://img.shields.io/codeclimate/github/crushlovely/toolbelt.svg?style=flat)](https://codeclimate.com/github/crushlovely/toolbelt)
5
+ [![Code Coverage](http://img.shields.io/codeclimate/coverage/github/crushlovely/toolbelt.svg?style=flat)](https://codeclimate.com/github/crushlovely/toolbelt)
6
+
7
+ A collection of POROs to use in your applications.
8
+
9
+ ## Installation
10
+
11
+ `gem install toolbelt`
12
+
13
+ or in your `Gemfile`
14
+
15
+ ```ruby
16
+ gem 'toolbelt'
17
+ ```
18
+
19
+ ## Usage
20
+
21
+ Make sure you require the library.
22
+
23
+ ```ruby
24
+ require 'toolbelt'
25
+ ```
26
+
27
+ ## Contributing to toolbelt
28
+
29
+ * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
30
+ * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
31
+ * Fork the project
32
+ * Start a feature/bugfix branch
33
+ * Commit and push until you are happy with your contribution
34
+ * Make sure to add tests for it. This is important so we don't break it in a future version unintentionally.
35
+ * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so we can cherry-pick around it.
36
+
37
+ ## Copyright
38
+
39
+ Copyright (c) 2014 PJ Kelly (Crush & Lovely). See LICENSE for further details.
data/Rakefile ADDED
@@ -0,0 +1,11 @@
1
+ require 'bundler/gem_tasks'
2
+ require 'rake'
3
+ require 'rspec/core/rake_task'
4
+
5
+ RSpec::Core::RakeTask.new(:spec) do |spec|
6
+ spec.pattern = 'spec/**/*_spec.rb'
7
+ spec.rspec_opts = ['--backtrace']
8
+ # spec.ruby_opts = ['-w']
9
+ end
10
+
11
+ task :default => :spec
data/lib/toolbelt.rb ADDED
@@ -0,0 +1,5 @@
1
+ require 'toolbelt/version'
2
+ require 'hashie'
3
+
4
+ module Toolbelt
5
+ end
@@ -0,0 +1,3 @@
1
+ module Toolbelt
2
+ VERSION = '0.0.1.pre'
3
+ end
@@ -0,0 +1,7 @@
1
+ require 'spec_helper'
2
+
3
+ describe 'Toolbelt::VERSION' do
4
+ it 'should be the correct version' do
5
+ expect(Toolbelt::VERSION).to eq('0.0.1.pre')
6
+ end
7
+ end
@@ -0,0 +1,4 @@
1
+ require 'spec_helper'
2
+
3
+ describe Toolbelt do
4
+ end
@@ -0,0 +1,10 @@
1
+ require "codeclimate-test-reporter"
2
+ CodeClimate::TestReporter.start
3
+
4
+ require 'rspec'
5
+ require 'toolbelt'
6
+
7
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
8
+
9
+ RSpec.configure do |config|
10
+ end
data/toolbelt.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+
5
+ require 'toolbelt/version'
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = 'toolbelt'
9
+ spec.version = Toolbelt::VERSION
10
+ spec.authors = ['PJ Kelly']
11
+ spec.email = ['pj@crushlovely.com']
12
+ spec.homepage = 'https://github.com/crushlovely/toolbelt'
13
+ spec.summary = 'Utility to create signed URLs for uploading files straight to Amazon S3.'
14
+ spec.description = 'Utility to create signed URLs for uploading files straight to Amazon S3.'
15
+
16
+ spec.rubyforge_project = 'toolbelt'
17
+
18
+ spec.files = `git ls-files`.split("\n")
19
+ spec.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ spec.executables = `git ls-files -- bin/*`.split("\n").collect { |f| File.basename(f) }
21
+ spec.require_paths = ['lib']
22
+
23
+ spec.add_dependency('hashie')
24
+ spec.add_development_dependency 'bundler', '~> 1.3'
25
+ spec.add_development_dependency('pry')
26
+ spec.add_development_dependency('rake')
27
+ spec.add_development_dependency('rspec')
28
+ spec.add_development_dependency('rubocop')
29
+ spec.add_development_dependency('guard')
30
+ spec.add_development_dependency('guard-rspec')
31
+ spec.add_development_dependency('guard-rubocop')
32
+ spec.add_development_dependency('codeclimate-test-reporter')
33
+ end
metadata ADDED
@@ -0,0 +1,204 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: toolbelt
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre
5
+ platform: ruby
6
+ authors:
7
+ - PJ Kelly
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-08-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: hashie
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
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '1.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: pry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '>='
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: guard
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: guard-rspec
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '>='
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '>='
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
125
+ - !ruby/object:Gem::Dependency
126
+ name: guard-rubocop
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: codeclimate-test-reporter
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - '>='
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - '>='
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ description: Utility to create signed URLs for uploading files straight to Amazon
154
+ S3.
155
+ email:
156
+ - pj@crushlovely.com
157
+ executables: []
158
+ extensions: []
159
+ extra_rdoc_files: []
160
+ files:
161
+ - .gitignore
162
+ - .rubocop.yml
163
+ - .ruby-version
164
+ - .travis.yml
165
+ - CHANGELOG.md
166
+ - Gemfile
167
+ - Guardfile
168
+ - LICENSE
169
+ - README.md
170
+ - Rakefile
171
+ - lib/toolbelt.rb
172
+ - lib/toolbelt/version.rb
173
+ - spec/lib/toolbelt/version_spec.rb
174
+ - spec/lib/toolbelt_spec.rb
175
+ - spec/spec_helper.rb
176
+ - toolbelt.gemspec
177
+ homepage: https://github.com/crushlovely/toolbelt
178
+ licenses: []
179
+ metadata: {}
180
+ post_install_message:
181
+ rdoc_options: []
182
+ require_paths:
183
+ - lib
184
+ required_ruby_version: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - '>='
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - '>'
192
+ - !ruby/object:Gem::Version
193
+ version: 1.3.1
194
+ requirements: []
195
+ rubyforge_project: toolbelt
196
+ rubygems_version: 2.0.3
197
+ signing_key:
198
+ specification_version: 4
199
+ summary: Utility to create signed URLs for uploading files straight to Amazon S3.
200
+ test_files:
201
+ - spec/lib/toolbelt/version_spec.rb
202
+ - spec/lib/toolbelt_spec.rb
203
+ - spec/spec_helper.rb
204
+ has_rdoc: