fde-s3_client 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 71d7bff51e0bcd68d69ff49e7e5efb43b5730fd0
4
- data.tar.gz: b32661e206650f46776d76d207bd0b29506b6070
3
+ metadata.gz: ead9c1ec774761476fbb2cc133613222b18e689f
4
+ data.tar.gz: 1f358a6ace3dbb774e3e66863ca70d48dd4d88ca
5
5
  SHA512:
6
- metadata.gz: 5ca38471cf5452f4ddf2ea3615b33545f829e6ca910a9c38cc9330ad39da99348f51031e958f0834a9e67a7558d5380821fe9d704e68e880bcc77866b70f993e
7
- data.tar.gz: a84189772ceb373e34dbf70efdd8ff51d7efc5c825640161638aad7b484ea800d002a631980419199ffe4931014e6af51caa01561d225baae3fb160f6ea81816
6
+ metadata.gz: a210e35d7892f6bfc9e482a90511131d4bbd1738a5a18a9fd673710231cefeed739efd99b7fdd649efb0e59fbed219c32ee453c292a9fb3836a46f033a0f2acd
7
+ data.tar.gz: c3c33ad89f7ffe8960f1549241c652904e6a1b584728c37a0d55d1863fb0f8a9bed8e64bb06e59490922f91924e9f15f77774349a1f91b185e1c0d61fd747b22
data/.gitignore CHANGED
@@ -12,3 +12,4 @@
12
12
  .rspec_status
13
13
 
14
14
  *.gem
15
+ *.env
data/.test.env CHANGED
@@ -1,5 +1,5 @@
1
1
  # Configure your access keys
2
2
  S3_BUCKET_NAME=fde-test-bucket
3
- AWS_ACCESS_KEY_ID=AWS_ACCESS_KEY_ID
4
- AWS_SECRET_ACCESS_KEY=AWS_SECRET_ACCESS_KEY
3
+ AWS_ACCESS_KEY_ID=KEY
4
+ AWS_SECRET_ACCESS_KEY=SECRET_KEY
5
5
  AWS_REGION=AWS_REGION
data/.travis.yml CHANGED
@@ -4,3 +4,8 @@ rvm:
4
4
  - 2.4.0
5
5
 
6
6
  before_install: gem install bundler -v 1.15.4
7
+
8
+ notifications:
9
+ slack: fadendaten:tWoet2mtObvbwSZSyUAY93jl
10
+ email: false
11
+
data/README.md CHANGED
@@ -1,42 +1,6 @@
1
1
  [![Gem Version](https://badge.fury.io/rb/fde-s3_client.svg)](https://badge.fury.io/rb/fde-s3_client)
2
2
  [![Build Status](https://travis-ci.org/fashion-data-exchange/s3_client.svg?branch=master)](https://travis-ci.org/fashion-data-exchange/s3_client)
3
+ [![Code Climate](https://codeclimate.com/github/fashion-data-exchange/s3_client/badges/gpa.svg)](https://codeclimate.com/github/fashion-data-exchange/s3_client)
3
4
 
4
5
  # S3Client
5
6
 
6
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/s3_client`. To experiment with that code, run `bin/console` for an interactive prompt.
7
-
8
- TODO: Delete this and the text above, and describe your gem
9
-
10
- ## Installation
11
-
12
- Add this line to your application's Gemfile:
13
-
14
- ```ruby
15
- gem 's3_client'
16
- ```
17
-
18
- And then execute:
19
-
20
- $ bundle
21
-
22
- Or install it yourself as:
23
-
24
- $ gem install s3_client
25
-
26
- ## Usage
27
-
28
- TODO: Write usage instructions here
29
-
30
- ## Development
31
-
32
- 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.
33
-
34
- 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).
35
-
36
- ## Contributing
37
-
38
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/s3_client.
39
-
40
- ## License
41
-
42
- The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
31
  spec.require_paths = ["lib"]
32
32
 
33
- spec.add_runtime_dependency "aws-sdk", "~> 3"
33
+ spec.add_runtime_dependency "aws-sdk-s3", "~> 1.2"
34
34
  spec.add_runtime_dependency "dotenv", "~> 2.2", ">= 2.2.1"
35
35
 
36
36
  spec.add_development_dependency "bundler", "~> 1.15"
@@ -1,5 +1,5 @@
1
1
  module FDE
2
2
  module S3Client
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
data/lib/s3_client.rb CHANGED
@@ -1,4 +1,4 @@
1
- require 'aws-sdk'
1
+ require 'aws-sdk-s3'
2
2
  require "s3_client/version"
3
3
 
4
4
  module FDE
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fde-s3_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Langenegger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-12 00:00:00.000000000 Z
11
+ date: 2017-09-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: aws-sdk
14
+ name: aws-sdk-s3
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3'
19
+ version: '1.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3'
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dotenv
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -201,7 +201,6 @@ files:
201
201
  - ".travis.yml"
202
202
  - Gemfile
203
203
  - LICENSE
204
- - LICENSE.txt
205
204
  - README.md
206
205
  - Rakefile
207
206
  - bin/console
data/LICENSE.txt DELETED
@@ -1,21 +0,0 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2017 Felix Langenegger
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.