ish_models 3.0.0.1 → 3.1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +15 -0
  5. data/app/assets/config/ish_models_manifest.js +1 -0
  6. data/app/assets/stylesheets/ish_models/application.css +15 -0
  7. data/app/controllers/ish_models/application_controller.rb +4 -0
  8. data/app/helpers/ish_models/application_helper.rb +4 -0
  9. data/app/jobs/ish_models/application_job.rb +4 -0
  10. data/app/mailers/ish_models/application_mailer.rb +6 -0
  11. data/app/models/ish_models/application_record.rb +5 -0
  12. data/app/views/layouts/ish_models/application.html.erb +15 -0
  13. data/config/routes.rb +2 -0
  14. data/lib/ish_models/engine.rb +5 -0
  15. data/lib/ish_models/version.rb +3 -0
  16. data/lib/ish_models.rb +5 -93
  17. data/lib/tasks/ish_models_tasks.rake +4 -0
  18. data/lib/{office/admin_message.rb → wco/profile.rb} +2 -5
  19. metadata +42 -165
  20. data/lib/address.rb +0 -20
  21. data/lib/feature.rb +0 -32
  22. data/lib/gallery.rb +0 -66
  23. data/lib/gameui/asset3d.rb +0 -33
  24. data/lib/gameui/map.rb +0 -260
  25. data/lib/gameui/map_bookmark.rb +0 -9
  26. data/lib/gameui/marker.rb +0 -128
  27. data/lib/iro/option_watch.rb +0 -72
  28. data/lib/ish/cache_key.rb +0 -14
  29. data/lib/ish/configuration.rb +0 -11
  30. data/lib/ish/crawler.rb +0 -26
  31. data/lib/ish/email_campaign.rb +0 -55
  32. data/lib/ish/email_context.rb +0 -113
  33. data/lib/ish/email_template.rb +0 -115
  34. data/lib/ish/email_unsubscribe.rb +0 -19
  35. data/lib/ish/event.rb +0 -20
  36. data/lib/ish/image_asset.rb +0 -38
  37. data/lib/ish/invoice.rb +0 -130
  38. data/lib/ish/lorem_ipsum.rb +0 -30
  39. data/lib/ish/meeting.rb +0 -31
  40. data/lib/ish/payment.rb +0 -29
  41. data/lib/ish/premium_item.rb +0 -13
  42. data/lib/ish/railtie.rb +0 -8
  43. data/lib/ish/user_profile.rb +0 -149
  44. data/lib/ish/utils.rb +0 -45
  45. data/lib/mongoid/votable.rb +0 -247
  46. data/lib/mongoid/voter.rb +0 -96
  47. data/lib/newsitem.rb +0 -94
  48. data/lib/office/action.rb +0 -32
  49. data/lib/office/action_tie.rb +0 -16
  50. data/lib/office/directmail_envelope.rb +0 -51
  51. data/lib/office/email_action.rb +0 -34
  52. data/lib/office/email_action_tie.rb +0 -18
  53. data/lib/office/email_attachment.rb +0 -12
  54. data/lib/office/email_conversation.rb +0 -102
  55. data/lib/office/email_conversation_lead.rb +0 -11
  56. data/lib/office/email_conversation_tag.rb +0 -14
  57. data/lib/office/email_filter.rb +0 -45
  58. data/lib/office/email_message.rb +0 -192
  59. data/lib/office/email_message_stub.rb +0 -22
  60. data/lib/office/emailtag.rb +0 -27
  61. data/lib/office/emailtag_email_conversation.rb +0 -10
  62. data/lib/office/lead_action.rb +0 -24
  63. data/lib/office/lead_action_template.rb +0 -47
  64. data/lib/office/obfuscated_redirect.rb +0 -12
  65. data/lib/office/scheduled_email_action.rb +0 -62
  66. data/lib/photo.rb +0 -87
  67. data/lib/report.rb +0 -65
  68. data/lib/video.rb +0 -91
  69. data/lib/wco/appliance.rb +0 -52
  70. data/lib/wco/appliance_tmpl.rb +0 -56
  71. data/lib/wco/dns_domain.rb +0 -23
  72. data/lib/wco/email_conversation_lead.rb +0 -10
  73. data/lib/wco/leadset.rb +0 -26
  74. data/lib/wco/price.rb +0 -30
  75. data/lib/wco/product.rb +0 -35
  76. data/lib/wco/serverhost.rb +0 -140
  77. data/lib/wco/subscription.rb +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c1a22259e454aa8350407614eb6da60e10cc87fd5b7a349655e8d4fea281632
