inova_aws_s3 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/inova_aws_s3.gemspec +1 -1
- data/lib/{aws/s3_service.rb → inova_aws_s3/service.rb} +2 -2
- data/lib/inova_aws_s3/version.rb +1 -1
- data/lib/inova_aws_s3.rb +19 -17
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2ac8156441031e452a77cb16ae918a37c6a6faa43f7847e5ccece62e2f57f2b
|
4
|
+
data.tar.gz: 738a1c356a2a5a6dd8bd47009c3b45cd0567749a0d43a72022813c553406f871
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27067eaac0764b59113501b8515af7aa5d534df6d30838170dd0d7ba2c83436bc6f4b149d552f602a661cb061fc29614517f501220aa25523ab02254501c32ae
|
7
|
+
data.tar.gz: c3d7e7d14879d5eac80a3ff0df9ea16b3517245b72aa6de9146fb316821c26375e7dde415c8ff71557bd2990b11558fd0bbeef753d2e1ee5d418e31fb19a1699
|
data/README.md
CHANGED
@@ -5,13 +5,13 @@ 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.5.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.5.0'
|
15
15
|
```
|
16
16
|
## Requirments
|
17
17
|
|
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,19 @@
|
|
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
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "inova_aws_s3/version"
|
4
|
+
require_relative "inova_aws_s3/configuration"
|
5
|
+
require_relative "inova_aws_s3/service"
|
6
|
+
|
7
|
+
module InovaAwsS3
|
8
|
+
class Error < StandardError; end
|
9
|
+
# Your code goes here...
|
10
|
+
|
11
|
+
class << self
|
12
|
+
attr_accessor :configuration
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.configure
|
16
|
+
self.configuration ||= Configuration.new
|
17
|
+
yield(configuration)
|
18
|
+
end
|
19
|
+
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.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ahmed Mos`ad
|
@@ -52,19 +52,19 @@ files:
|
|
52
52
|
- README.md
|
53
53
|
- Rakefile
|
54
54
|
- inova_aws_s3.gemspec
|
55
|
-
- lib/aws/s3_service.rb
|
56
55
|
- lib/generators/inova_aws_s3/install_generator.rb
|
57
56
|
- lib/generators/inova_aws_s3/templates/inova_aws_s3_initializer.rb
|
58
57
|
- lib/inova_aws_s3.rb
|
59
58
|
- lib/inova_aws_s3/configuration.rb
|
59
|
+
- lib/inova_aws_s3/service.rb
|
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:
|