inova_aws_s3 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -4
- data/inova_aws_s3.gemspec +1 -1
- data/lib/generators/inova_aws_s3/templates/inova_aws_s3_initializer.rb +1 -1
- data/lib/inova_aws_s3/version.rb +1 -1
- data/lib/inova_aws_s3.rb +18 -17
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3db2132e47a160bff1f69a3d838729772df37f2ac1c5c93a24617df9f6684a9
|
4
|
+
data.tar.gz: da605a40e36a97463e4fa0808803b711754aef032d23b2bda91aacd7371060ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b63bcf1f1003d8e2eb7cf3ab3204142b60b436c1bf98720487ed1d149f9198c673974235eab32b4bb8f5dcfd1a70aa617189d5deb51a17640855f6475135479e
|
7
|
+
data.tar.gz: 48de1d6002216dd664455701ceb366bf75034956d3cadb9c46c80deb047f409f0310051321fd9e246775b36b4e2c14c534da27a34bb134565a3039c1314e2928
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -5,18 +5,18 @@ InovaAwsS3 is a Ruby gem designed to simplify interactions with Amazon S3, provi
|
|
5
5
|
To use this gem in your project, add it to your application's Gemfile:
|
6
6
|
|
7
7
|
```ruby
|
8
|
-
gem 'inova_aws_s3', '~> 0.
|
8
|
+
gem 'inova_aws_s3', '~> 0.4.0'
|
9
9
|
```
|
10
10
|
|
11
11
|
Alternatively, you can install the gem directly using:
|
12
12
|
|
13
13
|
```bash
|
14
|
-
gem install inova_aws_s3 -v '~> 0.
|
14
|
+
gem install inova_aws_s3 -v '~> 0.4.0'
|
15
15
|
```
|
16
16
|
## Requirments
|
17
17
|
|
18
|
-
- Ruby >= 3.
|
19
|
-
- Rails >= 6.1.
|
18
|
+
- Ruby >= 3.1.2
|
19
|
+
- Rails >= 6.1.7
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
data/inova_aws_s3.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
|
11
11
|
spec.summary = "Ruby Gem for uploading files to AWS S3."
|
12
12
|
spec.description = "This gem is used to upload files to AWS S3."
|
13
|
-
spec.homepage = "https://
|
13
|
+
spec.homepage = "https://github.com/ahmedmos3ad/inova_aws_s3"
|
14
14
|
spec.license = "MIT"
|
15
15
|
spec.required_ruby_version = ">= 3.1.2"
|
16
16
|
spec.add_dependency 'rails', '>= 6.1.7'
|
data/lib/inova_aws_s3/version.rb
CHANGED
data/lib/inova_aws_s3.rb
CHANGED
@@ -1,17 +1,18 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require_relative "inova_aws_s3/version"
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "inova_aws_s3/version"
|
4
|
+
require_relative "inova_aws_s3/configuration"
|
5
|
+
|
6
|
+
module InovaAwsS3
|
7
|
+
class Error < StandardError; end
|
8
|
+
# Your code goes here...
|
9
|
+
|
10
|
+
class << self
|
11
|
+
attr_accessor :configuration
|
12
|
+
end
|
13
|
+
|
14
|
+
def self.configure
|
15
|
+
self.configuration ||= Configuration.new
|
16
|
+
yield(configuration)
|
17
|
+
end
|
18
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inova_aws_s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmed Mos`ad
|
@@ -60,11 +60,11 @@ files:
|
|
60
60
|
- lib/inova_aws_s3/test_config.rb
|
61
61
|
- lib/inova_aws_s3/version.rb
|
62
62
|
- sig/inova_aws_s3.rbs
|
63
|
-
homepage: https://
|
63
|
+
homepage: https://github.com/ahmedmos3ad/inova_aws_s3
|
64
64
|
licenses:
|
65
65
|
- MIT
|
66
66
|
metadata:
|
67
|
-
homepage_uri: https://
|
67
|
+
homepage_uri: https://github.com/ahmedmos3ad/inova_aws_s3
|
68
68
|
source_code_uri: https://github.com/ahmedmos3ad/inova_aws_s3
|
69
69
|
changelog_uri: https://github.com/ahmedmos3ad/inova_aws_s3/blob/master/CHANGELOG.md
|
70
70
|
post_install_message:
|