rails_s3_uploader 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +31 -0
- data/Rakefile +4 -0
- data/lib/rails_s3_uploader/version.rb +5 -0
- data/lib/rails_s3_uploader.rb +8 -0
- data/rails_s3_uploader.gemspec +39 -0
- data/sig/rails_s3_uploader.rbs +4 -0
- metadata +56 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1f23f923809dc8d672c33ee8c1c48ff01e7c03d7e2013f3819e471d7826c3100
|
4
|
+
data.tar.gz: f6c227b065a2269416735f4f10659d1af450c00582d1f45d50e2594322890e7f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ad71e6375a1b30237d80932fcfdd25a4dd7317ebf433ead960be20ea3f89346023f571d492cfb7085d8d3d98dff76d5626b8444ba8f159d4321f2de0bd9f4c60
|
7
|
+
data.tar.gz: e74b90b556676661e329e2af7e0e7121103b243be520bb0ce052aec3b37b4ce7fbbd94a54e5f99b0dca64a77766afc284ded82edc1c430c637bc31ec9130ebbf
|
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# RailsS3Uploader
|
2
|
+
|
3
|
+
TODO: Delete this and the text below, and describe your gem
|
4
|
+
|
5
|
+
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/rails_s3_uploader`. To experiment with that code, run `bin/console` for an interactive prompt.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
|
10
|
+
|
11
|
+
Install the gem and add to the application's Gemfile by executing:
|
12
|
+
|
13
|
+
$ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
14
|
+
|
15
|
+
If bundler is not being used to manage dependencies, install the gem by executing:
|
16
|
+
|
17
|
+
$ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
TODO: Write usage instructions here
|
22
|
+
|
23
|
+
## Development
|
24
|
+
|
25
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
26
|
+
|
27
|
+
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 the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
28
|
+
|
29
|
+
## Contributing
|
30
|
+
|
31
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rails_s3_uploader.
|
data/Rakefile
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "lib/rails_s3_uploader/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "rails_s3_uploader"
|
7
|
+
spec.version = RailsS3Uploader::VERSION
|
8
|
+
spec.authors = ["Elton Santos", "Raquel Fonseca"]
|
9
|
+
spec.email = ["eltonaxl@hotmail.com", "raque-leto@hotmail.com"]
|
10
|
+
spec.summary = "Gem that makes it easy to integrate and upload files with AWS S3 using active storage"
|
11
|
+
spec.description = "Gem that makes it easy to integrate and upload files with AWS S3 using active storage. Pay Attention: this gem still is in development. Please CONTRIBUTE!"
|
12
|
+
spec.homepage = "https://github.com/eltonsantos/rails_s3_uploader"
|
13
|
+
spec.required_ruby_version = ">= 2.6.0"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.metadata = {
|
17
|
+
"homepage_uri" => spec.homepage,
|
18
|
+
"source_code_uri" => "https://github.com/eltonsantos/rails_s3_uploader",
|
19
|
+
"changelog_uri" => "https://github.com/eltonsantos/rails_s3_uploader/blob/master/CHANGELOG.md",
|
20
|
+
}
|
21
|
+
|
22
|
+
# Specify which files should be added to the gem when it is released.
|
23
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
+
spec.files = Dir.chdir(__dir__) do
|
25
|
+
`git ls-files -z`.split("\x0").reject do |f|
|
26
|
+
(File.expand_path(f) == __FILE__) ||
|
27
|
+
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
|
28
|
+
end
|
29
|
+
end
|
30
|
+
spec.bindir = "exe"
|
31
|
+
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
32
|
+
spec.require_paths = ["lib"]
|
33
|
+
|
34
|
+
# Uncomment to register a new dependency of your gem
|
35
|
+
# spec.add_dependency "example-gem", "~> 1.0"
|
36
|
+
|
37
|
+
# For more information and examples about making a new gem, check out our
|
38
|
+
# guide at: https://bundler.io/guides/creating_gem.html
|
39
|
+
end
|
metadata
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rails_s3_uploader
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Elton Santos
|
8
|
+
- Raquel Fonseca
|
9
|
+
autorequire:
|
10
|
+
bindir: exe
|
11
|
+
cert_chain: []
|
12
|
+
date: 2024-06-23 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: 'Gem that makes it easy to integrate and upload files with AWS S3 using
|
15
|
+
active storage. Pay Attention: this gem still is in development. Please CONTRIBUTE!'
|
16
|
+
email:
|
17
|
+
- eltonaxl@hotmail.com
|
18
|
+
- raque-leto@hotmail.com
|
19
|
+
executables: []
|
20
|
+
extensions: []
|
21
|
+
extra_rdoc_files: []
|
22
|
+
files:
|
23
|
+
- README.md
|
24
|
+
- Rakefile
|
25
|
+
- lib/rails_s3_uploader.rb
|
26
|
+
- lib/rails_s3_uploader/version.rb
|
27
|
+
- rails_s3_uploader.gemspec
|
28
|
+
- sig/rails_s3_uploader.rbs
|
29
|
+
homepage: https://github.com/eltonsantos/rails_s3_uploader
|
30
|
+
licenses:
|
31
|
+
- MIT
|
32
|
+
metadata:
|
33
|
+
homepage_uri: https://github.com/eltonsantos/rails_s3_uploader
|
34
|
+
source_code_uri: https://github.com/eltonsantos/rails_s3_uploader
|
35
|
+
changelog_uri: https://github.com/eltonsantos/rails_s3_uploader/blob/master/CHANGELOG.md
|
36
|
+
post_install_message:
|
37
|
+
rdoc_options: []
|
38
|
+
require_paths:
|
39
|
+
- lib
|
40
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 2.6.0
|
45
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - ">="
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '0'
|
50
|
+
requirements: []
|
51
|
+
rubygems_version: 3.5.3
|
52
|
+
signing_key:
|
53
|
+
specification_version: 4
|
54
|
+
summary: Gem that makes it easy to integrate and upload files with AWS S3 using active
|
55
|
+
storage
|
56
|
+
test_files: []
|