4
- data.tar.gz: 9898d3663b786e614852aaf8be16a4fb1daa3aa5130b1139642550d6aeb8232c
3
+ metadata.gz: 38afbe6c30a06cf137e8e88b4f3f0135f19d6f1236d11e99c4022a1b50cbb624
4
+ data.tar.gz: d30618a6829e536dbc333b3364535d80c0a86ff32be2d60f4f2c4f450f63c2bb
5
5
  SHA512:
6
- metadata.gz: 40579c613c11cdd8db789db9dd0804d1b1ee3e40f46f8abd1cd83b8ada329a99cc35cf330eb44aff2e63274861b815b6e45f560f2ae2e595feafc299dac46a6b
7
- data.tar.gz: 55a7d4590ac60a32fcbfc7aa9002b4d46ecb59fbfddeaa38caf5131281ea8407cd9ff2a3070e019716e8fcd0502327dcc41d69a6886d1d4cf9f1325a40fa6de4
6
+ metadata.gz: 6054f0bd29af8798f45ee31e5bce90dda2cdd956fa79b38c8fd2da7e171c4f369b14d9864c9b31af53d3670b8264249e032bdf2425f90a5b6160def33fa0b586
7
+ data.tar.gz: c189cb47923fef6e566c1c7484ca0cd2a1f1020b2c5550d661f5056f4c078735344753dbca6022b9d9493211141571aaaa966f931fc44fc08ab058ced222a0a4
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2023 mac_a2141
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
+ # IshModels
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 'ish_models'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install ish_models
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,15 @@
1
+ require "bundler/setup"
2
+
3
+ load "rails/tasks/statistics.rake"
4
+
5
+ require "bundler/gem_tasks"
6
+
7
+ require "rake/testtask"
8
+
9
+ Rake::TestTask.new(:test) do |t|
10
+ t.libs << 'test'
11
+ t.pattern = 'test/**/*_test.rb'
12
+ t.verbose = false
13
+ end
14
+
15
+ task default: :test
@@ -0,0 +1 @@
1
+ //= link_directory ../stylesheets/ish_models .css
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,4 @@
1
+ module IshModels
2
+ class ApplicationController < ActionController::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module IshModels
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module IshModels
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module IshModels
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: 'from@example.com'
4
+ layout 'mailer'
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module IshModels
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Ish models</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= stylesheet_link_tag "ish_models/application", media: "all" %>
9
+ </head>
10
+ <body>
11
+
12
+ <%= yield %>
13
+
14
+ </body>
15
+ </html>
data/config/routes.rb ADDED
@@ -0,0 +1,2 @@
1
+ IshModels::Engine.routes.draw do
2
+ end
@@ -0,0 +1,5 @@
1
+ module IshModels
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace IshModels
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module IshModels
2
+ VERSION = File.read 'VERSION'
3
+ end
data/lib/ish_models.rb CHANGED
@@ -1,100 +1,12 @@
1
1
 
2
- require 'ish/railtie' if defined?(Rails)
3
- require 'ish/configuration'
4
- require 'aws-sdk-s3'
5
- require 'kaminari/mongoid'
2
+ require 'mongoid'
6
3
 
7
- module Gameui; end
8
- module Iro; end
9
- module Ish; end
10
- class Ish::InputError < RuntimeError; end
11
-
12
- module Manager; end
13
-
14
- module Office; end
4
+ require "ish_models/version"
5
+ require "ish_models/engine"
15
6
 
