silent_bob 0.1.7 → 0.2.4
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 +10 -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: 16ccf1b283e9fe4e761206a27e1a65ca448a9a65617ae17db3e3def1c247c973
|
4
|
+
data.tar.gz: 44e16b133bd9b20e2f756ab89b1049e7ce435a224bd16550688d530704c3ba41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28ed06e593b29df1605c7d7dd0e652e24813f6546914e94738a76c13eb34ac5e4f93c54888c367ae28f49015f4a54e4930204ac0e9213e53e421890e28c0d393
|
7
|
+
data.tar.gz: 2120a7687f604726a488a4a33122337621e8852128577885304b34fdea72d461ce9c7cef20deeb8be4d3e701f4d2031a8cab7045ff44ba9859ba7ab99fc8aa85
|
data/.gitlab-ci.yml
CHANGED
@@ -1,12 +1,20 @@
|
|
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
|
-
- 'mkdir ~/.gem'
|
9
|
-
- 'echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials'
|
17
|
+
- 'mkdir -p ~/.gem && echo -e "---\r\n:rubygems_api_key: $RUBYGEMS_API_KEY" > ~/.gem/credentials'
|
10
18
|
- 'chmod 0600 ~/.gem/credentials'
|
11
19
|
- 'gem build silent_bob'
|
12
20
|
- 'gem push "silent_bob-$(git describe --tags).gem"'
|
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.4
|
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
|