ish_models 3.0.0.1 → 3.1.0.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 +4 -4
- data/MIT-LICENSE +20 -0
- data/README.md +28 -0
- data/Rakefile +15 -0
- data/app/assets/config/ish_models_manifest.js +1 -0
- data/app/assets/stylesheets/ish_models/application.css +15 -0
- data/app/controllers/ish_models/application_controller.rb +4 -0
- data/app/helpers/ish_models/application_helper.rb +4 -0
- data/app/jobs/ish_models/application_job.rb +4 -0
- data/app/mailers/ish_models/application_mailer.rb +6 -0
- data/app/models/ish_models/application_record.rb +5 -0
- data/app/views/layouts/ish_models/application.html.erb +15 -0
- data/config/routes.rb +2 -0
- data/lib/ish_models/engine.rb +5 -0
- data/lib/ish_models/version.rb +3 -0
- data/lib/ish_models.rb +5 -93
- data/lib/tasks/ish_models_tasks.rake +4 -0
- data/lib/{office/admin_message.rb → wco/profile.rb} +2 -5
- metadata +42 -165
- data/lib/address.rb +0 -20
- data/lib/feature.rb +0 -32
- data/lib/gallery.rb +0 -66
- data/lib/gameui/asset3d.rb +0 -33
- data/lib/gameui/map.rb +0 -260
- data/lib/gameui/map_bookmark.rb +0 -9
- data/lib/gameui/marker.rb +0 -128
- data/lib/iro/option_watch.rb +0 -72
- data/lib/ish/cache_key.rb +0 -14
- data/lib/ish/configuration.rb +0 -11
- data/lib/ish/crawler.rb +0 -26
- data/lib/ish/email_campaign.rb +0 -55
- data/lib/ish/email_context.rb +0 -113
- data/lib/ish/email_template.rb +0 -115
- data/lib/ish/email_unsubscribe.rb +0 -19
- data/lib/ish/event.rb +0 -20
- data/lib/ish/image_asset.rb +0 -38
- data/lib/ish/invoice.rb +0 -130
- data/lib/ish/lorem_ipsum.rb +0 -30
- data/lib/ish/meeting.rb +0 -31
- data/lib/ish/payment.rb +0 -29
- data/lib/ish/premium_item.rb +0 -13
- data/lib/ish/railtie.rb +0 -8
- data/lib/ish/user_profile.rb +0 -149
- data/lib/ish/utils.rb +0 -45
- data/lib/mongoid/votable.rb +0 -247
- data/lib/mongoid/voter.rb +0 -96
- data/lib/newsitem.rb +0 -94
- data/lib/office/action.rb +0 -32
- data/lib/office/action_tie.rb +0 -16
- data/lib/office/directmail_envelope.rb +0 -51
- data/lib/office/email_action.rb +0 -34
- data/lib/office/email_action_tie.rb +0 -18
- data/lib/office/email_attachment.rb +0 -12
- data/lib/office/email_conversation.rb +0 -102
- data/lib/office/email_conversation_lead.rb +0 -11
- data/lib/office/email_conversation_tag.rb +0 -14
- data/lib/office/email_filter.rb +0 -45
- data/lib/office/email_message.rb +0 -192
- data/lib/office/email_message_stub.rb +0 -22
- data/lib/office/emailtag.rb +0 -27
- data/lib/office/emailtag_email_conversation.rb +0 -10
- data/lib/office/lead_action.rb +0 -24
- data/lib/office/lead_action_template.rb +0 -47
- data/lib/office/obfuscated_redirect.rb +0 -12
- data/lib/office/scheduled_email_action.rb +0 -62
- data/lib/photo.rb +0 -87
- data/lib/report.rb +0 -65
- data/lib/video.rb +0 -91
- data/lib/wco/appliance.rb +0 -52
- data/lib/wco/appliance_tmpl.rb +0 -56
- data/lib/wco/dns_domain.rb +0 -23
- data/lib/wco/email_conversation_lead.rb +0 -10
- data/lib/wco/leadset.rb +0 -26
- data/lib/wco/price.rb +0 -30
- data/lib/wco/product.rb +0 -35
- data/lib/wco/serverhost.rb +0 -140
- data/lib/wco/subscription.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38afbe6c30a06cf137e8e88b4f3f0135f19d6f1236d11e99c4022a1b50cbb624
|
4
|
+
data.tar.gz: d30618a6829e536dbc333b3364535d80c0a86ff32be2d60f4f2c4f450f63c2bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
+
*/
|
data/config/routes.rb
ADDED
data/lib/ish_models.rb
CHANGED
@@ -1,100 +1,12 @@
|
|
1
1
|
|
2
|
-
require '
|
3
|
-
require 'ish/configuration'
|
4
|
-
require 'aws-sdk-s3'
|
5
|
-
require 'kaminari/mongoid'
|
2
|
+
require 'mongoid'
|
6
3
|
|
7
|
-
|
8
|
-
|
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
|
-
|
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
|
|
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.
|
4
|
+
version: 3.1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- mac_a2141
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
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:
|
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
|
28
|
+
name: mongoid
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
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:
|
40
|
+
version: 7.3.0
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
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:
|
56
|
+
name: mongoid-autoinc
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|
72
58
|
requirements:
|
73
59
|
- - "~>"
|
74
60
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
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:
|
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:
|
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:
|
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:
|
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:
|
181
|
-
description:
|
182
|
-
email:
|
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
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
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/
|
214
|
-
- lib/
|
215
|
-
- lib/
|
216
|
-
- lib/
|
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
|
-
-
|
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:
|
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
|