ish_models 3.1.0.2 → 3.1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c9c0791f4b60c2b6af2086abbf638180b54c2f7c13f67292fe0471b2bbf5424
4
- data.tar.gz: ca891e4fff8fefb95e4d82625d8a4a956e9437c61633798cb022c6bf11ccde00
3
+ metadata.gz: 5ff669625b9720fedc93aa4cbdf6a1e6f63487e99809509e8ccb1e1836f31c51
4
+ data.tar.gz: 6151060a4c9923fcecef5c958dd7f6838b929bf262e22fa8e8f2c4681568dbff
5
5
  SHA512:
6
- metadata.gz: '019b2c11364a0c631eabb224d730b0327811141bae8dd017cdef00861c0bbf9e870017e98e8c179bf81786f7965da50546e2bbe251cff5a4714fce95408f4082'
7
- data.tar.gz: 0bb00b3ca085963153a6bb68ea1e2846901801aec5d136148342c0db8ffeaac68fbbb013dca009eaec48fa44665bed2cc43e037a2b3693dba365d007d08ed8ac
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/profile.rb CHANGED
@@ -5,4 +5,6 @@ class Wco::Profile
5
5
 
6
6
  field :email
7
7
 
8
+ field :per_page, type: :integer, default: 25
9
+
8
10
  end
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.2
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).