action_commander 1.0.14 → 1.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/CHANGELOG.md +20 -10
- data/Gemfile +2 -1
- data/README.md +2 -0
- data/lib/action_commander.rb +2 -2
- data/lib/action_commander/action.rb +3 -3
- data/lib/action_commander/named_callbacks.rb +3 -3
- data/lib/action_commander/version.rb +3 -3
- metadata +53 -11
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MTVkMjZhMzkwZjUyNGE3ZGRmNDBiZmIwODU2YzhlZWFkYWVjNjExMA==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 60edcc32384587da110715bc1827d172cf1f4a8a
|
4
|
+
data.tar.gz: b7885bd03fce742841d66b9e42620b8ea4d3e693
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
ZmQ1N2Q4NzViNmQxYTEwNGE2NDU3MzlmZDQzYjIyM2ViYTczOGEwNTJlZjlj
|
11
|
-
OWY1YzYwZjZmNzUyMDAzN2EwYzRkNmExYzdiNDQ2OGMzNDM1ODU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
ZDk5MGIxODczYTBjMWExZjgyMjk0YWE3YmJjNDAwNjVkZTQ3ODU0MTZkNGM5
|
14
|
-
NjYxM2MzNzllZDdmZDhkMDY2OWE5ODhhNWQ4MmRlMTRmMmNjZTE2MjJhYTU5
|
15
|
-
YzVhNGZkM2FmOWE4NjMxZGRjNDNhMjY1NDVkNDJlMjM5YzczODQ=
|
6
|
+
metadata.gz: bcb0d1a332bc9cce3127c538266725f32251f9e2777f69395545cabf988f33deb9a5f341e4aaab81dd8dee39bda3b18c0fe5f949c6f3f2edca8327ead94608e1
|
7
|
+
data.tar.gz: 67b3c5afe7d39d66852e7b9ef29982149ae2f3413d8c9df3a2350f2ef30788eac595c853d718cf95b438456652b97e0e1e960d96354fe8e4e05839ff660d8e12
|
data/CHANGELOG.md
CHANGED
@@ -1,39 +1,49 @@
|
|
1
|
-
|
1
|
+
### 1.0.16 (2017.04.07)
|
2
|
+
|
3
|
+
* fix rakefile
|
4
|
+
|
5
|
+
### 1.0.15 (2017.04.07)
|
6
|
+
|
7
|
+
* travis integration
|
8
|
+
* license update
|
9
|
+
* cleanup
|
10
|
+
|
11
|
+
### 1.0.14 (2015.07.17)
|
2
12
|
|
3
13
|
* docker ref
|
4
14
|
|
5
|
-
|
15
|
+
### 1.0.13 (2015.06.23)
|
6
16
|
|
7
17
|
* cleaning dockerfile
|
8
18
|
|
9
|
-
|
19
|
+
### 1.0.12 (2015.06.22)
|
10
20
|
|
11
21
|
* dockerfiles update
|
12
22
|
|
13
|
-
|
23
|
+
### 1.0.10 to 1.0.11 (2015.03.18)
|
14
24
|
|
15
25
|
* texts fixes
|
16
26
|
|
17
|
-
|
27
|
+
### 1.0.9 (2015.03.06)
|
18
28
|
|
19
29
|
* dockerflow update
|
20
30
|
|
21
|
-
|
31
|
+
### 1.0.8 (2015.02.16)
|
22
32
|
|
23
33
|
* license update
|
24
34
|
|
25
|
-
|
35
|
+
### 1.0.3 to 1.0.7 (2015.02.16)
|
26
36
|
|
27
37
|
* update documentation, versions
|
28
38
|
|
29
|
-
|
39
|
+
### 1.0.2 (2015.02.16)
|
30
40
|
|
31
41
|
* update documentation
|
32
42
|
|
33
|
-
|
43
|
+
### 1.0.1 (2015.02.15)
|
34
44
|
|
35
45
|
* some cleanup
|
36
46
|
|
37
|
-
|
47
|
+
### 1.0.0 (2015.02.15)
|
38
48
|
|
39
49
|
* publication of the code
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
# ActionCommander
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/action_commander.svg)](http://badge.fury.io/rb/action_commander)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/skopciewski/action_commander/badges/gpa.svg)](https://codeclimate.com/github/skopciewski/action_commander)
|
5
|
+
[![Dependency Status](https://gemnasium.com/badges/github.com/skopciewski/action_commander.svg)](https://gemnasium.com/github.com/skopciewski/action_commander)
|
4
6
|
|
5
7
|
Solution based on the [jimweirich/wyriki][jww].
|
6
8
|
This pattern is useful, when you need to separate an interface from a business logic.
|
data/lib/action_commander.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2015 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2015, 2016, 2017 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of ActionCommander.
|
6
6
|
#
|
@@ -17,7 +17,7 @@
|
|
17
17
|
# You should have received a copy of the GNU General Public License
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
|
20
|
-
require
|
20
|
+
require"action_commander/named_callbacks"
|
21
21
|
|
22
22
|
module ActionCommander
|
23
23
|
class Action
|
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2015 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2015, 2016, 2017 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of ActionCommander.
|
6
6
|
#
|
@@ -23,7 +23,7 @@ module ActionCommander
|
|
23
23
|
@callbacks = {}
|
24
24
|
end
|
25
25
|
|
26
|
-
def method_missing(sym, *
|
26
|
+
def method_missing(sym, *_args, &block)
|
27
27
|
@callbacks[sym] = block
|
28
28
|
end
|
29
29
|
|
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
# Copyright (C) 2015 Szymon Kopciewski
|
3
|
+
# Copyright (C) 2015, 2016, 2017 Szymon Kopciewski
|
4
4
|
#
|
5
5
|
# This file is part of ActionCommander.
|
6
6
|
#
|
@@ -18,5 +18,5 @@
|
|
18
18
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
19
19
|
|
20
20
|
module ActionCommander
|
21
|
-
VERSION =
|
21
|
+
VERSION = "1.0.16"
|
22
22
|
end
|
metadata
CHANGED
@@ -1,55 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: action_commander
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Szymon Kopciewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
42
|
name: rspec
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
|
-
- -
|
45
|
+
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
47
|
version: '0'
|
34
48
|
type: :development
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
|
-
- -
|
52
|
+
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
54
|
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: rspec-given
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: codeclimate-test-reporter
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
46
88
|
- !ruby/object:Gem::Version
|
47
89
|
version: '0'
|
48
90
|
type: :development
|
49
91
|
prerelease: false
|
50
92
|
version_requirements: !ruby/object:Gem::Requirement
|
51
93
|
requirements:
|
52
|
-
- -
|
94
|
+
- - ">="
|
53
95
|
- !ruby/object:Gem::Version
|
54
96
|
version: '0'
|
55
97
|
description: The action template with the callbacks support
|
@@ -76,17 +118,17 @@ require_paths:
|
|
76
118
|
- lib
|
77
119
|
required_ruby_version: !ruby/object:Gem::Requirement
|
78
120
|
requirements:
|
79
|
-
- -
|
121
|
+
- - ">="
|
80
122
|
- !ruby/object:Gem::Version
|
81
123
|
version: '0'
|
82
124
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
83
125
|
requirements:
|
84
|
-
- -
|
126
|
+
- - ">="
|
85
127
|
- !ruby/object:Gem::Version
|
86
128
|
version: '0'
|
87
129
|
requirements: []
|
88
130
|
rubyforge_project:
|
89
|
-
rubygems_version: 2.
|
131
|
+
rubygems_version: 2.4.8
|
90
132
|
signing_key:
|
91
133
|
specification_version: 4
|
92
134
|
summary: The action template with the callbacks support
|