ish_models 3.1.0.3 → 3.1.0.4

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: 3968226198f0d0e6cf875e3f347755c09f408c5eb8801d22caf1db1788b03005
4
- data.tar.gz: a93175a27b7f4f565ea5d39c14579c78bee4f47e2a8be435928d9ff4bb5c1831
3
+ metadata.gz: 5ff669625b9720fedc93aa4cbdf6a1e6f63487e99809509e8ccb1e1836f31c51
4
+ data.tar.gz: 6151060a4c9923fcecef5c958dd7f6838b929bf262e22fa8e8f2c4681568dbff
5
5
  SHA512:
6
- metadata.gz: 0db60fb6fec07fe3145415a77aed59d3ab3c3438ee350425574d621b4f52dcbdd17b4d70a8e392ffd2ed8ea766ec92c07606b1465607b51a5f01e70b7188e08a
7
- data.tar.gz: ab7f866d340f00996d18adbc53ed9439b87ce4db69621da7be0217570de97a649e436a46044e2b444d004fa117dfe55814abf683773b0a37023df6283d4e93e9
6
+ metadata.gz: 571319fb131431fc116aea7aa82edeb4bf31148e597f9dd70415d2ec64d78b8be1b2b922a1e6a8db4fd00413903c19e84cc131da2d7d4dff981b3384341769c5
7
+ data.tar.gz: 86c8d47abcedd8e6d2cf6665123395533dc8060f40667890832e5b0d83374db73707027e4e0ceea179061108d2e9bf9dc4b5d42a0668a0a7ecc4ebba0d2ca30f
data/lib/ish_models.rb CHANGED
@@ -7,5 +7,6 @@ module IshModels; end
7
7
  module Wco; end
8
8
 
9
9
  require 'wco/profile'
10
+ require 'wco/tag'
10
11
 
11
12
 
data/lib/wco/tag.rb ADDED
@@ -0,0 +1,14 @@
1
+
2
+ class Wco::Tag
3
+ include Mongoid::Document
4
+ include Mongoid::Timestamps
5
+
6
+ field :slug
7
+ # index
8
+ # validate presence
9
+ # validate uniqueness ?
10
+
11
+ # parent-child
12
+
13
+
14
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.3
4
+ version: 3.1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-15 00:00:00.000000000 Z
11
+ date: 2023-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -101,8 +101,6 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - MIT-LICENSE
105
- - README.md
106
104
  - Rakefile
107
105
  - app/assets/config/ish_models_manifest.js
108
106
  - app/assets/stylesheets/ish_models/application.css
@@ -118,6 +116,7 @@ files:
118
116
  - lib/ish_models/version.rb-trash
119
117
  - lib/tasks/ish_models_tasks.rake
120
118
  - lib/wco/profile.rb
119
+ - lib/wco/tag.rb
121
120
  homepage: https://wasya.co
122
121
  licenses:
123
122
  - MIT
data/MIT-LICENSE DELETED
@@ -1,20 +0,0 @@
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 DELETED
@@ -1,28 +0,0 @@
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).