7
+ module IshModels; end
16
8
  module Wco; end
17
9
 
18
- module IshModels
19
-
20
- class << self
21
- attr_accessor :configuration
22
- end
23
-
24
- def self.configure
25
- @configuration ||= Configuration.new
26
- end
27
-
28
- def self.setup
29
- yield(configuration)
30
- end
31
- end
32
-
33
- ## Needs to be before gameui/asset3d
34
- require 'ish/utils'
35
-
36
- require 'mongoid/votable'
37
- require 'mongoid/voter'
38
-
39
- require 'gameui/asset3d'
40
- require 'gameui/map'
41
- require 'gameui/marker'
42
-
43
- require 'iro/option_watch'
44
-
45
- require 'ish/cache_key'
46
- require 'ish/crawler'
47
- require 'ish/email_campaign'
48
- require 'ish/email_context'
49
- require 'ish/email_template'
50
- require 'ish/email_unsubscribe'
51
- require 'ish/event'
52
- require 'ish/image_asset'
53
- require 'ish/invoice'
54
- require 'ish/lorem_ipsum'
55
- require 'ish/meeting'
56
- require 'ish/payment'
57
- require 'ish/premium_item'
58
- require 'ish/user_profile'
59
-
60
- require 'gallery'
61
- require 'newsitem'
62
- require 'photo'
63
- require 'report'
64
- require 'video'
65
-
66
- require 'office/action'
67
- require 'office/action_tie'
68
- require 'office/admin_message'
69
- require 'office/directmail_envelope'
70
- require 'office/email_action'
71
- require 'office/email_action_tie'
72
- require 'office/email_attachment'
73
- require 'office/email_conversation'
74
- require 'office/email_conversation_lead'
75
- require 'office/email_conversation_tag'
76
- require 'office/email_filter'
77
- require 'office/email_message'
78
- require 'office/email_message_stub'
79
- require 'office/emailtag'
80
- require 'office/emailtag_email_conversation'
81
- require 'office/lead_action'
82
- require 'office/lead_action_template'
83
- require 'office/obfuscated_redirect'
84
- require 'office/scheduled_email_action'
85
-
86
-
87
- require 'wco/appliance'
88
- require 'wco/appliance_tmpl'
89
- require 'wco/dns_domain'
90
- require 'wco/email_conversation_lead'
91
- require 'wco/leadset'
92
- require 'wco/price'
93
- require 'wco/product'
94
- require 'wco/serverhost'
95
- require 'wco/subscription'
96
-
97
-
98
-
10
+ require 'wco/profile'
99
11
 
100
12
 
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :ish_models do
3
+ # # Task goes here
4
+ # end
@@ -1,11 +1,8 @@
1
1
 
2
-
3
- class Office::AdminMessage
2
+ class Wco::Profile
4
3
  include Mongoid::Document
5
4
  include Mongoid::Timestamps
6
5
 
7
- field :message
6
+ field :email
8
7
 
9
8
  end
10
-
11
-
metadata CHANGED
@@ -1,59 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.1
4
+ version: 3.1.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - piousbox
7
+ - mac_a2141
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-10 00:00:00.000000000 Z
11
+ date: 2023-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: mongoid
14
+ name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 7.3.0
19
+ version: 6.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 7.3.0
27
- - !ruby/object:Gem::Dependency
28
- name: mongoid_paranoia
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
26
+ version: 6.1.0
41
27
  - !ruby/object:Gem::Dependency
42
- name: mongoid-autoinc
28
+ name: mongoid
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
31
  - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '6.0'
33
+ version: 7.3.0
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
38
  - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '6.0'
40
+ version: 7.3.0
55
41
  - !ruby/object:Gem::Dependency
56
- name: mongoid-paperclip
42
+ name: mongoid_paranoia
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
45
  - - ">="
