ossy 0.3.6 → 0.4.0

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: 74639ce2e390175ebd451c8fd4e5b494fa5f1c0b5ba5a8598e66da250cdd6064
4
- data.tar.gz: f0f30fc062453390d88d1c52a59ea520a0e69aee93a7f4e7af09d4c2b28b50b2
3
+ metadata.gz: b27a8531602c04573b2508782ebd73da5527b0f42a8ede22198fb43eaf311c45
4
+ data.tar.gz: 67bdf754ffac3008a4c9ca22ec5f9f0ccd96a6db7400d1ee6fbad1f4458d09f4
5
5
  SHA512:
6
- metadata.gz: '078db68eae01b1f72979613816848a21ef39819733452f2280225e5b5d5f2f15a4ebd9a1620d3ab2635b46186ca4b477adf852068ba1710c81f6bd7c59cb4faa'
7
- data.tar.gz: '08ecedaa6783c81948233c7ada3caa4234e7dee3cdc18ede0d63a93c628bca797c889304f29324be0c7d8e71731acdd8fa91127d845399c91092c914ca442cfe'
6
+ metadata.gz: 35578fc5dd5b7725a6d2bf97df85ee3c731c1af8011d1b7637dd2ad7c9540480f782a48d00a7736999e5ba5f73b29b0ff05a9f31bd9338c7e43c50c6bc659132
7
+ data.tar.gz: 1e57e21768030f7731c9d61aa67b23ef30e5d26b34e6fa427169438b346daade5968b56546fd5d14228aae08c4c81c8da3e26d0e597789c6a8750454f71cbb25
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.4.0 2022-11-23
2
+
3
+ ### Changed
4
+
5
+ - Migrate to 1.0 of dry-system and its deps (@flash-gordon)
6
+
1
7
  ## 0.2.0 2021-01-02
2
8
 
3
9
  ### Added
@@ -42,4 +48,3 @@ The first public release!
42
48
  - `ossy changelogs` - commands for updating `CHANGELOG` files automatically based on a YAML config
43
49
  - `ossy configs` - commands for merging YAML configs
44
50
  - `ossy templates` - commands for compiling `erb` templates
45
-
@@ -5,6 +5,7 @@ require "ossy/import"
5
5
  require "ossy/release"
6
6
 
7
7
  require "yaml"
8
+ require "date"
8
9
 
9
10
  module Ossy
10
11
  module CLI
@@ -1,7 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "dry/system"
3
4
  require "dry/system/container"
4
- require "dry/system/components"
5
+ require "dry/system/provider_sources"
5
6
 
6
7
  require "ossy/types"
7
8
 
@@ -12,15 +13,18 @@ module Ossy
12
13
  configure do |config|
13
14
  config.root = Pathname(__dir__).join("../../")
14
15
  config.name = :ossy
15
- config.default_namespace = "ossy"
16
+
17
+ config.component_dirs.add "lib" do |dir|
18
+ dir.namespaces.add "ossy", key: nil
19
+ end
16
20
  end
17
21
 
18
- load_paths! "lib"
22
+ add_to_load_path! "lib"
19
23
 
20
- boot(:settings, from: :system) do
24
+ register_provider(:settings, from: :dry_system) do
21
25
  settings do
22
- key :github_login, Types::String.constrained(filled: true)
23
- key :github_token, Types::String.constrained(filled: true)
26
+ setting :github_login, constructor: Types::String.constrained(filled: true)
27
+ setting :github_token, constructor: Types::String.constrained(filled: true)
24
28
  end
25
29
  end
26
30
  end
data/lib/ossy/import.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "ossy/container"
3
+ require "ossy"
4
4
 
5
5
  module Ossy
6
6
  Import = Container.injector
data/lib/ossy/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ossy
4
- VERSION = "0.3.6"
4
+ VERSION = "0.4.0"
5
5
  end
data/lib/ossy.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require "ossy/version"
4
+ require "ossy/container"
4
5
 
5
6
  module Ossy
6
7
  end
metadata CHANGED
@@ -1,137 +1,113 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ossy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-10 00:00:00.000000000 Z
11
+ date: 2022-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: dry-cli
14
+ name: dry-core
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.5'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 0.5.1
19
+ version: '1.0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0.5'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 0.5.1
26
+ version: '1.0'
33
27
  - !ruby/object:Gem::Dependency
