mu-result 2.0.0 → 2.2.1

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: cefbbdd3cd2778148ca8d47bc1c7d9a0591e6ccb5b01572cb8a0475354da4926
4
- data.tar.gz: '07589ff8a6d498b88aba6d7010a6fed1cc9535fd586a88af25d9df43c67e8d28'
3
+ metadata.gz: eb693bcfba8568df7a33f1062b0b908ad9cd879fe8b7d16cc5e74177c213ea8d
4
+ data.tar.gz: 345a258cb9e98f431bff5040d96f73c6b12803cb013c45c90883c685750f5ee0
5
5
  SHA512:
6
- metadata.gz: 7a5e149c679f5c5d585d2b8d40a9fa159dca6c25ce56f316e537cf456d3e1fef3ca613c1066a2d1e66822c3538c312d53052de83b5fcecb52513c38d16b5b782
7
- data.tar.gz: 63740d6bb546ca508cb81422401e733b707c0881ac0ff4de439455b4eb2182bc6d29dab58b9d0bbeba1da7c78c3d6c591750c2ba291a549a5615e8fb41c8b1eb
6
+ metadata.gz: e9c23c70b274680656e6d648bff73585e2daf0393781da78100b350f08c4c9b409886deba07dcb565d46ef3c4893cb76ba86e1792f8df7f5298e65c701ea603d
7
+ data.tar.gz: b4d9d1d45024b5ec8b68e2bc434b2f3746e6fdbcfded80af7071463ae921607a6463c91a3088609a61929ebd3214ed2e9d59898015e0721d310012e0aa773a2b
data/Gemfile.lock CHANGED
@@ -1,35 +1,35 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mu-result (2.0.0)
4
+ mu-result (2.1.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- diff-lcs (1.3)
10
- rake (10.5.0)
11
- rspec (3.8.0)
12
- rspec-core (~> 3.8.0)
13
- rspec-expectations (~> 3.8.0)
14
- rspec-mocks (~> 3.8.0)
15
- rspec-core (3.8.0)
16
- rspec-support (~> 3.8.0)
17
- rspec-expectations (3.8.2)
9
+ diff-lcs (1.4.4)
10
+ rake (13.0.3)
11
+ rspec (3.10.0)
12
+ rspec-core (~> 3.10.0)
13
+ rspec-expectations (~> 3.10.0)
14
+ rspec-mocks (~> 3.10.0)
15
+ rspec-core (3.10.1)
16
+ rspec-support (~> 3.10.0)
17
+ rspec-expectations (3.10.1)
18
18
  diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.8.0)
20
- rspec-mocks (3.8.0)
19
+ rspec-support (~> 3.10.0)
20
+ rspec-mocks (3.10.2)
21
21
  diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.8.0)
23
- rspec-support (3.8.0)
22
+ rspec-support (~> 3.10.0)
23
+ rspec-support (3.10.2)
24
24
 
25
25
  PLATFORMS
26
26
  ruby
27
27
 
28
28
  DEPENDENCIES
29
- bundler (~> 1.16)
29
+ bundler (~> 2.2)
30
30
  mu-result!
31
- rake (~> 10.0)
31
+ rake (~> 13.0)
32
32
  rspec (~> 3.0)
33
33
 
34
34
  BUNDLED WITH
35
- 1.17.3
35
+ 2.2.15
@@ -38,7 +38,14 @@ module Mu
38
38
 
39
39
  return data[symbol]
40
40
  end
41
+
42
+ def to_hash
43
+ {
44
+ code: code,
45
+ data: data,
46
+ }
47
+ end
41
48
  end
42
49
 
43
50
  end
44
- end
51
+ end
@@ -1,5 +1,5 @@
1
1
  module Mu
2
2
  module Result
3
- VERSION = '2.0.0'
3
+ VERSION = '2.2.1'
4
4
  end
5
5
  end
data/mu-result.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
 
13
13
  spec.summary = %q{μResult is a small Result object}
14
14
  spec.description = %q{μ as in micro}
15
- spec.homepage = 'https://source.olisti.co/olistik/mu-result'
15
+ spec.homepage = 'https://github.com/olistik/mu-result'
16
16
 
17
17
  # Specify which files should be added to the gem when it is released.
18
18
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
24
  spec.require_paths = ['lib']
25
25
 
26
- spec.add_development_dependency 'bundler', '~> 1.16'
27
- spec.add_development_dependency 'rake', '~> 10.0'
26
+ spec.add_development_dependency 'bundler', '~> 2.2'
27
+ spec.add_development_dependency 'rake', '~> 13.0'
28
28
  spec.add_development_dependency 'rspec', '~> 3.0'
29
29
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mu-result
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - olistik
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
11
+ date: 2021-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.16'
19
+ version: '2.2'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.16'
26
+ version: '2.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -74,11 +74,11 @@ files:
74
74
  - lib/mu/result/base_result.rb
75
75
  - lib/mu/result/version.rb
76
76
  - mu-result.gemspec
77
- homepage: https://source.olisti.co/olistik/mu-result
77
+ homepage: https://github.com/olistik/mu-result
78
78
  licenses:
79
79
  - AGPL-3.0
80
80
  metadata: {}
81
- post_install_message:
81
+ post_install_message:
82
82
  rdoc_options: []
83
83
  require_paths:
84
84
  - lib
@@ -93,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
93
  - !ruby/object:Gem::Version
94
94
  version: '0'
95
95
  requirements: []
96
- rubygems_version: 3.0.6
97
- signing_key:
96
+ rubygems_version: 3.2.22
97
+ signing_key:
98
98
  specification_version: 4
99
99
  summary: μResult is a small Result object
100
100
  test_files: []