lite-command 3.3.2 → 3.3.3

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: 7ddf464933c6c70c435161b35081de273dc92efbfe85ea788511c1fea45b92f3
4
- data.tar.gz: f0b9bacde8531c0a3fdcb80b05bb26c727c4b8113586e6ee030203db6c95d435
3
+ metadata.gz: b6a5bf6c4295f3db5079e09bacf781b0e9733632a3f29eda27cbe4b8bbad70d1
4
+ data.tar.gz: 5b76736114e481183ece5306b15b5b65aee8f4b7475183c41ec162728d48b3eb
5
5
  SHA512:
6
- metadata.gz: 955cd767b498d035a3057f390bd9924a4ab147008b35e48889258a109833e47749721694c4ed74e084f7a16ceebafe40ba7cf12e63072b44b288f74623987e52
7
- data.tar.gz: 807e8d23f8c6f4933bc5e94204794de6c8e2972d0a5228138bcdad644c43f8ac07bfb1aa448d62574c44cbcd2435a254fd4707b4e354be52586aab7a441e42fb
6
+ metadata.gz: c3ae9d6b677e3738b8cd71a88c9e6b2240d2c61068ea6aa0af3b84db675426df33e6b0cc954b204626255d4c8c7a8edfd5d2f72858200e6cfd0594d8a8dc0c3f
7
+ data.tar.gz: f56a661c40a41d19596546c4372e34ae4215e05d3d6e594d007e10df11ea6b200492db9315f9295dfd0f671d9e417bea6bfff078cdb4e8a84d23cbc277d83d92
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [3.3.3] - 2024-11-25
10
+ ### Changed
11
+ - Skip freezing in test environments so it doesnt interfere with stubbing
12
+
9
13
  ## [3.3.2] - 2024-11-08
10
14
  ### Changed
11
15
  - Fixed issue where commands didnt delegate to private methods
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-command (3.3.2)
4
+ lite-command (3.3.3)
5
5
  activemodel
6
6
  ostruct
7
7
 
@@ -59,14 +59,14 @@ GEM
59
59
  irb (1.14.1)
60
60
  rdoc (>= 4.0.0)
61
61
  reline (>= 0.4.2)
62
- json (2.8.1)
62
+ json (2.8.2)
63
63
  language_server-protocol (3.17.0.3)
64
64
  logger (1.6.1)
65
65
  loofah (2.23.1)
66
66
  crass (~> 1.0.2)
67
67
  nokogiri (>= 1.12.0)
68
- mini_portile2 (2.8.7)
69
- minitest (5.25.1)
68
+ mini_portile2 (2.8.8)
69
+ minitest (5.25.2)
70
70
  nokogiri (1.16.7)
71
71
  mini_portile2 (~> 2.8.2)
72
72
  racc (~> 1.4)
@@ -83,7 +83,7 @@ GEM
83
83
  rack (>= 3.0.0)
84
84
  rack-test (2.1.0)
85
85
  rack (>= 1.3)
86
- rackup (2.2.0)
86
+ rackup (2.2.1)
87
87
  rack (>= 3)
88
88
  rails-dom-testing (2.2.0)
89
89
  activesupport (>= 5.0.0)
@@ -102,7 +102,7 @@ GEM
102
102
  zeitwerk (~> 2.6)
103
103
  rainbow (3.1.1)
104
104
  rake (13.2.1)
105
- rdoc (6.7.0)
105
+ rdoc (6.8.1)
106
106
  psych (>= 4.0.0)
107
107
  regexp_parser (2.9.2)
108
108
  reline (0.5.11)
@@ -130,9 +130,9 @@ GEM
130
130
  rubocop-ast (>= 1.32.2, < 2.0)
131
131
  ruby-progressbar (~> 1.7)
132
132
  unicode-display_width (>= 2.4.0, < 3.0)
133
- rubocop-ast (1.34.1)
133
+ rubocop-ast (1.36.1)
134
134
  parser (>= 3.3.1.0)
135
- rubocop-performance (1.22.1)
135
+ rubocop-performance (1.23.0)
136
136
  rubocop (>= 1.48.1, < 2.0)
137
137
  rubocop-ast (>= 1.31.1, < 2.0)
138
138
  rubocop-rake (0.6.0)
@@ -140,15 +140,15 @@ GEM
140
140
  rubocop-rspec (3.2.0)
141
141
  rubocop (~> 1.61)
142
142
  ruby-progressbar (1.13.0)
143
- securerandom (0.3.1)
144
- sqlite3 (2.2.0)
143
+ securerandom (0.3.2)
144
+ sqlite3 (2.3.0)
145
145
  mini_portile2 (~> 2.8.0)
146
146
  stringio (3.1.2)
147
147
  thor (1.3.2)
148
148
  tzinfo (2.0.6)
149
149
  concurrent-ruby (~> 1.0)
150
150
  unicode-display_width (2.6.0)
151
- uri (1.0.1)
151
+ uri (1.0.2)
152
152
  useragent (0.16.10)
153
153
  zeitwerk (2.7.1)
154
154
 
@@ -40,6 +40,8 @@ module Lite
40
40
  end
41
41
 
42
42
  def freeze_execution_objects
43
+ return if (ENV.fetch("RAILS_ENV", nil) || ENV.fetch("RACK_ENV", nil)) == "test"
44
+
43
45
  context.freeze if index == 1
44
46
  freeze
45
47
  end
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Command
5
5
 
6
- VERSION = "3.3.2"
6
+ VERSION = "3.3.3"
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lite-command
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.2
4
+ version: 3.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-08 00:00:00.000000000 Z
11
+ date: 2024-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -229,7 +229,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
- rubygems_version: 3.5.22
232
+ rubygems_version: 3.5.23
233
233
  signing_key:
234
234
  specification_version: 4
235
235
  summary: Ruby Command based framework (aka service objects)