power_grid 0.1.0 → 0.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 375c1ae59e3f85bc75cc81e1d5a6ff83e721a6aa2889e0e2bfcf7c95036957b0
4
- data.tar.gz: 7f2e36254faba5169556809115868a146b3c4610d4efe68538defef60026bb6a
3
+ metadata.gz: 49ae8e5529e18a9de9cdcbec5d87e1f5343e5dfe4e455ce440161c9f7647916c
4
+ data.tar.gz: 235bd1d01c227fc5fb06d0aa49c8babb48be5b71e387c2cdd89eed245cc845a5
5
5
  SHA512:
6
- metadata.gz: 9de32b37843c0b4a2fc649d35c48bdb8bf55d13c6ecddb989d394b24e325f76caa6b93e6f695d9e2b86af62eeb98db4457b80df027eb4ae66a5487830b33fd1c
7
- data.tar.gz: 49a17f93efe51b4e3a8a4b6f4a46cf0ad1117fb262479af8c77469a0f5cc7f1d0b0a8f4df453224a601fc7088ea7156a1f2639380a610611b85a7c22391e3957
6
+ metadata.gz: 6fc5072d3feb68a862bc21eba89a9cf8e850f35fb4f88fdaf4bb2d08148e344157daab5dc78f6355d8f0b733807648a8e58673bb412e3d5bbc7ba952d8aba145
7
+ data.tar.gz: 76e2486fa433cdd5634d67cadc53596ff5781a0498513a41f805880c0456190d055d2769d18375fa84f845a2ea75a16ba275862e32e8706e1451afeb2893fa64
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['3.0', '3.1', '3.2', '3.3']
14
+ ruby-version: ['3.0', '3.1', '3.2']
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v3
@@ -19,6 +19,17 @@ jobs:
19
19
  uses: ruby/setup-ruby@v1
20
20
  with:
21
21
  ruby-version: ${{ matrix.ruby-version }}
22
- bundler-cache: true # runs 'bundle install' and caches installed gems automatically
22
+ # bundler-cache: true # Disabled to allow fresh resolution on each Ruby version
23
+
24
+ - name: Install dependencies
25
+ run: |
26
+ bundle install
27
+ cd spec/dummy
28
+ bundle install
29
+
23
30
  - name: Run tests
24
- run: bundle exec rspec
31
+ run: |
32
+ cd spec/dummy
33
+ bin/rails db:setup
34
+ cd ../..
35
+ bundle exec rspec
data/.gitignore CHANGED
@@ -7,5 +7,9 @@
7
7
  /spec/reports/
8
8
  /tmp/
9
9
 
10
+ # rspec failure tracking
10
11
  # rspec failure tracking
11
12
  .rspec_status
13
+
14
+ *.gem
15
+ Gemfile.lock
data/CODE_OF_CONDUCT.md CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
55
55
  ## Enforcement
56
56
 
57
57
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
- reported by contacting the project team at bhavin.nandani@rackspace.com. All
58
+ reported by contacting the project team at bhavin.nandani@gmail.com. All
59
59
  complaints will be reviewed and investigated and will result in a response that
60
60
  is deemed necessary and appropriate to the circumstances. The project team is
61
61
  obligated to maintain confidentiality with regard to the reporter of an incident.
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2025 Bhavin Rackspace
3
+ Copyright (c) 2025 Bhavin Nandani
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,3 +1,3 @@
1
1
  module PowerGrid
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/power_grid.gemspec CHANGED
@@ -3,8 +3,8 @@ require_relative 'lib/power_grid/version'
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "power_grid"
5
5
  spec.version = PowerGrid::VERSION
6
- spec.authors = ["Bhavin Rackspace"]
7
- spec.email = ["bhavin.nandani@rackspace.com"]
6
+ spec.authors = ["Bhavin Nandani"]
7
+ spec.email = ["bhavin.nandani@gmail.com"]
8
8
 
9
9
  spec.summary = "A powerful, server-side processed table component for Rails."
10
10
  spec.description = "PowerGrid provides a view component based table with server-side sorting, filtering, and pagination."
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  # Specify which files should be added to the gem when it is released.
22
22
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
23
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
24
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
24
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) || f.end_with?('.gem') }
25
25
  end
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_dependency "turbo-rails", ">= 1.0", "< 3.0"
33
33
  spec.add_dependency "importmap-rails", ">= 1.0", "< 3.0"
34
34
 
35
- spec.add_development_dependency "sqlite3", "~> 1.6"
36
- spec.add_development_dependency "rspec-rails", "~> 5.0"
35
+ spec.add_development_dependency "sqlite3", ">= 1.6", "< 1.7"
36
+ spec.add_development_dependency "rspec-rails", "~> 6.0"
37
37
  spec.add_development_dependency "capybara", "~> 3.0"
38
38
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: power_grid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
- - Bhavin Rackspace
7
+ - Bhavin Nandani
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
@@ -94,30 +94,36 @@ dependencies:
94
94
  name: sqlite3
95
95
  requirement: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - "~>"
97
+ - - ">="
98
98
  - !ruby/object:Gem::Version
99
99
  version: '1.6'
100
+ - - "<"
101
+ - !ruby/object:Gem::Version
102
+ version: '1.7'
100
103
  type: :development
101
104
  prerelease: false
102
105
  version_requirements: !ruby/object:Gem::Requirement
103
106
  requirements:
104
- - - "~>"
107
+ - - ">="
105
108
  - !ruby/object:Gem::Version
106
109
  version: '1.6'
110
+ - - "<"
111
+ - !ruby/object:Gem::Version
112
+ version: '1.7'
107
113
  - !ruby/object:Gem::Dependency
108
114
  name: rspec-rails
109
115
  requirement: !ruby/object:Gem::Requirement
110
116
  requirements:
111
117
  - - "~>"
112
118
  - !ruby/object:Gem::Version
113
- version: '5.0'
119
+ version: '6.0'
114
120
  type: :development
115
121
  prerelease: false
116
122
  version_requirements: !ruby/object:Gem::Requirement
117
123
  requirements:
118
124
  - - "~>"
119
125
  - !ruby/object:Gem::Version
120
- version: '5.0'
126
+ version: '6.0'
121
127
  - !ruby/object:Gem::Dependency
122
128
  name: capybara
123
129
  requirement: !ruby/object:Gem::Requirement
@@ -135,7 +141,7 @@ dependencies:
135
141
  description: PowerGrid provides a view component based table with server-side sorting,
136
142
  filtering, and pagination.
137
143
  email:
138
- - bhavin.nandani@rackspace.com
144
+ - bhavin.nandani@gmail.com
139
145
  executables: []
140
146
  extensions: []
141
147
  extra_rdoc_files: []
@@ -146,7 +152,6 @@ files:
146
152
  - ".travis.yml"
147
153
  - CODE_OF_CONDUCT.md
148
154
  - Gemfile
149
- - Gemfile.lock
150
155
  - LICENSE.txt
151
156
  - README.md