@@ -67,35 +53,21 @@ dependencies:
67
53
  - !ruby/object:Gem::Version
68
54
  version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
- name: kaminari-mongoid
56
+ name: mongoid-autoinc
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
59
  - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: 1.0.1
61
+ version: '6.0'
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
66
  - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: 1.0.1
83
- - !ruby/object:Gem::Dependency
84
- name: devise
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">"
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">"
95
- - !ruby/object:Gem::Version
96
- version: '0'
68
+ version: '6.0'
97
69
  - !ruby/object:Gem::Dependency
98
- name: aws-sdk-s3
70
+ name: mongoid-paperclip
99
71
  requirement: !ruby/object:Gem::Requirement
100
72
  requirements:
101
73
  - - ">="
@@ -109,145 +81,50 @@ dependencies:
109
81
  - !ruby/object:Gem::Version
110
82
  version: '0'
111
83
  - !ruby/object:Gem::Dependency
112
- name: rails
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: 6.1.0
118
- type: :runtime
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: 6.1.0
125
- - !ruby/object:Gem::Dependency
126
- name: net-ssh
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: 7.1.0
132
- type: :runtime
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: 7.1.0
139
- - !ruby/object:Gem::Dependency
140
- name: prawn
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: 2.4.0
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: 2.4.0
153
- - !ruby/object:Gem::Dependency
154
- name: prawn-table
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: 0.2.1
160
- type: :runtime
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: 0.2.1
167
- - !ruby/object:Gem::Dependency
168
- name: net-scp
84
+ name: kaminari-mongoid
169
85
  requirement: !ruby/object:Gem::Requirement
170
86
  requirements:
171
87
  - - "~>"
172
88
  - !ruby/object:Gem::Version
173
- version: 4.0.0
89
+ version: 1.0.1
174
90
  type: :runtime
175
91
  prerelease: false
176
92
  version_requirements: !ruby/object:Gem::Requirement
177
93
  requirements:
178
94
  - - "~>"
179
95
  - !ruby/object:Gem::Version
180
- version: 4.0.0
181
- description: models of ish
182
- email: victor@wasya.co
96
+ version: 1.0.1
97
+ description: https://wasya.co
98
+ email:
99
+ - victor@piousbox.com
183
100
  executables: []
184
101
  extensions: []
185
102
  extra_rdoc_files: []
186
103
  files:
187
- - lib/address.rb
188
- - lib/feature.rb
189
- - lib/gallery.rb
190
- - lib/gameui/asset3d.rb
191
- - lib/gameui/map.rb
192
- - lib/gameui/map_bookmark.rb
193
- - lib/gameui/marker.rb
194
- - lib/iro/option_watch.rb
195
- - lib/ish/cache_key.rb
196
- - lib/ish/configuration.rb
197
- - lib/ish/crawler.rb
198
- - lib/ish/email_campaign.rb
199
- - lib/ish/email_context.rb
200
- - lib/ish/email_template.rb
201
- - lib/ish/email_unsubscribe.rb
202
- - lib/ish/event.rb
203
- - lib/ish/image_asset.rb
204
- - lib/ish/invoice.rb
205
- - lib/ish/lorem_ipsum.rb
206
- - lib/ish/meeting.rb
207
- - lib/ish/payment.rb
208
- - lib/ish/premium_item.rb
209
- - lib/ish/railtie.rb
210
- - lib/ish/user_profile.rb
211
- - lib/ish/utils.rb
104
+ - MIT-LICENSE
105
+ - README.md
106
+ - Rakefile
107
+ - app/assets/config/ish_models_manifest.js
108
+ - app/assets/stylesheets/ish_models/application.css
109
+ - app/controllers/ish_models/application_controller.rb
110
+ - app/helpers/ish_models/application_helper.rb
111
+ - app/jobs/ish_models/application_job.rb
112
+ - app/mailers/ish_models/application_mailer.rb
113
+ - app/models/ish_models/application_record.rb
114
+ - app/views/layouts/ish_models/application.html.erb
115
+ - config/routes.rb
212
116
  - lib/ish_models.rb
