ossy 0.3.7 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/ossy/container.rb +10 -6
- data/lib/ossy/import.rb +1 -1
- data/lib/ossy/version.rb +1 -1
- data/lib/ossy.rb +1 -0
- metadata +14 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b27a8531602c04573b2508782ebd73da5527b0f42a8ede22198fb43eaf311c45
|
4
|
+
data.tar.gz: 67bdf754ffac3008a4c9ca22ec5f9f0ccd96a6db7400d1ee6fbad1f4458d09f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
data/lib/ossy/container.rb
CHANGED
@@ -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/
|
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
|
-
|
16
|
+
|
17
|
+
config.component_dirs.add "lib" do |dir|
|
18
|
+
dir.namespaces.add "ossy", key: nil
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
|
-
|
22
|
+
add_to_load_path! "lib"
|
19
23
|
|
20
|
-
|
24
|
+
register_provider(:settings, from: :dry_system) do
|
21
25
|
settings do
|
22
|
-
|
23
|
-
|
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
data/lib/ossy/version.rb
CHANGED
data/lib/ossy.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ossy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
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-
|
11
|
+
date: 2022-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-core
|
@@ -16,148 +16,89 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: '0.9'
|
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
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0.9'
|
26
|
+
version: '1.0'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
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
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 0.5.1
|
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
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 0.5.1
|
40
|
+
version: '1.0'
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
42
|
name: dry-inflector
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
56
44
|
requirements:
|
57
45
|
- - "~>"
|
58
46
|
- !ruby/object:Gem::Version
|
59
|
-
version: '0
|
60
|
-
- - ">="
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: 0.1.2
|
47
|
+
version: '1.0'
|
63
48
|
type: :runtime
|
64
49
|
prerelease: false
|
65
50
|
version_requirements: !ruby/object:Gem::Requirement
|
66
51
|
requirements:
|
67
52
|
- - "~>"
|
68
53
|
- !ruby/object:Gem::Version
|
69
|
-
version: '0
|
70
|
-
- - ">="
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
version: 0.1.2
|
54
|
+
version: '1.0'
|
73
55
|
- !ruby/object:Gem::Dependency
|
74
56
|
name: dry-struct
|
75
57
|
requirement: !ruby/object:Gem::Requirement
|
76
58
|
requirements:
|
77
59
|
- - "~>"
|
78
60
|
- !ruby/object:Gem::Version
|
79
|
-
version: '1.
|
80
|
-
- - "<="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.4'
|
83
|
-
type: :runtime
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.2'
|
90
|
-
- - "<="
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
version: '1.4'
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: dry-container
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '0.8'
|
100
|
-
- - "<="
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.8'
|
61
|
+
version: '1.6'
|
103
62
|
type: :runtime
|
104
63
|
prerelease: false
|
105
64
|
version_requirements: !ruby/object:Gem::Requirement
|
106
65
|
requirements:
|
107
66
|
- - "~>"
|
108
67
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
110
|
-
- - "<="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '0.8'
|
68
|
+
version: '1.6'
|
113
69
|
- !ruby/object:Gem::Dependency
|
114
70
|
name: dry-configurable
|
115
71
|
requirement: !ruby/object:Gem::Requirement
|
116
72
|
requirements:
|
117
73
|
- - "~>"
|
118
74
|
- !ruby/object:Gem::Version
|
119
|
-
version: '0
|
120
|
-
- - "<"
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '0.13'
|
75
|
+
version: '1.0'
|
123
76
|
type: :runtime
|
124
77
|
prerelease: false
|
125
78
|
version_requirements: !ruby/object:Gem::Requirement
|
126
79
|
requirements:
|
127
80
|
- - "~>"
|
128
81
|
- !ruby/object:Gem::Version
|
129
|
-
version: '0
|
130
|
-
- - "<"
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: '0.13'
|
82
|
+
version: '1.0'
|
133
83
|
- !ruby/object:Gem::Dependency
|
134
84
|
name: dry-system
|
135
85
|
requirement: !ruby/object:Gem::Requirement
|
136
86
|
requirements:
|
137
87
|
- - "~>"
|
138
88
|
- !ruby/object:Gem::Version
|
139
|
-
version: 0
|
140
|
-
- - "<"
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: '0.19'
|
89
|
+
version: '1.0'
|
143
90
|
type: :runtime
|
144
91
|
prerelease: false
|
145
92
|
version_requirements: !ruby/object:Gem::Requirement
|
146
93
|
requirements:
|
147
94
|
- - "~>"
|
148
95
|
- !ruby/object:Gem::Version
|
149
|
-
version: 0
|
150
|
-
- - "<"
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0.19'
|
96
|
+
version: '1.0'
|
153
97
|
- !ruby/object:Gem::Dependency
|
154
98
|
name: dry-types
|
155
99
|
requirement: !ruby/object:Gem::Requirement
|
156
100
|
requirements:
|
157
101
|
- - "~>"
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '1.2'
|
160
|
-
- - "<"
|
161
102
|
- !ruby/object:Gem::Version
|
162
103
|
version: '1.6'
|
163
104
|
type: :runtime
|
@@ -165,9 +106,6 @@ dependencies:
|
|
165
106
|
version_requirements: !ruby/object:Gem::Requirement
|
166
107
|
requirements:
|
167
108
|
- - "~>"
|
168
|
-
- !ruby/object:Gem::Version
|
169
|
-
version: '1.2'
|
170
|
-
- - "<"
|
171
109
|
- !ruby/object:Gem::Version
|
172
110
|
version: '1.6'
|
173
111
|
- !ruby/object:Gem::Dependency
|