rails_url_shortener 0.1.2 → 0.1.3

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
  SHA256:
3
- metadata.gz: 4188bfea517eadff5ab16a22796513a39c6d50e3c51d63ad7a2025853299f644
4
- data.tar.gz: 7e8ec534b52bc6ecba1f7ba4aab0f5e884a07cd4c208e5bf416ee75340555cf0
3
+ metadata.gz: ffbe916c8f609fdc0f2d3eeeaa418fef1ac4ee79ef06168d49fe5e203d0cb13a
4
+ data.tar.gz: c9c73896eb476662e60e2999bc88a1a664c70b2d963100fbd4dc782ccd52249e
5
5
  SHA512:
6
- metadata.gz: ffa940a3781070a35f1d6c681be0616a336230a967aae49fb418a9754847ffabd61e3540494c31bdf87fee71cfc3cd7bee808199b205e8ac8e9147d3f3f69da7
7
- data.tar.gz: 85c07e0dd53da09ecb50069cd675c114921632333e5ba9d74daf59cd757ae34dfbe0f633f3aa572e9f8ba0f32ceb91c9a9a9f57ad380203551ef5ae29c0809ae
6
+ metadata.gz: f084c9720acb322664f424ba1d6d8e3f30b102caa5091eae1a66a2eae62242460dda2b86b0eeef46ade2321101cfd0f4fd6b9fea1818ba10653e96ce876374e1
7
+ data.tar.gz: 0141c770be77c10aa15354685e21ef51539547d690cdb2cd3e66f2deda6472245506e9704c7b1b6149dda8f5d417433293bcc8c7b6e1dd9ed9e22cbbe692e66d
data/README.md CHANGED
@@ -4,6 +4,8 @@ RailsUrlShortener is a small rails engine that provide your app with short URLs
4
4
 
5
5
  Why give your data to a third party app if you can do it by yourself?
6
6
 
7
+ You can see a **demo project** of what you can do with this engine [HERE]("https://paso-app.herokuapp.com/").
8
+
7
9
  ## Key features
8
10
 
9
11
  A few of the things you can do with RailsUrlShortener:
@@ -33,13 +35,13 @@ And generate the short links like you want:
33
35
  - Using the helper method, this return the ready short link.
34
36
 
35
37
  ```ruby
36
- short_url("https://www.github.com/a-chacon/rails_url_shortener")
38
+ short_url("https://www.github.com/a-chacon/rails-url-shortener")
37
39
  ```
38
40
 
39
41
  - Or model method, this return the object built. So you can save this on a variable, extract the key and build the short link by your own:
40
42
 
41
43
  ```ruby
42
- RailsUrlShortener::Url.generate("https://www.github.com/a-chacon/rails_url_shortener")
44
+ RailsUrlShortener::Url.generate("https://www.github.com/a-chacon/rails-url-shortener")
43
45
  ```
44
46
  ### 3. Share the short link
45
47
 
@@ -122,4 +124,4 @@ Don't forget to give the project a star! Thanks again!
122
124
  5. Open a Pull Request
123
125
 
124
126
  ## License
125
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
127
+ The gem is available as open source under the terms of the [GPL-3.0 License](https://www.github.com/a-chacon/rails-url-shortener/blob/main/LICENSE).
@@ -1,3 +1,3 @@
1
1
  module RailsUrlShortener
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_url_shortener
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - a-chacon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-14 00:00:00.000000000 Z
11
+ date: 2022-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -61,7 +61,6 @@ executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
63
63
  files:
64
- - MIT-LICENSE
65
64
  - README.md
66
65
  - Rakefile
67
66
  - app/controllers/rails_url_shortener/urls_controller.rb
@@ -78,14 +77,14 @@ files:
78
77
  - lib/rails_url_shortener/engine.rb
79
78
  - lib/rails_url_shortener/version.rb
80
79
  - lib/tasks/rails_url_shortener_tasks.rake
81
- homepage: https://www.github.com/a-chacon/rails_url_shortener
80
+ homepage: https://www.github.com/a-chacon/rails-url-shortener
82
81
  licenses:
83
82
  - MIT
84
83
  metadata:
85
- bug_tracker_uri: https://www.github.com/a-chacon/rails_url_shortener/issues
86
- changelog_uri: https://www.github.com/a-chacon/rails_url_shortener/releases/tag/v0.1.2
87
- documentation_uri: https://github.com/a-chacon/rails_url_shortener/blob/main/README.md
88
- source_code_uri: https://github.com/a-chacon/rails_url_shortener/tree/v0.1.2
84
+ bug_tracker_uri: https://www.github.com/a-chacon/rails-url-shortener/issues
85
+ changelog_uri: https://www.github.com/a-chacon/rails-url-shortener/releases/tag/v0.1.3
86
+ documentation_uri: https://github.com/a-chacon/rails-url-shortener/blob/main/README.md
87
+ source_code_uri: https://github.com/a-chacon/rails-url-shortener/tree/v0.1.3
89
88
  rubygems_mfa_required: 'true'
90
89
  post_install_message:
91
90
  rdoc_options: []
data/MIT-LICENSE DELETED
@@ -1,20 +0,0 @@
1
- Copyright 2022 a-chacon
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.