213
- - lib/mongoid/votable.rb
214
- - lib/mongoid/voter.rb
215
- - lib/newsitem.rb
216
- - lib/office/action.rb
217
- - lib/office/action_tie.rb
218
- - lib/office/admin_message.rb
219
- - lib/office/directmail_envelope.rb
220
- - lib/office/email_action.rb
221
- - lib/office/email_action_tie.rb
222
- - lib/office/email_attachment.rb
223
- - lib/office/email_conversation.rb
224
- - lib/office/email_conversation_lead.rb
225
- - lib/office/email_conversation_tag.rb
226
- - lib/office/email_filter.rb
227
- - lib/office/email_message.rb
228
- - lib/office/email_message_stub.rb
229
- - lib/office/emailtag.rb
230
- - lib/office/emailtag_email_conversation.rb
231
- - lib/office/lead_action.rb
232
- - lib/office/lead_action_template.rb
233
- - lib/office/obfuscated_redirect.rb
234
- - lib/office/scheduled_email_action.rb
235
- - lib/photo.rb
236
- - lib/report.rb
237
- - lib/video.rb
238
- - lib/wco/appliance.rb
239
- - lib/wco/appliance_tmpl.rb
240
- - lib/wco/dns_domain.rb
241
- - lib/wco/email_conversation_lead.rb
242
- - lib/wco/leadset.rb
243
- - lib/wco/price.rb
244
- - lib/wco/product.rb
245
- - lib/wco/serverhost.rb
246
- - lib/wco/subscription.rb
117
+ - lib/ish_models/engine.rb
118
+ - lib/ish_models/version.rb
119
+ - lib/tasks/ish_models_tasks.rake
120
+ - lib/wco/profile.rb
247
121
  homepage: https://wasya.co
248
122
  licenses:
249
- - CC-BY-NC-SA-4.0
250
- metadata: {}
123
+ - MIT
124
+ metadata:
125
+ homepage_uri: https://wasya.co
126
+ source_code_uri: https://wasya.co
127
+ changelog_uri: https://wasya.co
251
128
  post_install_message:
252
129
  rdoc_options: []
253
130
  require_paths:
@@ -266,5 +143,5 @@ requirements: []
266
143
  rubygems_version: 3.1.6
267
144
  signing_key:
268
145
  specification_version: 4
269
- summary: models of ish
146
+ summary: https://wasya.co
270
147
  test_files: []
data/lib/address.rb DELETED
@@ -1,20 +0,0 @@
1
-
2
- class Address
3
- include Mongoid::Document
4
- include Mongoid::Timestamps
5
-
6
- belongs_to :profile, :class_name => '::Ish::UserProfile'
7
- # validates :profile, :presence => true
8
-
9
- field :lead_id, type: :integer
10
-
11
- field :name
12
- field :address_1
13
- field :address_2
14
- field :city
15
- field :state
16
- field :zipcode
17
- field :phone
18
-
19
- end
20
-
data/lib/feature.rb DELETED
@@ -1,32 +0,0 @@
1
-
2
- class Feature
3
- include Mongoid::Document
4
- include Mongoid::Timestamps
5
-
6
- field :name
7
- field :subhead
8
-
9
- field :image_path
10
- field :link_path
11
- field :partial_name
12
- field :inner_html
13
- field :weight, type: Integer, default: 10
14
-
15
- belongs_to :city, optional: true
16
- belongs_to :gallery, optional: true
17
- belongs_to :photo, optional: true
18
- belongs_to :report, optional: true
19
- belongs_to :site, optional: true
20
- belongs_to :tag, optional: true
21
- belongs_to :video, optional: true
22
- belongs_to :venue, optional: true
23
-
24
- def self.all
25
- self.order_by( :created_at => :desc )
26
- end
27
-
28
- def self.n_features
29
- 4
30
- end
31
-
32
- end