bounded_context 0.24.0 → 0.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: f7589ee42842e22f0e164dccb30ccc043544d003
4
- data.tar.gz: 6b803560c3831602344bdaece439ce19af2bdaf6
2
+ SHA256:
3
+ metadata.gz: 1a84234309f098c3e1197b7d918777be0f280ed88d03f52a23578725048f8c06
4
+ data.tar.gz: d7ee94fdd9e96dd9945692c803556d549cf4b1d5801afcb665e062c7521e1926
5
5
  SHA512:
6
- metadata.gz: 50a0e7058b738c5fb960e496954d716771e7fbd1983eab53a6d3868813bbc0a168d360e80a7ad437345be3083eed4e5c01e6a0be3a6ef97642c7cef5ece90077
7
- data.tar.gz: 0ddcc322409f10b904337ea958c8ba48421a598a496fb050fd85be1b2566b312df551a67b42f2bff46b61ef186a691cc7f3a42a9bff71f41dfacdd088e1c0967
6
+ metadata.gz: 720445b97b4cc3474d3cd981f618044af2e56e11fe33022b163e03336f9f55a8083e3d2cbd67152ad9f19967644dbb0ea1b78c2f89bd4cd232bdcae47df463ec
7
+ data.tar.gz: 34f7ca6fd600ce04044edd5e8194a2b5a7ac6048caf19b0d23feaaba21a9bf89cd6cefd3c459622fefc88545771ac00dd4d5c8c1e3caa2a20b911976463308fa
data/Makefile CHANGED
@@ -1,24 +1,37 @@
1
- GEM_VERSION = `cat ../RES_VERSION`
1
+ GEM_VERSION = $(shell cat ../RES_VERSION)
2
+ GEM_NAME = bounded_context
3
+ REQUIRE = $(GEM_NAME)
4
+ IGNORE =
5
+ SUBJECT ?= BoundedContext*
2
6
 
3
7
  install: ## Install gem dependencies
4
8
  @echo "Installing gem dependencies"
5
9
  @bundle install
6
10
 
7
- test: ## Run tests
8
- @echo "Running basic tests - beware: this won't guarantee build pass"
11
+ test: ## Run unit tests
12
+ @echo "Running unit tests"
9
13
  @bundle exec rspec
10
14
 
11
- mutate: test ## Run mutation tests
12
- @echo "Running mutation tests - only 100% free mutation will be accepted"
13
- @bundle exec mutant --include lib --require bounded_context --use rspec "BoundedContext*"
15
+ mutate: test ## Run mutation tests
16
+ @echo "Running mutation tests"
17
+ @bundle exec mutant --include lib \
18
+ $(addprefix --require ,$(REQUIRE)) \
19
+ $(addprefix --ignore-subject ,$(IGNORE)) \
20
+ --use rspec "$(SUBJECT)"
14
21
 
15
22
  build:
16
- @gem build -V bounded_context.gemspec
23
+ @echo "Building gem package"
24
+ @gem build -V $(GEM_NAME).gemspec
17
25
  @mkdir -p pkg/
18
- @mv bounded_context-$(GEM_VERSION).gem pkg/
26
+ @mv $(GEM_NAME)-$(GEM_VERSION).gem pkg/
19
27
 
20
- release: build
21
- @gem push pkg/bounded_context-$(GEM_VERSION).gem
28
+ push:
29
+ @echo "Pushing package to RubyGems"
30
+ @gem push pkg/$(GEM_NAME)-$(GEM_VERSION).gem
31
+
32
+ clean:
33
+ @echo "Removing previously built package"
34
+ -rm pkg/$(GEM_NAME)-$(GEM_VERSION).gem
22
35
 
23
36
  help:
24
37
  @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@@ -1,3 +1,3 @@
1
1
  module BoundedContext
2
- VERSION = "0.24.0"
2
+ VERSION = "0.25.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bounded_context
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.25.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arkency
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-24 00:00:00.000000000 Z
11
+ date: 2018-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -121,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  version: '0'
122
122
  requirements: []
123
123
  rubyforge_project:
124
- rubygems_version: 2.6.13
124
+ rubygems_version: 2.7.5
125
125
  signing_key:
126
126
  specification_version: 4
127
127
  summary: Generate opinionated component structure.