apartment_acme_client 0.0.9 → 0.0.11

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
2
  SHA256:
3
- metadata.gz: dd7e6fd930746c0d1ce79c1ce53afd41fa260f60a81d1084a0b70e259271890f
4
- data.tar.gz: 652fb7364669509d3cb69197ca7153dac72a32ac26fe5547ea4fea2189180d92
3
+ metadata.gz: 3f9e57aaef18da58ad65373961200a1e7b5911d46c94b229b4b789a81f3f0e00
4
+ data.tar.gz: 15c12eab69d219283d0e98463eb85921f7ad03667fd3812ae583fefd2fac3890
5
5
  SHA512:
6
- metadata.gz: 484bad00efe61c93a503a0643c6e728bea9e8c038a288e89a20b6ca34803618e57bbc7595f115c247d4b552cf04e56981c9a3bc86d9e0f0c5544a8ad6386c2d8
7
- data.tar.gz: 3b007853fd3a3df54f277b135aa601a293d5e083399c58a0aa3c9cd1d9c0658761499c3a6d1c44421bd1c0ffda798c727bb9e5bb928df9631e5f286fe2826127
6
+ metadata.gz: 71f33305be55e6b1dfeeea055b6be4b58e14107665cfdf7bf3fe3e7786464ca5eaa7a96a5eb86e695eea86bc5e3d245dfb332c797af75c362ff2b13402479a18
7
+ data.tar.gz: 89077cbca9761beb4a5ae3a1b0d61f29af4e47af68768cc904d8d0c5411fc195e7958dcf5e932bb608f292ea174731664db4395fd9845ebc5f10c8f015699228
data/README.md CHANGED
@@ -285,9 +285,28 @@ e.g. [whenever](https://github.com/javan/whenever)
285
285
  ----------------------------------------------------------------------
286
286
  ## Development
287
287
 
288
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
288
+ ### Docker (recommended)
289
+
290
+ This gem has its own Docker environment so it can be developed in isolation from any host Ruby installation or parent project.
291
+
292
+ ```bash
293
+ # From the apartment_acme_client/ directory:
294
+ docker-compose build # once, or when Dockerfile changes
295
+ docker-compose run --rm app bundle install # first time, or after Gemfile changes
296
+ docker-compose run --rm app bundle exec rake spec # run tests
297
+ docker-compose run --rm app bundle exec rake install # build and install gem locally
298
+ ```
299
+
300
+ Installed gems are cached in a named Docker volume (`gem_cache`) so `bundle install` only re-runs when dependencies change.
289
301
 
290
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
302
+ ### Releasing a new version
303
+
304
+ 1. Update the version number in `lib/apartment_acme_client/version.rb`
305
+ 2. Run `bundle exec rake release` **on the host** (not inside Docker) — it needs your RubyGems credentials (`~/.gem/credentials`) and git SSH access to push the tag and publish the gem.
306
+
307
+ ### Without Docker
308
+
309
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
291
310
 
292
311
  ## Contributing
293
312
 
@@ -2,7 +2,7 @@ module ApartmentAcmeClient
2
2
  module AcmeClient
3
3
  class Proxy
4
4
  def self.singleton(options = {})
5
- base_class.new(options)
5
+ base_class.new(**options)
6
6
  end
7
7
 
8
8
  def self.base_class
@@ -1,3 +1,3 @@
1
1
  module ApartmentAcmeClient
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: apartment_acme_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin Dunlop
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-11-05 00:00:00.000000000 Z
11
+ date: 2026-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 4.1.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '8'
22
+ version: '9'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 4.1.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8'
32
+ version: '9'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: acme-client
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -72,20 +72,6 @@ dependencies:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
74
  version: '1'
75
- - !ruby/object:Gem::Dependency
76
- name: bundler
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: 2.1.4
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: 2.1.4
89
75
  - !ruby/object:Gem::Dependency
90
76
  name: pry
91
77
  requirement: !ruby/object:Gem::Requirement
@@ -231,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
231
217
  - !ruby/object:Gem::Version
232
218
  version: '0'
233
219
  requirements: []
234
- rubygems_version: 3.1.6
220
+ rubygems_version: 3.4.19
235
221
  signing_key:
236
222
  specification_version: 4
237
223
  summary: Let's Encrypt interface for Multi-tenancy applications (like Apartment)