paper_plane 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Changelog.md +17 -0
- data/lib/paper_plane/version.rb +1 -1
- metadata +1 -2
- data/lib/paper_plane/flight_route_registerer.rb +0 -36
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c0f411692e4fb67af434ca104ed5c95e41f6d287ec1f95b3fb77f50a3e07bf5
|
|
4
|
+
data.tar.gz: 54e5978399e49dd53895bbaf791c0971e7ec04b2819468311a84fac0edee415b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 466122c09139eed7a7275077507c88a148533988904a45e6ae3d5531e7dc8f5ad52a1c9fa19ed75a9546db695d0d95dd6106a10abdf1c82d8a360172b05d8b57
|
|
7
|
+
data.tar.gz: 1e96d39a5ada5090a5a571cb32b643042dcadaa89d77c7b9d69b33f9839070257e0a7fa14a9366193847d6e2adb7323f49b9b0ce8f8b0acb4f114649047af149
|
data/Changelog.md
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
All notable changes to this project will be documented in this file.
|
|
3
|
+
|
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
|
+
|
|
7
|
+
## [Unreleased]
|
|
8
|
+
|
|
9
|
+
## [0.1.0] - 2020-07-01
|
|
10
|
+
### Added
|
|
11
|
+
- First Release with 2 included flight routes: Email and SMS. (plugged with Twilio and ActionMailer)
|
|
12
|
+
- FlyJob included
|
|
13
|
+
|
|
14
|
+
## [0.1.1] - 2020-07-01
|
|
15
|
+
### Added
|
|
16
|
+
- Removed unused files.
|
|
17
|
+
- Added Changelog.
|
data/lib/paper_plane/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: paper_plane
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Guilherme Andrade
|
|
@@ -143,7 +143,6 @@ files:
|
|
|
143
143
|
- lib/paper_plane.rb
|
|
144
144
|
- lib/paper_plane/base.rb
|
|
145
145
|
- lib/paper_plane/callbacks.rb
|
|
146
|
-
- lib/paper_plane/flight_route_registerer.rb
|
|
147
146
|
- lib/paper_plane/flight_routes/base.rb
|
|
148
147
|
- lib/paper_plane/flight_routes/class_methods.rb
|
|
149
148
|
- lib/paper_plane/flight_routes/email.rb
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require 'paper_plane/flight_routes/base'
|
|
4
|
-
require 'paper_plane/flight_routes/email'
|
|
5
|
-
require 'paper_plane/flight_routes/sms'
|
|
6
|
-
|
|
7
|
-
module PaperPlane
|
|
8
|
-
module FlightRouteRegisterer
|
|
9
|
-
def self.call(klass)
|
|
10
|
-
klass.class_eval do
|
|
11
|
-
extend ClassMethods
|
|
12
|
-
|
|
13
|
-
register_email
|
|
14
|
-
register_channel
|
|
15
|
-
register_sms
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
module ClassMethods
|
|
20
|
-
def register_email
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def register_channel
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
def register_sms
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
|
|
32
|
-
# object_klass = begin
|
|
33
|
-
# object_klass_for(:deliverer)
|
|
34
|
-
# rescue NameError
|
|
35
|
-
# nil
|
|
36
|
-
# end
|