version_blocks 0.0.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 37bffb3dad36c643362bc7a6838f0244e3fc15bea25136b842df03bd800a2599
4
+ data.tar.gz: 63534abc0d60b0754f92396f7e20cc10aecd2fdba32f6d362c155fd9441d6ef0
5
+ SHA512:
6
+ metadata.gz: 76223028259f50a4019022693a3c9898e0bf2167083584fbf527c013ed631c0f36b9aa2103866384c54ef179b68c14335f86c94f22a54875066b0aaf00414162
7
+ data.tar.gz: 5d8e2a3eccff8d1fdc6f2e5746fe85d98ee42016268f367f2015deb48f994d0c3224cb113234a8f837bac49e7c5ab8db565eb1b4d62c9a2c54840b66437ad1b1
data/CHANGELOG.md ADDED
@@ -0,0 +1,2 @@
1
+ ### 0.0.1 (2026-03-30)
2
+ - init
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,68 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ version_blocks (0.0.1)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ date (3.5.1)
10
+ debug (1.11.1)
11
+ irb (~> 1.10)
12
+ reline (>= 0.3.8)
13
+ diff-lcs (1.6.2)
14
+ docile (1.4.0)
15
+ erb (6.0.1)
16
+ io-console (0.8.2)
17
+ irb (1.16.0)
18
+ pp (>= 0.6.0)
19
+ rdoc (>= 4.0.0)
20
+ reline (>= 0.4.2)
21
+ pp (0.6.3)
22
+ prettyprint
23
+ prettyprint (0.2.0)
24
+ psych (5.3.1)
25
+ date
26
+ stringio
27
+ rdoc (7.0.1)
28
+ erb
29
+ psych (>= 4.0.0)
30
+ tsort
31
+ reline (0.6.3)
32
+ io-console (~> 0.5)
33
+ rspec (3.13.2)
34
+ rspec-core (~> 3.13.0)
35
+ rspec-expectations (~> 3.13.0)
36
+ rspec-mocks (~> 3.13.0)
37
+ rspec-core (3.13.6)
38
+ rspec-support (~> 3.13.0)
39
+ rspec-debugging (0.0.4)
40
+ rspec-expectations (>= 3)
41
+ rspec-expectations (3.13.5)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.13.0)
44
+ rspec-mocks (3.13.6)
45
+ diff-lcs (>= 1.2.0, < 2.0)
46
+ rspec-support (~> 3.13.0)
47
+ rspec-support (3.13.6)
48
+ simplecov (0.22.0)
49
+ docile (~> 1.1)
50
+ simplecov-html (~> 0.11)
51
+ simplecov_json_formatter (~> 0.1)
52
+ simplecov-html (0.12.3)
53
+ simplecov_json_formatter (0.1.4)
54
+ stringio (3.2.0)
55
+ tsort (0.2.0)
56
+
57
+ PLATFORMS
58
+ ruby
59
+
60
+ DEPENDENCIES
61
+ debug (>= 1)
62
+ rspec (>= 3.10)
63
+ rspec-debugging
64
+ simplecov (>= 0.22)
65
+ version_blocks!
66
+
67
+ BUNDLED WITH
68
+ 2.5.7
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Daniel Pepper
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,24 @@
1
+ VersionBlocks
2
+ ======
3
+ ![Gem](https://img.shields.io/gem/dt/version_blocks?style=plastic)
4
+ [![codecov](https://codecov.io/gh/dpep/version_blocks/branch/main/graph/badge.svg)](https://codecov.io/gh/dpep/version_blocks)
5
+
6
+ ...
7
+
8
+
9
+ ```ruby
10
+ require "version_blocks"
11
+ ```
12
+
13
+
14
+ ----
15
+ ## Contributing
16
+
17
+ Yes please :)
18
+
19
+ 1. Fork it
20
+ 1. Create your feature branch (`git checkout -b my-feature`)
21
+ 1. Ensure the tests pass (`bundle exec rspec`)
22
+ 1. Commit your changes (`git commit -am 'awesome new feature'`)
23
+ 1. Push your branch (`git push origin my-feature`)
24
+ 1. Create a Pull Request
@@ -0,0 +1,3 @@
1
+ module VersionBlocks
2
+ VERSION = Gem.loaded_specs["version_blocks"].version.to_s
3
+ end
@@ -0,0 +1,17 @@
1
+ require "version_blocks/version"
2
+
3
+ module VersionBlocks
4
+ extend self
5
+
6
+ def current_version
7
+ Thread.current[:version_blocks_version]
8
+ end
9
+
10
+ def current_version=(version)
11
+ Thread.current[:version_blocks_version] = version
12
+ end
13
+
14
+ def versions
15
+ []
16
+ end
17
+ end
@@ -0,0 +1,17 @@
1
+ Gem::Specification.new do |s|
2
+ s.authors = ["Daniel Pepper"]
3
+ s.description = "..."
4
+ s.files = `git ls-files * ':!:spec'`.split("\n")
5
+ s.homepage = "https://github.com/dpep/version_blocks"
6
+ s.license = "MIT"
7
+ s.name = File.basename(__FILE__, ".gemspec")
8
+ s.summary = "VersionBlocks"
9
+ s.version = "0.0.1"
10
+
11
+ s.required_ruby_version = ">= 3.2"
12
+
13
+ s.add_development_dependency 'debug', '>= 1'
14
+ s.add_development_dependency 'rspec', '>= 3.10'
15
+ s.add_development_dependency 'rspec-debugging'
16
+ s.add_development_dependency 'simplecov', '>= 0.22'
17
+ end
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: version_blocks
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Daniel Pepper
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: debug
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1'
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - ">="
24
+ - !ruby/object:Gem::Version
25
+ version: '1'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rspec
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: '3.10'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '3.10'
40
+ - !ruby/object:Gem::Dependency
41
+ name: rspec-debugging
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ type: :development
48
+ prerelease: false
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ - !ruby/object:Gem::Dependency
55
+ name: simplecov
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0.22'
61
+ type: :development
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0.22'
68
+ description: "..."
69
+ executables: []
70
+ extensions: []
71
+ extra_rdoc_files: []
72
+ files:
73
+ - CHANGELOG.md
74
+ - Gemfile
75
+ - Gemfile.lock
76
+ - LICENSE.txt
77
+ - README.md
78
+ - lib/version_blocks.rb
79
+ - lib/version_blocks/version.rb
80
+ - version_blocks.gemspec
81
+ homepage: https://github.com/dpep/version_blocks
82
+ licenses:
83
+ - MIT
84
+ metadata: {}
85
+ rdoc_options: []
86
+ require_paths:
87
+ - lib
88
+ required_ruby_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '3.2'
93
+ required_rubygems_version: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ requirements: []
99
+ rubygems_version: 4.0.8
100
+ specification_version: 4
101
+ summary: VersionBlocks
102
+ test_files: []