152
157
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,272 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- power_grid (0.1.0)
5
- importmap-rails
6
- rails (>= 6.0)
7
- turbo-rails
8
- view_component
9
-
10
- GEM
11
- remote: https://rubygems.org/
12
- specs:
13
- actioncable (7.1.6)
14
- actionpack (= 7.1.6)
15
- activesupport (= 7.1.6)
16
- nio4r (~> 2.0)
17
- websocket-driver (>= 0.6.1)
18
- zeitwerk (~> 2.6)
19
- actionmailbox (7.1.6)
20
- actionpack (= 7.1.6)
21
- activejob (= 7.1.6)
22
- activerecord (= 7.1.6)
23
- activestorage (= 7.1.6)
24
- activesupport (= 7.1.6)
25
- mail (>= 2.7.1)
26
- net-imap
27
- net-pop
28
- net-smtp
29
- actionmailer (7.1.6)
30
- actionpack (= 7.1.6)
31
- actionview (= 7.1.6)
32
- activejob (= 7.1.6)
33
- activesupport (= 7.1.6)
34
- mail (~> 2.5, >= 2.5.4)
35
- net-imap
36
- net-pop
37
- net-smtp
38
- rails-dom-testing (~> 2.2)
39
- actionpack (7.1.6)
40
- actionview (= 7.1.6)
41
- activesupport (= 7.1.6)
42
- cgi
43
- nokogiri (>= 1.8.5)
44
- racc
45
- rack (>= 2.2.4)
46
- rack-session (>= 1.0.1)
47
- rack-test (>= 0.6.3)
48
- rails-dom-testing (~> 2.2)
49
- rails-html-sanitizer (~> 1.6)
50
- actiontext (7.1.6)
51
- actionpack (= 7.1.6)
52
- activerecord (= 7.1.6)
53
- activestorage (= 7.1.6)
54
- activesupport (= 7.1.6)
55
- globalid (>= 0.6.0)
56
- nokogiri (>= 1.8.5)
57
- actionview (7.1.6)
58
- activesupport (= 7.1.6)
59
- builder (~> 3.1)
60
- cgi
61
- erubi (~> 1.11)
62
- rails-dom-testing (~> 2.2)
63
- rails-html-sanitizer (~> 1.6)
64
- activejob (7.1.6)
65
- activesupport (= 7.1.6)
66
- globalid (>= 0.3.6)
67
- activemodel (7.1.6)
68
- activesupport (= 7.1.6)
69
- activerecord (7.1.6)
70
- activemodel (= 7.1.6)
71
- activesupport (= 7.1.6)
72
- timeout (>= 0.4.0)
73
- activestorage (7.1.6)
74
- actionpack (= 7.1.6)
75
- activejob (= 7.1.6)
76
- activerecord (= 7.1.6)
77
- activesupport (= 7.1.6)
78
- marcel (~> 1.0)
79
- activesupport (7.1.6)
80
- base64
81
- benchmark (>= 0.3)
82
- bigdecimal
83
- concurrent-ruby (~> 1.0, >= 1.0.2)
84
- connection_pool (>= 2.2.5)
85
- drb
86
- i18n (>= 1.6, < 2)
87
- logger (>= 1.4.2)
88
- minitest (>= 5.1)
89
- mutex_m
90
- securerandom (>= 0.3)
91
- tzinfo (~> 2.0)
92
- addressable (2.8.8)
93
- public_suffix (>= 2.0.2, < 8.0)
94
- base64 (0.3.0)
95
- benchmark (0.5.0)
96
- bigdecimal (3.3.1)
97
- builder (3.3.0)
98
- capybara (3.39.2)
99
- addressable
100
- matrix
101
- mini_mime (>= 0.1.3)
102
- nokogiri (~> 1.8)
103
- rack (>= 1.6.0)
104
- rack-test (>= 0.6.3)
105
- regexp_parser (>= 1.5, < 3.0)
106
- xpath (~> 3.2)
107
- cgi (0.5.1)
108
- concurrent-ruby (1.3.5)
109
- connection_pool (2.5.5)
110
- crass (1.0.6)
111
- date (3.5.1)
112
- diff-lcs (1.6.2)
113
- drb (2.2.3)
114
- erb (4.0.4)
115
- cgi (>= 0.3.3)
116
- erubi (1.13.1)
117
- globalid (1.3.0)
118
- activesupport (>= 6.1)
119
- i18n (1.14.7)
120
- concurrent-ruby (~> 1.0)
121
- importmap-rails (2.0.3)
122
- actionpack (>= 6.0.0)
123
- activesupport (>= 6.0.0)
124
- railties (>= 6.0.0)
125
- io-console (0.8.1)
126
- irb (1.15.3)
127
- pp (>= 0.6.0)
128
- rdoc (>= 4.0.0)
129
- reline (>= 0.4.2)
130
- logger (1.7.0)
131
- loofah (2.24.1)
132
- crass (~> 1.0.2)
133
- nokogiri (>= 1.12.0)
134
- mail (2.9.0)
135
- logger
136
- mini_mime (>= 0.1.1)
137
- net-imap
138
- net-pop
139
- net-smtp
140
- marcel (1.1.0)
141
- matrix (0.4.3)
142
- method_source (1.1.0)
143
- mini_mime (1.1.5)
144
- mini_portile2 (2.8.9)
145
- minitest (5.26.1)
146
- mutex_m (0.3.0)
147
- net-imap (0.4.22)
148
- date
149
- net-protocol
150
- net-pop (0.1.2)
151
- net-protocol
152
- net-protocol (0.2.2)
153
- timeout
154
- net-smtp (0.5.1)
155
- net-protocol
156
- nio4r (2.7.5)
157
- nokogiri (1.15.7)
158
- mini_portile2 (~> 2.8.2)
159
- racc (~> 1.4)
160
- pp (0.6.3)
161
- prettyprint
162
- prettyprint (0.2.0)
163
- psych (5.3.0)
164
- date
165
- stringio
166
- public_suffix (5.1.1)
167
- racc (1.8.1)
168
- rack (3.2.4)
169
- rack-session (2.1.1)
170
- base64 (>= 0.1.0)
171
- rack (>= 3.0.0)
172
- rack-test (2.2.0)
173
- rack (>= 1.3)
174
- rackup (2.3.1)
175
- rack (>= 3)
176
- rails (7.1.6)
177
- actioncable (= 7.1.6)
178
- actionmailbox (= 7.1.6)
179
- actionmailer (= 7.1.6)
180
- actionpack (= 7.1.6)
181
- actiontext (= 7.1.6)
182
- actionview (= 7.1.6)
183
- activejob (= 7.1.6)
184
- activemodel (= 7.1.6)
185
- activerecord (= 7.1.6)
186
- activestorage (= 7.1.6)
187
- activesupport (= 7.1.6)
188
- bundler (>= 1.15.0)
189
- railties (= 7.1.6)
190
- rails-dom-testing (2.3.0)
191
- activesupport (>= 5.0.0)
192
- minitest
193
- nokogiri (>= 1.6)
194
- rails-html-sanitizer (1.6.2)
195
- loofah (~> 2.21)
196
- nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
197
- railties (7.1.6)
198
- actionpack (= 7.1.6)
199
- activesupport (= 7.1.6)
200
- cgi
201
- irb
202
- rackup (>= 1.0.0)
203
- rake (>= 12.2)
204
- thor (~> 1.0, >= 1.2.2)
205
- tsort (>= 0.2)
206
- zeitwerk (~> 2.6)
207
- rake (12.3.3)
208
- rdoc (6.17.0)
209
- erb
210
- psych (>= 4.0.0)
211
- tsort
212
- regexp_parser (2.11.3)
213
- reline (0.6.3)
214
- io-console (~> 0.5)
215
- rspec (3.13.2)
216
- rspec-core (~> 3.13.0)
217
- rspec-expectations (~> 3.13.0)
218
- rspec-mocks (~> 3.13.0)
219
- rspec-core (3.13.6)
220
- rspec-support (~> 3.13.0)
221
- rspec-expectations (3.13.5)
222
- diff-lcs (>= 1.2.0, < 2.0)
223
- rspec-support (~> 3.13.0)
224
- rspec-mocks (3.13.7)
225
- diff-lcs (>= 1.2.0, < 2.0)
226
- rspec-support (~> 3.13.0)
227
- rspec-rails (7.1.1)
228
- actionpack (>= 7.0)
229
- activesupport (>= 7.0)
230
- railties (>= 7.0)
231
- rspec-core (~> 3.13)
232
- rspec-expectations (~> 3.13)
233
- rspec-mocks (~> 3.13)
234
- rspec-support (~> 3.13)
235
- rspec-support (3.13.6)
236
- securerandom (0.3.2)
237
- sqlite3 (1.6.9)
238
- mini_portile2 (~> 2.8.0)
239
- stringio (3.1.9)
240
- thor (1.4.0)
241
- timeout (0.5.0)
242
- tsort (0.2.0)
243
- turbo-rails (2.0.12)
244
- actionpack (>= 6.0.0)
245
- railties (>= 6.0.0)
246
- tzinfo (2.0.6)
247
- concurrent-ruby (~> 1.0)
248
- view_component (3.24.0)
249
- activesupport (>= 5.2.0, < 8.2)
250
- concurrent-ruby (~> 1)
251
- method_source (~> 1.0)
252
- websocket-driver (0.8.0)
253
- base64
254
- websocket-extensions (>= 0.1.0)
255
- websocket-extensions (0.1.5)
256
- xpath (3.2.0)
257
- nokogiri (~> 1.8)
258
- zeitwerk (2.6.18)
259
-
260
- PLATFORMS
261
- ruby
262
-
263
- DEPENDENCIES
264
- capybara
265
- power_grid!
266
- rake (~> 12.0)
267
- rspec (~> 3.0)
268
- rspec-rails
269
- sqlite3 (~> 1.6.0)
270
-
271
- BUNDLED WITH
272
- 2.1.4