tena_dcms 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: fba23d3d535dfb4e9cba4dbbafe82bbd163ddf62cc0ee4d26e2cd324378a6938
4
+ data.tar.gz: 3c6c5978624da34ce8946a1a835f38af459b3e29766b3bdca87ba55c6bdf54c1
5
+ SHA512:
6
+ metadata.gz: 2d914cadd1ef44782e245b9695e04672444f594fa5990f0d1bc7cc518137f170f14ca365482af687cf09548806685ceee36909397ff7b47d731c1c77835d65f1
7
+ data.tar.gz: 40674865ff9dd00f6e321fba4b1061f291bf338f1557e8076ff8008acaa3f294abb8c1a70d3c7541156846869efa62396387436efcca73a7c4e59924dc22e9f5
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright Asrat
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # TenaDcms
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem "tena_dcms"
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install tena_dcms
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/setup'
4
+
5
+ APP_RAKEFILE = File.expand_path('spec/dummy/Rakefile', __dir__)
6
+ load 'rails/tasks/engine.rake'
7
+
8
+ load 'rails/tasks/statistics.rake'
9
+
10
+ require 'bundler/gem_tasks'
File without changes
@@ -0,0 +1,77 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TenaDcms
4
+ module Common
5
+ extend ActiveSupport::Concern
6
+
7
+ included do
8
+ before_action :set_clazz
9
+ before_action :set_object, only: %i[show update destroy]
10
+ end
11
+
12
+ def index
13
+ data = if block_given?
14
+ yield
15
+ else
16
+ @clazz.all
17
+ end
18
+ render json: { success: true, data: serialize(data) }
19
+ end
20
+
21
+ def show
22
+ render json: { success: true, data: serialize(@obj) }
23
+ end
24
+
25
+ def create
26
+ obj = if block_given?
27
+ yield
28
+ else
29
+ @clazz.new(model_params)
30
+ end
31
+ if obj.save
32
+ render json: { success: true, data: serialize(obj) }, status: :created
33
+ else
34
+ render json: { success: false, error: obj.errors.full_messages[0] }, status: :unprocessable_entity
35
+ end
36
+ rescue StandardError => e
37
+ render json: { success: false, error: e.message }
38
+ end
39
+
40
+ def update
41
+ if block_given?
42
+ yield
43
+ else
44
+ obj = @obj
45
+ end
46
+ if obj.update(model_params)
47
+ render json: { success: true, data: serialize(obj) }, status: :ok
48
+ else
49
+ render json: { error: obj.errors, success: false }, status: :unprocessable_entity
50
+ end
51
+ rescue StandardError => e
52
+ render json: { success: false, error: e.message }
53
+ end
54
+
55
+ def destroy
56
+ @obj.destroy
57
+ end
58
+
59
+ private
60
+
61
+ def serialize(data)
62
+ ActiveModelSerializers::SerializableResource.new(data)
63
+ end
64
+
65
+ def set_clazz
66
+ @clazz = controller_name.classify.constantize
67
+ end
68
+
69
+ def set_object
70
+ @obj = @clazz.find(params[:id])
71
+ end
72
+
73
+ # override by the child controllers
74
+ def model_params
75
+ end
76
+ end
77
+ end
@@ -0,0 +1,6 @@
1
+ module TenaDcms
2
+ class Appointment < ApplicationRecord
3
+ belongs_to :doctor
4
+ belongs_to :patient
5
+ end
6
+ end
@@ -0,0 +1,4 @@
1
+ module TenaDcms
2
+ class Doctor < ApplicationRecord
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module TenaDcms
2
+ class Invoice < ApplicationRecord
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module TenaDcms
2
+ class Lab < ApplicationRecord
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module TenaDcms
2
+ class LabTechnician < ApplicationRecord
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module TenaDcms
2
+ class LabTest < ApplicationRecord
3
+ belongs_to :lab_technician
4
+ belongs_to :patient
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module TenaDcms
2
+ class Patient < ApplicationRecord
3
+ belongs_to :doctor
4
+ end
5
+ end
@@ -0,0 +1,6 @@
1
+ module TenaDcms
2
+ class Payment < ApplicationRecord
3
+ belongs_to :patient
4
+ belongs_to :doctor
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ module TenaDcms
2
+ class Prescription < ApplicationRecord
3
+ belongs_to :doctor
4
+ belongs_to :patient
5
+ end
6
+ end
@@ -0,0 +1,25 @@
1
+ # SQLite. Versions 3.8.0 and up are supported.
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem "sqlite3"
6
+ #
7
+ default: &default
8
+ adapter: sqlite3
9
+ pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
10
+ timeout: 5000
11
+
12
+ development:
13
+ <<: *default
14
+ database: storage/development.sqlite3
15
+
16
+ # Warning: The database defined as "test" will be erased and
17
+ # re-generated from your development database when you run "rake".
18
+ # Do not set this db to the same as development or production.
19
+ test:
20
+ <<: *default
21
+ database: storage/test.sqlite3
22
+
23
+ production:
24
+ <<: *default
25
+ database: storage/production.sqlite3
data/config/routes.rb ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ Rails.application.routes.draw do
4
+ end
@@ -0,0 +1,11 @@
1
+ class CreateTenaDcmsDoctors < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_doctors do |t|
4
+ t.string :name
5
+ t.string :phone_number
6
+ t.string :email
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,17 @@
1
+ class CreateTenaDcmsPatients < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_patients do |t|
4
+ t.string :first_name
5
+ t.string :last_name
6
+ t.string :mobile_number
7
+ t.string :email
8
+ t.string :gender
9
+ t.references :doctor,
10
+ null: false,
11
+ index: { name: 'doctor_on_ccpoitm_indx' },
12
+ foreign_key: { to_table: :tena_dcms_doctors }
13
+
14
+ t.timestamps
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,19 @@
1
+ class CreateTenaDcmsAppointments < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_appointments do |t|
4
+ t.date :date
5
+ t.integer :status
6
+ t.string :remarks
7
+ t.references :doctor,
8
+ null: false,
9
+ index: { name: 'doctor_on_app_indx' },
10
+ foreign_key: { to_table: :tena_dcms_doctors }
11
+ t.references :patient,
12
+ null: false,
13
+ index: { name: 'patient_on_app_indx' },
14
+ foreign_key: { to_table: :tena_dcms_patients }
15
+
16
+ t.timestamps
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,19 @@
1
+ class CreateTenaDcmsPayments < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_payments do |t|
4
+ t.integer :sub_total
5
+ t.integer :gross_total
6
+ t.integer :deposit_type
7
+ t.references :doctor,
8
+ null: false,
9
+ index: { name: 'doctor_on_payments_indx' },
10
+ foreign_key: { to_table: :tena_dcms_doctors }
11
+ t.references :patient,
12
+ null: false,
13
+ index: { name: 'patient_on_payments_indx' },
14
+ foreign_key: { to_table: :tena_dcms_patients }
15
+
16
+ t.timestamps
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,11 @@
1
+ class CreateTenaDcmsInvoices < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_invoices do |t|
4
+ t.date :generated_on, default: Date.today
5
+ t.float :total_price
6
+ t.integer :service_type
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,19 @@
1
+ class CreateTenaDcmsPrescriptions < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_prescriptions do |t|
4
+ t.date :date, default: Date.today
5
+ t.string :doctor_note
6
+ t.string :drug_information
7
+ t.references :doctor,
8
+ null: false,
9
+ index: { name: 'doctor_on_ps_indx' },
10
+ foreign_key: { to_table: :tena_dcms_doctors }
11
+ t.references :patient,
12
+ null: false,
13
+ index: { name: 'patient_on_ps_indx' },
14
+ foreign_key: { to_table: :tena_dcms_patients }
15
+
16
+ t.timestamps
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,10 @@
1
+ class CreateTenaDcmsLabs < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_labs do |t|
4
+ t.string :name
5
+ t.string :location
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ class CreateTenaDcmsLabTechnicians < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_lab_technicians do |t|
4
+ t.string :name
5
+ t.string :contact_info
6
+
7
+ t.timestamps
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,19 @@
1
+ class CreateTenaDcmsLabTests < ActiveRecord::Migration[7.1]
2
+ def change
3
+ create_table :tena_dcms_lab_tests do |t|
4
+ t.date :date, default: Date.today
5
+ t.string :result
6
+ t.string :status
7
+ t.references :lab_technician,
8
+ null: true,
9
+ index: { name: 'lab_technician_on_lt_indx' },
10
+ foreign_key: { to_table: :tena_dcms_lab_technicians }
11
+ t.references :patient,
12
+ null: false,
13
+ index: { name: 'patient_on_lt_indx' },
14
+ foreign_key: { to_table: :tena_dcms_patients }
15
+
16
+ t.timestamps
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ # desc "Explaining what the task does"
4
+ # task :tena_dcms do
5
+ # # Task goes here
6
+ # end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TenaDcms
4
+ class Engine < ::Rails::Engine
5
+ isolate_namespace TenaDcms
6
+ config.generators.api_only = true
7
+
8
+ config.generators do |g|
9
+ g.test_framework :rspec, routing_specs: false
10
+ g.fixture_replacement :factory_bot
11
+ g.factory_bot dir: 'spec/factories'
12
+ end
13
+
14
+ initializer 'tenaDcms.factories', after: 'factory_bot.set_factory_paths' do
15
+ FactoryBot.definition_file_paths << File.expand_path('../../../spec/factories', __dir__) if defined?(FactoryBot)
16
+ end
17
+
18
+ initializer :append_migrations do |app|
19
+ unless app.root.to_s.match(root.to_s + File::SEPARATOR)
20
+ app.config.paths['db/migrate'].concat(config.paths['db/migrate'].expanded)
21
+ end
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TenaDcms
4
+ VERSION = '0.1.0'
5
+ end
data/lib/tena_dcms.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'tena_dcms/version'
4
+ require 'tena_dcms/engine'
5
+
6
+ module TenaDcms
7
+ # Your code goes here...
8
+ end
metadata ADDED
@@ -0,0 +1,347 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tena_dcms
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Asrat
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: active_model_serializers
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: ancestry
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 4.1.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 4.1.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: bcrypt
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.1'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.1'
55
+ - !ruby/object:Gem::Dependency
56
+ name: httparty
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: image_processing
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.12'
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: 1.12.2
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '1.12'
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: 1.12.2
89
+ - !ruby/object:Gem::Dependency
90
+ name: jwt
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '2.7'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '2.7'
103
+ - !ruby/object:Gem::Dependency
104
+ name: noticed
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '1.6'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '1.6'
117
+ - !ruby/object:Gem::Dependency
118
+ name: rails
119
+ requirement: !ruby/object:Gem::Requirement
120
+ requirements:
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: 7.1.0
124
+ type: :runtime
125
+ prerelease: false
126
+ version_requirements: !ruby/object:Gem::Requirement
127
+ requirements:
128
+ - - "~>"
129
+ - !ruby/object:Gem::Version
130
+ version: 7.1.0
131
+ - !ruby/object:Gem::Dependency
132
+ name: ransack
133
+ requirement: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ type: :runtime
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - ">="
143
+ - !ruby/object:Gem::Version
144
+ version: '0'
145
+ - !ruby/object:Gem::Dependency
146
+ name: sqlite3
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - "~>"
150
+ - !ruby/object:Gem::Version
151
+ version: '1.4'
152
+ type: :runtime
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - "~>"
157
+ - !ruby/object:Gem::Version
158
+ version: '1.4'
159
+ - !ruby/object:Gem::Dependency
160
+ name: database_cleaner-active_record
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: '0'
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ - !ruby/object:Gem::Dependency
174
+ name: factory_bot_rails
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: '0'
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: '0'
187
+ - !ruby/object:Gem::Dependency
188
+ name: faker
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: '0'
201
+ - !ruby/object:Gem::Dependency
202
+ name: letter_opener
203
+ requirement: !ruby/object:Gem::Requirement
204
+ requirements:
205
+ - - ">="
206
+ - !ruby/object:Gem::Version
207
+ version: '0'
208
+ type: :development
209
+ prerelease: false
210
+ version_requirements: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ - !ruby/object:Gem::Dependency
216
+ name: rspec-rails
217
+ requirement: !ruby/object:Gem::Requirement
218
+ requirements:
219
+ - - ">="
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
222
+ type: :development
223
+ prerelease: false
224
+ version_requirements: !ruby/object:Gem::Requirement
225
+ requirements:
226
+ - - ">="
227
+ - !ruby/object:Gem::Version
228
+ version: '0'
229
+ - !ruby/object:Gem::Dependency
230
+ name: rspec-retry
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :development
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
243
+ - !ruby/object:Gem::Dependency
244
+ name: rubocop-rspec
245
+ requirement: !ruby/object:Gem::Requirement
246
+ requirements:
247
+ - - ">="
248
+ - !ruby/object:Gem::Version
249
+ version: '0'
250
+ type: :development
251
+ prerelease: false
252
+ version_requirements: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ - !ruby/object:Gem::Dependency
258
+ name: shoulda-matchers
259
+ requirement: !ruby/object:Gem::Requirement
260
+ requirements:
261
+ - - ">="
262
+ - !ruby/object:Gem::Version
263
+ version: '0'
264
+ type: :development
265
+ prerelease: false
266
+ version_requirements: !ruby/object:Gem::Requirement
267
+ requirements:
268
+ - - ">="
269
+ - !ruby/object:Gem::Version
270
+ version: '0'
271
+ - !ruby/object:Gem::Dependency
272
+ name: simplecov
273
+ requirement: !ruby/object:Gem::Requirement
274
+ requirements:
275
+ - - ">="
276
+ - !ruby/object:Gem::Version
277
+ version: '0'
278
+ type: :development
279
+ prerelease: false
280
+ version_requirements: !ruby/object:Gem::Requirement
281
+ requirements:
282
+ - - ">="
283
+ - !ruby/object:Gem::Version
284
+ version: '0'
285
+ description: Model and Endpoints for TENA DCMS
286
+ email:
287
+ - asratextras77@gmail.com
288
+ executables: []
289
+ extensions: []
290
+ extra_rdoc_files: []
291
+ files:
292
+ - MIT-LICENSE
293
+ - README.md
294
+ - Rakefile
295
+ - app/assets/config/tena_dcms_manifest.js
296
+ - app/controllers/concerns/tena_dcms/common.rb
297
+ - app/models/tena_dcms/appointment.rb
298
+ - app/models/tena_dcms/doctor.rb
299
+ - app/models/tena_dcms/invoice.rb
300
+ - app/models/tena_dcms/lab.rb
301
+ - app/models/tena_dcms/lab_technician.rb
302
+ - app/models/tena_dcms/lab_test.rb
303
+ - app/models/tena_dcms/patient.rb
304
+ - app/models/tena_dcms/payment.rb
305
+ - app/models/tena_dcms/prescription.rb
306
+ - config/database.yml
307
+ - config/routes.rb
308
+ - db/migrate/20240730092710_create_tena_dcms_doctors.rb
309
+ - db/migrate/20240730094151_create_tena_dcms_patients.rb
310
+ - db/migrate/20240730102950_create_tena_dcms_appointments.rb
311
+ - db/migrate/20240730113855_create_tena_dcms_payments.rb
312
+ - db/migrate/20240730114356_create_tena_dcms_invoices.rb
313
+ - db/migrate/20240730115006_create_tena_dcms_prescriptions.rb
314
+ - db/migrate/20240730115615_create_tena_dcms_labs.rb
315
+ - db/migrate/20240730115825_create_tena_dcms_lab_technicians.rb
316
+ - db/migrate/20240730120209_create_tena_dcms_lab_tests.rb
317
+ - lib/tasks/tena_dcms_tasks.rake
318
+ - lib/tena_dcms.rb
319
+ - lib/tena_dcms/engine.rb
320
+ - lib/tena_dcms/version.rb
321
+ homepage: https://www.tena.com
322
+ licenses:
323
+ - MIT
324
+ metadata:
325
+ homepage_uri: https://www.tena.com
326
+ source_code_uri: https://github.com/Asrat77/DCMS-TENA.git
327
+ changelog_uri: https://github.com/Asrat77/DCMS-TENA.git
328
+ post_install_message:
329
+ rdoc_options: []
330
+ require_paths:
331
+ - lib
332
+ required_ruby_version: !ruby/object:Gem::Requirement
333
+ requirements:
334
+ - - ">="
335
+ - !ruby/object:Gem::Version
336
+ version: '3.1'
337
+ required_rubygems_version: !ruby/object:Gem::Requirement
338
+ requirements:
339
+ - - ">="
340
+ - !ruby/object:Gem::Version
341
+ version: '0'
342
+ requirements: []
343
+ rubygems_version: 3.3.7
344
+ signing_key:
345
+ specification_version: 4
346
+ summary: An engine for TENA DCMS
347
+ test_files: []