silent_bob 0.1.9 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +9 -2
- data/.rspec +1 -1
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/silent_bob.rb +0 -1
- data/lib/silent_bob/delivery.rb +1 -1
- data/lib/silent_bob/email_sender.rb +1 -1
- data/lib/silent_bob/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2f02c2941a93861999c265020d2008f2b525f80fdc53b3543852e0d6beb7579
|
4
|
+
data.tar.gz: 69be3d35c0e9774c4d7a6ae408109e3c851f45b7c4d0f14518efa14ade485c85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb4d9e899a38cbae99706313730f496e38da9899c060e8013e6aa3ea272ad36c27c553dc425a11447b4c86fbe50c7fc957b40f5bf8b0c562863b627a67bba87c
|
7
|
+
data.tar.gz: 6701a2233d6e71c6dd23444a7c80d58307a8ccb493e52afe6ab912c3221b1c0fbce99d622869bcde6a03c17f4f42af16810e99f8cce15b33d2e8896db0da2ec9
|
data/.gitlab-ci.yml
CHANGED
@@ -1,14 +1,21 @@
|
|
1
1
|
stages:
|
2
|
+
- test
|
2
3
|
- deploy
|
3
4
|
|
5
|
+
run_rspec:
|
6
|
+
stage: test
|
7
|
+
image: ruby:2.6.4
|
8
|
+
script:
|
9
|
+
- 'gem install bundler --no-document'
|
10
|
+
- 'bundle install'
|
11
|
+
- 'bundle exec rspec'
|
12
|
+
|
4
13
|
publish_gem:
|
5
14
|
stage: deploy
|
6
15
|
image: ruby:2.6.4
|
7
16
|
script:
|
8
17
|
- 'mkdir -p ~/.gem && echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials'
|
9
18
|
- 'chmod 0600 ~/.gem/credentials'
|
10
|
-
- 'echo $RUBYGEMS_API_KEY'
|
11
|
-
- 'cat ~/.gem/credentials'
|
12
19
|
- 'gem build silent_bob'
|
13
20
|
- 'gem push "silent_bob-$(git describe --tags).gem"'
|
14
21
|
allow_failure: true
|
data/.rspec
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -47,7 +47,7 @@ SilentBob::SmsSender.new(to: '78881214455', body: 'sms-text', configuration: con
|
|
47
47
|
To connect `SilentBob` to `ActionMailer`
|
48
48
|
|
49
49
|
```ruby
|
50
|
-
ActionMailer::Base.add_delivery_method :
|
50
|
+
ActionMailer::Base.add_delivery_method :silent_bob_delivery, SilentBob::Delivery
|
51
51
|
```
|
52
52
|
|
53
53
|
In this case `SilentBob::ConfigurationKeeper.default_config` **must be initialized**
|
data/lib/silent_bob.rb
CHANGED
data/lib/silent_bob/delivery.rb
CHANGED
data/lib/silent_bob/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: silent_bob
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Lobanov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|