action_messenger 0.1.1 → 0.1.2

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: 5d5a6a977ceab4f388b9a4e196e3744976adec18fa7b26dad0285a5ec75f9f91
4
- data.tar.gz: 1f6d8c6c48cb4738555b590ce1917024d3e364285fb9267548d798c5681b6bb5
3
+ metadata.gz: 3a53547cd9dcb38a62752d2dc06036d95f2519987a6ba73afe0f03aa5df124de
4
+ data.tar.gz: d475b638ec5a4b9fd9514b87a78661778a884d4d8ea4bda9989c6f04582a63d3
5
5
  SHA512:
6
- metadata.gz: 747754bd8611f48faa537f6f63638a9405dc4ac370848cbb76e3795e09fab2f4127ba399c6a231ec2609da907993553fc4d91d99c57d06bb08d4545f098856a2
7
- data.tar.gz: 95c36f648c031dc8d7be88fee706d93e30c3d3cec5b5641844b7986c33a1c13186942093245ce4cd635cc82b5face6e0cdf7131c356162aaac83bfc6749c2e1b
6
+ metadata.gz: 5f470ca57eb1b16d6b3165162c6be17749f2dd22bf0a4275518e49cd0f5675545bcaf45e536c6872b5e9ce2059b647ba89e75f3d8c453fef5d5d07d2753806a2
7
+ data.tar.gz: a0f6f203721a5b83e0fe364f4d018bf51ad1088751862ad11c01f3eb382b5830612211a49dc1a9bc0f15d0036fbd8290d0a0baf47fadf159c7d6e7fb596167a0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- action_messenger (0.1.1)
4
+ action_messenger (0.1.2)
5
5
  actionpack
6
6
  actionview
7
7
  activejob
@@ -11,52 +11,52 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- actionpack (5.2.0)
15
- actionview (= 5.2.0)
16
- activesupport (= 5.2.0)
14
+ actionpack (5.2.2)
15
+ actionview (= 5.2.2)
16
+ activesupport (= 5.2.2)
17
17
  rack (~> 2.0)
18
18
  rack-test (>= 0.6.3)
19
19
  rails-dom-testing (~> 2.0)
20
20
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
21
- actionview (5.2.0)
22
- activesupport (= 5.2.0)
21
+ actionview (5.2.2)
22
+ activesupport (= 5.2.2)
23
23
  builder (~> 3.1)
24
24
  erubi (~> 1.4)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
27
- activejob (5.2.0)
28
- activesupport (= 5.2.0)
27
+ activejob (5.2.2)
28
+ activesupport (= 5.2.2)
29
29
  globalid (>= 0.3.6)
30
- activesupport (5.2.0)
30
+ activesupport (5.2.2)
31
31
  concurrent-ruby (~> 1.0, >= 1.0.2)
32
32
  i18n (>= 0.7, < 2)
33
33
  minitest (~> 5.1)
34
34
  tzinfo (~> 1.1)
35
35
  builder (3.2.3)
36
- concurrent-ruby (1.0.5)
36
+ concurrent-ruby (1.1.4)
37
37
  crass (1.0.4)
38
38
  diff-lcs (1.3)
39
- erubi (1.7.1)
40
- faraday (0.15.2)
39
+ erubi (1.8.0)
40
+ faraday (0.15.4)
41
41
  multipart-post (>= 1.2, < 3)
42
42
  faraday_middleware (0.12.2)
43
43
  faraday (>= 0.7.4, < 1.0)
44
- gli (2.17.1)
44
+ gli (2.18.0)
45
45
  globalid (0.4.1)
46
46
  activesupport (>= 4.2.0)
47
- hashie (3.5.7)
48
- i18n (1.0.1)
47
+ hashie (3.6.0)
48
+ i18n (1.4.0)
49
49
  concurrent-ruby (~> 1.0)
50
- loofah (2.2.2)
50
+ loofah (2.2.3)
51
51
  crass (~> 1.0.2)
52
52
  nokogiri (>= 1.5.9)
53
- mini_portile2 (2.3.0)
53
+ mini_portile2 (2.4.0)
54
54
  minitest (5.11.3)
55
55
  multipart-post (2.0.0)
56
- nokogiri (1.8.4)
57
- mini_portile2 (~> 2.3.0)
58
- rack (2.0.5)
59
- rack-test (1.0.0)
56
+ nokogiri (1.9.1)
57
+ mini_portile2 (~> 2.4.0)
58
+ rack (2.0.6)
59
+ rack-test (1.1.0)
60
60
  rack (>= 1.0, < 3)
61
61
  rails-dom-testing (2.0.3)
62
62
  activesupport (>= 4.2.0)
@@ -64,20 +64,20 @@ GEM
64
64
  rails-html-sanitizer (1.0.4)
65
65
  loofah (~> 2.2, >= 2.2.2)
66
66
  rake (10.5.0)
67
- rspec (3.7.0)
68
- rspec-core (~> 3.7.0)
69
- rspec-expectations (~> 3.7.0)
70
- rspec-mocks (~> 3.7.0)
71
- rspec-core (3.7.1)
72
- rspec-support (~> 3.7.0)
73
- rspec-expectations (3.7.0)
67
+ rspec (3.8.0)
68
+ rspec-core (~> 3.8.0)
69
+ rspec-expectations (~> 3.8.0)
70
+ rspec-mocks (~> 3.8.0)
71
+ rspec-core (3.8.0)
72
+ rspec-support (~> 3.8.0)
73
+ rspec-expectations (3.8.2)
74
74
  diff-lcs (>= 1.2.0, < 2.0)
75
- rspec-support (~> 3.7.0)
76
- rspec-mocks (3.7.0)
75
+ rspec-support (~> 3.8.0)
76
+ rspec-mocks (3.8.0)
77
77
  diff-lcs (>= 1.2.0, < 2.0)
78
- rspec-support (~> 3.7.0)
79
- rspec-support (3.7.1)
80
- slack-ruby-client (0.11.1)
78
+ rspec-support (~> 3.8.0)
79
+ rspec-support (3.8.0)
80
+ slack-ruby-client (0.13.1)
81
81
  activesupport
82
82
  faraday (>= 0.9)
83
83
  faraday_middleware
@@ -101,4 +101,4 @@ DEPENDENCIES
101
101
  rspec (~> 3.0)
102
102
 
103
103
  BUNDLED WITH
104
- 1.16.2
104
+ 1.17.3
@@ -1,3 +1,3 @@
1
1
  module ActionMessenger
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,4 +1,4 @@
1
1
  <% module_namespacing do -%>
2
- class ApplicationMessenger < ApplicationMessenger
2
+ class ApplicationMessenger < ActionMessenger::Base
3
3
  end
4
4
  <% end %>
@@ -1,11 +1,12 @@
1
1
  <% module_namespacing do -%>
2
- class <%= class_name %>Messenger < ActionMessenger::Base
2
+ class <%= class_name %>Messenger < ApplicationMessenger
3
3
  <% actions.each do |action| -%>
4
4
 
5
5
  def <%= action %>
6
6
  @greeting = "Hi"
7
7
  message_to_slack(channel: '#your_channel')
8
8
  end
9
+
9
10
  <% end -%>
10
11
  end
11
- <% end -%>
12
+ <% end -%>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_messenger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - h1kita
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-07-30 00:00:00.000000000 Z
11
+ date: 2019-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler