ish_models 3.0.0.1 → 3.1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- 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 +4 -94
- data/lib/tasks/ish_models_tasks.rake +4 -0
- data/lib/{office/admin_message.rb → wco/profile.rb} +2 -5
- metadata +32 -225
- 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: 895202f7191c98512bd29e1fb9981c081f3ffee8b908135c59f38b78a1d20452
|
4
|
+
data.tar.gz: c9c0834c8885e4510fa09e10f277ede5e7e7b7ece1b7e99f1b7f68135677b6ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8eb6fa0a7ecbf3c27db26c69dc9b75f59740b469a9b43a296982a602c69a16dbd6da000af01e33e082e56a3c0d66eb62a1f422e6b65c8463c91b3c5b73f484c8
|
7
|
+
data.tar.gz: 90cb3e930fb6e9a0de9e8a9ddd5e2739784c51c61acb90565acb497367abdb3b2419ee07c44175f204c62c5eb1bb81215ccff4ef45c6ede2834c082c70d75b03
|
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,10 @@
|
|
1
|
-
|
2
|
-
require
|
3
|
-
require 'ish/configuration'
|
4
|
-
require 'aws-sdk-s3'
|
5
|
-
require 'kaminari/mongoid'
|
6
|
-
|
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
|
15
|
-
|
16
|
-
module Wco; end
|
1
|
+
require "ish_models/version"
|
2
|
+
require "ish_models/engine"
|
17
3
|
|
18
4
|
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
|
5
|
+
# Your code goes here...
|
31
6
|
end
|
32
7
|
|
33
|
-
|
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
|
-
|
8
|
+
require 'wco/profile'
|
99
9
|
|
100
10
|
|
metadata
CHANGED
@@ -1,113 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ish_models
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.0
|
4
|
+
version: 3.1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
autorequire:
|
7
|
+
- mac_a2141
|
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
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: mongoid
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 7.3.0
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
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'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: mongoid-autoinc
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '6.0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '6.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: mongoid-paperclip
|
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: kaminari-mongoid
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 1.0.1
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !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'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: aws-sdk-s3
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :runtime
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
13
|
- !ruby/object:Gem::Dependency
|
112
14
|
name: rails
|
113
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -122,133 +24,38 @@ dependencies:
|
|
122
24
|
- - "~>"
|
123
25
|
- !ruby/object:Gem::Version
|
124
26
|
version: 6.1.0
|
125
|
-
|
126
|
-
|
127
|
-
|
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
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - "~>"
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: 4.0.0
|
174
|
-
type: :runtime
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - "~>"
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: 4.0.0
|
181
|
-
description: models of ish
|
182
|
-
email: victor@wasya.co
|
27
|
+
description: https://wasya.co
|
28
|
+
email:
|
29
|
+
- victor@piousbox.com
|
183
30
|
executables: []
|
184
31
|
extensions: []
|
185
32
|
extra_rdoc_files: []
|
186
33
|
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
|
34
|
+
- MIT-LICENSE
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- app/assets/config/ish_models_manifest.js
|
38
|
+
- app/assets/stylesheets/ish_models/application.css
|
39
|
+
- app/controllers/ish_models/application_controller.rb
|
40
|
+
- app/helpers/ish_models/application_helper.rb
|
41
|
+
- app/jobs/ish_models/application_job.rb
|
42
|
+
- app/mailers/ish_models/application_mailer.rb
|
43
|
+
- app/models/ish_models/application_record.rb
|
44
|
+
- app/views/layouts/ish_models/application.html.erb
|
45
|
+
- config/routes.rb
|
212
46
|
- 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
|
47
|
+
- lib/ish_models/engine.rb
|
48
|
+
- lib/ish_models/version.rb
|
49
|
+
- lib/tasks/ish_models_tasks.rake
|
50
|
+
- lib/wco/profile.rb
|
247
51
|
homepage: https://wasya.co
|
248
52
|
licenses:
|
249
|
-
-
|
250
|
-
metadata:
|
251
|
-
|
53
|
+
- MIT
|
54
|
+
metadata:
|
55
|
+
homepage_uri: https://wasya.co
|
56
|
+
source_code_uri: https://wasya.co
|
57
|
+
changelog_uri: https://wasya.co
|
58
|
+
post_install_message:
|
252
59
|
rdoc_options: []
|
253
60
|
require_paths:
|
254
61
|
- lib
|
@@ -263,8 +70,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
263
70
|
- !ruby/object:Gem::Version
|
264
71
|
version: '0'
|
265
72
|
requirements: []
|
266
|
-
rubygems_version: 3.1
|
267
|
-
signing_key:
|
73
|
+
rubygems_version: 3.0.3.1
|
74
|
+
signing_key:
|
268
75
|
specification_version: 4
|
269
|
-
summary:
|
76
|
+
summary: https://wasya.co
|
270
77
|
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
|