34
- name: dry-inflector
28
+ name: dry-cli
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: '0.1'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 0.1.2
33
+ version: '1.0'
43
34
  type: :runtime
44
35
  prerelease: false
45
36
  version_requirements: !ruby/object:Gem::Requirement
46
37
  requirements:
47
38
  - - "~>"
48
39
  - !ruby/object:Gem::Version
49
- version: '0.1'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 0.1.2
40
+ version: '1.0'
53
41
  - !ruby/object:Gem::Dependency
54
- name: dry-struct
42
+ name: dry-inflector
55
43
  requirement: !ruby/object:Gem::Requirement
56
44
  requirements:
57
45
  - - "~>"
58
46
  - !ruby/object:Gem::Version
59
- version: '1.2'
47
+ version: '1.0'
60
48
  type: :runtime
61
49
  prerelease: false
62
50
  version_requirements: !ruby/object:Gem::Requirement
63
51
  requirements:
64
52
  - - "~>"
65
53
  - !ruby/object:Gem::Version
66
- version: '1.2'
54
+ version: '1.0'
67
55
  - !ruby/object:Gem::Dependency
68
- name: dry-container
56
+ name: dry-struct
69
57
  requirement: !ruby/object:Gem::Requirement
70
58
  requirements:
71
59
  - - "~>"
72
60
  - !ruby/object:Gem::Version
73
- version: '0.8'
74
- - - "<="
75
- - !ruby/object:Gem::Version
76
- version: '0.8'
61
+ version: '1.6'
77
62
  type: :runtime
78
63
  prerelease: false
79
64
  version_requirements: !ruby/object:Gem::Requirement
80
65
  requirements:
81
66
  - - "~>"
82
67
  - !ruby/object:Gem::Version
83
- version: '0.8'
84
- - - "<="
85
- - !ruby/object:Gem::Version
86
- version: '0.8'
68
+ version: '1.6'
87
69
  - !ruby/object:Gem::Dependency
88
70
  name: dry-configurable
89
71
  requirement: !ruby/object:Gem::Requirement
90
72
  requirements:
91
73
  - - "~>"
92
74
  - !ruby/object:Gem::Version
93
- version: '0.12'
94
- - - "<"
95
- - !ruby/object:Gem::Version
96
- version: '0.13'
75
+ version: '1.0'
97
76
  type: :runtime
98
77
  prerelease: false
99
78
  version_requirements: !ruby/object:Gem::Requirement
100
79
  requirements:
101
80
  - - "~>"
102
81
  - !ruby/object:Gem::Version
103
- version: '0.12'
104
- - - "<"
105
- - !ruby/object:Gem::Version
106
- version: '0.13'
82
+ version: '1.0'
107
83
  - !ruby/object:Gem::Dependency
108
84
  name: dry-system
109
85
  requirement: !ruby/object:Gem::Requirement
110
86
  requirements:
111
87
  - - "~>"
112
88
  - !ruby/object:Gem::Version
113
- version: 0.18.1
89
+ version: '1.0'
114
90
  type: :runtime
115
91
  prerelease: false
116
92
  version_requirements: !ruby/object:Gem::Requirement
117
93
  requirements:
118
94
  - - "~>"
119
95
  - !ruby/object:Gem::Version
120
- version: 0.18.1
96
+ version: '1.0'
121
97
  - !ruby/object:Gem::Dependency
122
98
  name: dry-types
123
99
  requirement: !ruby/object:Gem::Requirement
124
100
  requirements:
125
101
  - - "~>"
126
102
  - !ruby/object:Gem::Version
127
- version: '1.2'
103
+ version: '1.6'
128
104
  type: :runtime
129
105
  prerelease: false
130
106
  version_requirements: !ruby/object:Gem::Requirement
131
107
  requirements:
132
108
  - - "~>"
133
109
  - !ruby/object:Gem::Version
134
- version: '1.2'
110
+ version: '1.6'
135
111
  - !ruby/object:Gem::Dependency
136
112
  name: faraday
137
113
  requirement: !ruby/object:Gem::Requirement
@@ -280,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
280
256
  - !ruby/object:Gem::Version
281
257
  version: '0'
282
258
  requirements: []
283
- rubygems_version: 3.2.32
259
+ rubygems_version: 3.3.7
284
260
  signing_key:
285
261
  specification_version: 4
286
262
  summary: Ossy is your ruby gem maintenance helper