screengem 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +13 -0
- data/lib/screengem/cli.rb +4 -7
- data/lib/screengem/concerns/dampenable.rb +9 -0
- data/lib/screengem/version.rb +1 -1
- data/screengem.gemspec +19 -13
- metadata +16 -25
- /data/{bin → exe}/screengem +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cd749e9d769dc9f60bd7f25b4e5a5d1ef571f7e677b8899e60186b5fec6c351
|
4
|
+
data.tar.gz: 229544036b8cb8fca593981f91f82915a22488ec16fcdf0d2d81604e3330fda2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ede6cabff701aa9e0834bd0a430efa9d16b9b9b82fdfb427314e9e00fd5266e4f6955ad99632d336bdbf718f3739dd2ebdbdeb707119a3a0dda6b4fdd7df0bf
|
7
|
+
data.tar.gz: 3514009fa5061cc2f231c0a2cfff897277d3844d67bc1f051de85d6bce1d01426eac30793c739cf36be5fd9aec32c1da8e79bbeb6177a1930dc57fb88a4611dc
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.3
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Change log
|
2
|
+
|
3
|
+
## master (unreleased)
|
4
|
+
|
5
|
+
## 0.2.0 (2019-03-12)
|
6
|
+
|
7
|
+
### New features
|
8
|
+
|
9
|
+
* Added the `dampen_for` class macro for questions and tasks
|
10
|
+
|
11
|
+
### Bug fixes
|
12
|
+
|
13
|
+
* Expose the `screengem generate` command for creating dampening configurations
|
data/lib/screengem/cli.rb
CHANGED
@@ -3,18 +3,15 @@ require "thor"
|
|
3
3
|
|
4
4
|
module Screengem
|
5
5
|
class CLI < Thor
|
6
|
-
option :root
|
7
|
-
option :config, default: "dampen_configuration.yml"
|
8
|
-
option :
|
9
|
-
option :tasks, default: "tasks"
|
10
|
-
option :quiet, default: false
|
6
|
+
option :root, desc: "The directory to start scanning for Tasks and Questions"
|
7
|
+
option :config, default: "dampen_configuration.yml", desc: "The name of the dampen configuration file"
|
8
|
+
option :quiet, default: false, desc: "Suppress command output"
|
11
9
|
desc "generate", "Create the sample dampening configuration"
|
12
10
|
def generate
|
13
11
|
root = options[:root]
|
14
12
|
|
15
13
|
# Require all questions and tasks for inclusion in the sample configuration.
|
16
|
-
require_all
|
17
|
-
require_all File.join(root, options[:tasks])
|
14
|
+
require_all root
|
18
15
|
|
19
16
|
Screengem.configure do |config|
|
20
17
|
config.dampen_configuration_filename = File.join(root, options[:config])
|
data/lib/screengem/version.rb
CHANGED
data/screengem.gemspec
CHANGED
@@ -3,22 +3,29 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
require "screengem/version"
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
|
-
spec.name
|
7
|
-
spec.version
|
8
|
-
spec.authors
|
9
|
-
spec.email
|
6
|
+
spec.name = "screengem"
|
7
|
+
spec.version = Screengem::VERSION
|
8
|
+
spec.authors = ["Alistair McKinnell"]
|
9
|
+
spec.email = ["alistairm@nulogy.com"]
|
10
10
|
|
11
|
-
spec.summary
|
12
|
-
spec.homepage
|
13
|
-
spec.license
|
11
|
+
spec.summary = "Ruby implementation of the Screengem Pattern."
|
12
|
+
spec.homepage = "https://github.com/nulogy/screengem"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.metadata = {
|
16
|
+
"homepage_uri" => "https://github.com/nulogy/screengem",
|
17
|
+
"changelog_uri" => "https://github.com/nulogy/screengem/blob/master/CHANGELOG.md",
|
18
|
+
"source_code_uri" => "https://github.com/nulogy/screengem",
|
19
|
+
"bug_tracker_uri" => "https://github.com/nulogy/screengem/issues"
|
20
|
+
}
|
14
21
|
|
15
22
|
# Specify which files should be added to the gem when it is released.
|
16
23
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
17
|
-
spec.files
|
24
|
+
spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
|
18
25
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
26
|
end
|
20
|
-
spec.bindir
|
21
|
-
spec.executables
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
29
|
spec.require_paths = ["lib"]
|
23
30
|
|
24
31
|
spec.add_runtime_dependency "activesupport", ">= 4.2", "< 6.0"
|
@@ -26,9 +33,8 @@ Gem::Specification.new do |spec|
|
|
26
33
|
spec.add_runtime_dependency "require_all", "~> 2.0"
|
27
34
|
spec.add_runtime_dependency "thor", "~> 0.20"
|
28
35
|
|
29
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
30
36
|
spec.add_development_dependency "rake", "~> 12.0"
|
31
37
|
spec.add_development_dependency "rspec", "~> 3.8"
|
32
|
-
spec.add_development_dependency "rubocop", "~> 0.
|
33
|
-
spec.add_development_dependency "rubocop-rspec", "~> 1.
|
38
|
+
spec.add_development_dependency "rubocop", "~> 0.64"
|
39
|
+
spec.add_development_dependency "rubocop-rspec", "~> 1.32"
|
34
40
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: screengem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alistair McKinnell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -78,20 +78,6 @@ dependencies:
|
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
80
|
version: '0.20'
|
81
|
-
- !ruby/object:Gem::Dependency
|
82
|
-
name: bundler
|
83
|
-
requirement: !ruby/object:Gem::Requirement
|
84
|
-
requirements:
|
85
|
-
- - "~>"
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
version: '1.16'
|
88
|
-
type: :development
|
89
|
-
prerelease: false
|
90
|
-
version_requirements: !ruby/object:Gem::Requirement
|
91
|
-
requirements:
|
92
|
-
- - "~>"
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
version: '1.16'
|
95
81
|
- !ruby/object:Gem::Dependency
|
96
82
|
name: rake
|
97
83
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,32 +112,33 @@ dependencies:
|
|
126
112
|
requirements:
|
127
113
|
- - "~>"
|
128
114
|
- !ruby/object:Gem::Version
|
129
|
-
version: '0.
|
115
|
+
version: '0.64'
|
130
116
|
type: :development
|
131
117
|
prerelease: false
|
132
118
|
version_requirements: !ruby/object:Gem::Requirement
|
133
119
|
requirements:
|
134
120
|
- - "~>"
|
135
121
|
- !ruby/object:Gem::Version
|
136
|
-
version: '0.
|
122
|
+
version: '0.64'
|
137
123
|
- !ruby/object:Gem::Dependency
|
138
124
|
name: rubocop-rspec
|
139
125
|
requirement: !ruby/object:Gem::Requirement
|
140
126
|
requirements:
|
141
127
|
- - "~>"
|
142
128
|
- !ruby/object:Gem::Version
|
143
|
-
version: '1.
|
129
|
+
version: '1.32'
|
144
130
|
type: :development
|
145
131
|
prerelease: false
|
146
132
|
version_requirements: !ruby/object:Gem::Requirement
|
147
133
|
requirements:
|
148
134
|
- - "~>"
|
149
135
|
- !ruby/object:Gem::Version
|
150
|
-
version: '1.
|
136
|
+
version: '1.32'
|
151
137
|
description:
|
152
138
|
email:
|
153
139
|
- alistairm@nulogy.com
|
154
|
-
executables:
|
140
|
+
executables:
|
141
|
+
- screengem
|
155
142
|
extensions: []
|
156
143
|
extra_rdoc_files: []
|
157
144
|
files:
|
@@ -161,14 +148,15 @@ files:
|
|
161
148
|
- ".rubocop.yml"
|
162
149
|
- ".ruby-version"
|
163
150
|
- ".travis.yml"
|
151
|
+
- CHANGELOG.md
|
164
152
|
- CODE_OF_CONDUCT.md
|
165
153
|
- Gemfile
|
166
154
|
- LICENSE.txt
|
167
155
|
- README.md
|
168
156
|
- Rakefile
|
169
157
|
- bin/console
|
170
|
-
- bin/screengem
|
171
158
|
- bin/setup
|
159
|
+
- exe/screengem
|
172
160
|
- images/ScreengemCore.png
|
173
161
|
- lib/screengem.rb
|
174
162
|
- lib/screengem/action.rb
|
@@ -201,7 +189,11 @@ files:
|
|
201
189
|
homepage: https://github.com/nulogy/screengem
|
202
190
|
licenses:
|
203
191
|
- MIT
|
204
|
-
metadata:
|
192
|
+
metadata:
|
193
|
+
homepage_uri: https://github.com/nulogy/screengem
|
194
|
+
changelog_uri: https://github.com/nulogy/screengem/blob/master/CHANGELOG.md
|
195
|
+
source_code_uri: https://github.com/nulogy/screengem
|
196
|
+
bug_tracker_uri: https://github.com/nulogy/screengem/issues
|
205
197
|
post_install_message:
|
206
198
|
rdoc_options: []
|
207
199
|
require_paths:
|
@@ -217,8 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
209
|
- !ruby/object:Gem::Version
|
218
210
|
version: '0'
|
219
211
|
requirements: []
|
220
|
-
|
221
|
-
rubygems_version: 2.7.7
|
212
|
+
rubygems_version: 3.0.3
|
222
213
|
signing_key:
|
223
214
|
specification_version: 4
|
224
215
|
summary: Ruby implementation of the Screengem Pattern.
|
/data/{bin → exe}/screengem
RENAMED
File without changes
|