subj_sub_models 0.0.3.8 → 0.0.3.9

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
  SHA1:
3
- metadata.gz: 14e9f6ce6d174979dfc893101295e929f4146883
4
- data.tar.gz: 47ba2975508e5b47672566d75cb457ba6af691ff
3
+ metadata.gz: 02dbbc45e71910f6a8b1b1c0f988003807eb9fb1
4
+ data.tar.gz: 1378435083db6457f809385d489d24f4b5639f8d
5
5
  SHA512:
6
- metadata.gz: 4ecdc718e29f14808b741aec3b1b0e3777ce7041e0f1394538b2e52e1e491b3ab273b0a407a55adee61cd31cb5a684f3541e387718fd3db4440bc920d81f07d8
7
- data.tar.gz: ae2d34a8b1fb6a899c7667586335f5fb4198303473d26b7bff2f3fbafe85dc6a0237142b4b2d9f9eaf42b66c2d4c1b0c52594bd68c00b607a3be3f90cd68da02
6
+ metadata.gz: 133a710ec42ff5bc65284b9e2c8bbce8a1c880c0b67a3906435ed08a16371ed5a9c0414d3388c8dc261f51d62a12abb798357fe1202ff7725c7a0e96e337bdba
7
+ data.tar.gz: c217a06b7eab78d2954bbf3d1a582e2676aeda0013d1babb058e3d95e7b8d59e0a5259005797f6f70f0f01f8a030208f5fdc2e4199fb2e542247c7e3efcc5911
data/.idea/misc.xml CHANGED
@@ -7,7 +7,19 @@
7
7
  </MavenGeneralSettings>
8
8
  </option>
9
9
  </component>
10
- <component name="ProjectRootManager" version="2" project-jdk-name="ruby-2.0.0-p648" project-jdk-type="RUBY_SDK" />
10
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
11
+ <OptionsSetting value="true" id="Add" />
12
+ <OptionsSetting value="true" id="Remove" />
13
+ <OptionsSetting value="true" id="Checkout" />
14
+ <OptionsSetting value="true" id="Update" />
15
+ <OptionsSetting value="true" id="Status" />
16
+ <OptionsSetting value="true" id="Edit" />
17
+ <ConfirmationsSetting value="0" id="Add" />
18
+ <ConfirmationsSetting value="0" id="Remove" />
19
+ </component>
20
+ <component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" default="true" assert-keyword="false" jdk-15="false" project-jdk-name="ruby-2.0.0-p648" project-jdk-type="RUBY_SDK">
21
+ <output url="file://$PROJECT_DIR$/out" />
22
+ </component>
11
23
  <component name="masterDetails">
12
24
  <states>
13
25
  <state key="ProjectJDKs.UI">
data/.idea/workspace.xml CHANGED
@@ -19,9 +19,6 @@
19
19
  <component name="FavoritesManager">
20
20
  <favorites_list name="subj_models" />
21
21
  </component>
22
- <component name="Git.Settings">
23
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
24
- </component>
25
22
  <component name="GradleLocalSettings">
26
23
  <option name="externalProjectsViewState">
27
24
  <projects_view />
@@ -34,8 +31,18 @@
34
31
  <sorting>DEFINITION_ORDER</sorting>
35
32
  </component>
36
33
  <component name="ProjectFrameBounds">
37
- <option name="width" value="1440" />
38
- <option name="height" value="900" />
34
+ <option name="width" value="1280" />
35
+ <option name="height" value="800" />
36
+ </component>
37
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
38
+ <OptionsSetting value="true" id="Add" />
39
+ <OptionsSetting value="true" id="Remove" />
40
+ <OptionsSetting value="true" id="Checkout" />
41
+ <OptionsSetting value="true" id="Update" />
42
+ <OptionsSetting value="true" id="Status" />
43
+ <OptionsSetting value="true" id="Edit" />
44
+ <ConfirmationsSetting value="0" id="Add" />
45
+ <ConfirmationsSetting value="0" id="Remove" />
39
46
  </component>
40
47
  <component name="ProjectView">
41
48
  <navigator currentView="ProjectPane" proportions="" version="1">
@@ -52,23 +59,29 @@
52
59
  <foldersAlwaysOnTop value="true" />
53
60
  </navigator>
54
61
  <panes>
55
- <pane id="Scope" />
62
+ <pane id="PackagesPane" />
63
+ <pane id="Scratches" />
56
64
  <pane id="ProjectPane">
57
65
  <subPane>
58
66
  <PATH>
59
67
  <PATH_ELEMENT>
60
- <option name="myItemId" value="subj_sub_modules" />
68
+ <option name="myItemId" value="subj_models" />
61
69
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
62
70
  </PATH_ELEMENT>
71
+ </PATH>
72
+ <PATH>
63
73
  <PATH_ELEMENT>
64
- <option name="myItemId" value="subj_sub_modules" />
74
+ <option name="myItemId" value="subj_models" />
75
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
76
+ </PATH_ELEMENT>
77
+ <PATH_ELEMENT>
78
+ <option name="myItemId" value="subj_models" />
65
79
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
66
80
  </PATH_ELEMENT>
67
81
  </PATH>
68
82
  </subPane>
69
83
  </pane>
70
- <pane id="Scratches" />
71
- <pane id="PackagesPane" />
84
+ <pane id="Scope" />
72
85
  </panes>
73
86
  </component>
74
87
  <component name="PropertiesComponent">
@@ -76,6 +89,94 @@
76
89
  <property name="WebServerToolWindowFactoryState" value="false" />
77
90
  <property name="FullScreen" value="true" />
78
91
  </component>
92
+ <component name="RunManager">
93
+ <configuration default="true" type="#org.jetbrains.idea.devkit.run.PluginConfigurationType" factoryName="Plugin">
94
+ <module name="" />
95
+ <option name="VM_PARAMETERS" value="-Xmx512m -Xms256m -XX:MaxPermSize=250m -ea" />
96
+ <option name="PROGRAM_PARAMETERS" />
97
+ <method />
98
+ </configuration>
99
+ <configuration default="true" type="Applet" factoryName="Applet">
100
+ <option name="HTML_USED" value="false" />
101
+ <option name="WIDTH" value="400" />
102
+ <option name="HEIGHT" value="300" />
103
+ <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
104
+ <module />
105
+ <method />
106
+ </configuration>
107
+ <configuration default="true" type="Application" factoryName="Application">
108
+ <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
109
+ <option name="MAIN_CLASS_NAME" />
110
+ <option name="VM_PARAMETERS" />
111
+ <option name="PROGRAM_PARAMETERS" />
112
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
113
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
114
+ <option name="ALTERNATIVE_JRE_PATH" />
115
+ <option name="ENABLE_SWING_INSPECTOR" value="false" />
116
+ <option name="ENV_VARIABLES" />
117
+ <option name="PASS_PARENT_ENVS" value="true" />
118
+ <module name="" />
119
+ <envs />
120
+ <method />
121
+ </configuration>
122
+ <configuration default="true" type="JUnit" factoryName="JUnit">
123
+ <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
124
+ <module name="" />
125
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
126
+ <option name="ALTERNATIVE_JRE_PATH" />
127
+ <option name="PACKAGE_NAME" />
128
+ <option name="MAIN_CLASS_NAME" />
129
+ <option name="METHOD_NAME" />
130
+ <option name="TEST_OBJECT" value="class" />
131
+ <option name="VM_PARAMETERS" value="-ea" />
132
+ <option name="PARAMETERS" />
133
+ <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
134
+ <option name="ENV_VARIABLES" />
135
+ <option name="PASS_PARENT_ENVS" value="true" />
136
+ <option name="TEST_SEARCH_SCOPE">
137
+ <value defaultName="singleModule" />
138
+ </option>
139
+ <envs />
140
+ <patterns />
141
+ <method />
142
+ </configuration>
143
+ <configuration default="true" type="Remote" factoryName="Remote">
144
+ <option name="USE_SOCKET_TRANSPORT" value="true" />
145
+ <option name="SERVER_MODE" value="false" />
146
+ <option name="SHMEM_ADDRESS" value="javadebug" />
147
+ <option name="HOST" value="localhost" />
148
+ <option name="PORT" value="5005" />
149
+ <method />
150
+ </configuration>
151
+ <configuration default="true" type="TestNG" factoryName="TestNG">
152
+ <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
153
+ <module name="" />
154
+ <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
155
+ <option name="ALTERNATIVE_JRE_PATH" />
156
+ <option name="SUITE_NAME" />
157
+ <option name="PACKAGE_NAME" />
158
+ <option name="MAIN_CLASS_NAME" />
159
+ <option name="METHOD_NAME" />
160
+ <option name="GROUP_NAME" />
161
+ <option name="TEST_OBJECT" value="CLASS" />
162
+ <option name="VM_PARAMETERS" value="-ea" />
163
+ <option name="PARAMETERS" />
164
+ <option name="WORKING_DIRECTORY" value="$MODULE_DIR$" />
165
+ <option name="OUTPUT_DIRECTORY" />
166
+ <option name="ANNOTATION_TYPE" />
167
+ <option name="ENV_VARIABLES" />
168
+ <option name="PASS_PARENT_ENVS" value="true" />
169
+ <option name="TEST_SEARCH_SCOPE">
170
+ <value defaultName="singleModule" />
171
+ </option>
172
+ <option name="USE_DEFAULT_REPORTERS" value="false" />
173
+ <option name="PROPERTIES_FILE" />
174
+ <envs />
175
+ <properties />
176
+ <listeners />
177
+ <method />
178
+ </configuration>
179
+ </component>
79
180
  <component name="ShelveChangesManager" show_recycled="false">
80
181
  <option name="remove_strategy" value="false" />
81
182
  </component>
@@ -87,46 +188,42 @@
87
188
  <option name="presentableId" value="Default" />
88
189
  <updated>1474965845268</updated>
89
190
  <workItem from="1474965862769" duration="101000" />
90
- <workItem from="1504779092113" duration="13000" />
91
191
  </task>
92
192
  <servers />
93
193
  </component>
94
194
  <component name="TimeTrackingManager">
95
- <option name="totallyTimeSpent" value="114000" />
195
+ <option name="totallyTimeSpent" value="101000" />
96
196
  </component>
97
197
  <component name="ToolWindowManager">
98
- <frame x="0" y="0" width="1440" height="900" extended-state="0" />
198
+ <frame x="0" y="0" width="1280" height="800" extended-state="0" />
99
199
  <editor active="false" />
100
200
  <layout>
101
- <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2532189" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
102
- <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
103
- <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
104
- <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
105
- <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
106
- <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
107
- <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
108
- <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
109
- <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
201
+ <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
110
202
  <window_info id="Palette" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
111
- <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
112
- <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
113
203
  <window_info id="Palette&#9;" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
114
204
  <window_info id="Capture Analysis" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
115
- <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
116
- <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
117
205
  <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32934928" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
206
+ <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
207
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
118
208
  <window_info id="Capture Tool" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
209
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
210
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
211
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
212
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
213
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
214
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
215
+ <window_info id="Maven Projects" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
216
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
217
+ <window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
218
+ <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
119
219
  <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
120
- <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
121
220
  <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
221
+ <window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
222
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
122
223
  <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
123
- <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
124
- <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
224
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
125
225
  </layout>
126
226
  </component>
127
- <component name="TypeScriptGeneratedFilesManager">
128
- <option name="processedProjectFiles" value="true" />
129
- </component>
130
227
  <component name="Vcs.Log.UiProperties">
131
228
  <option name="RECENTLY_FILTERED_USER_GROUPS">
132
229
  <collection />
@@ -0,0 +1,20 @@
1
+ require 'subj_models/concerns/comprising_external_id'
2
+
3
+ module SubjModels
4
+
5
+ module NotificationModule
6
+
7
+ def self.included(including_class)
8
+
9
+ including_class.class_eval do
10
+
11
+ belongs_to :user
12
+
13
+ validates :subject, :user_id, :body_data, presence: true
14
+ end
15
+
16
+ end
17
+
18
+ end
19
+
20
+ end
@@ -31,6 +31,7 @@ module SubjModels
31
31
 
32
32
 
33
33
  has_many :orders
34
+ has_many :notifications
34
35
  has_many :user_specialization_approvals, dependent: :destroy
35
36
  has_many :user_cards, dependent: :destroy
36
37
  has_one :user_work_place, dependent: :destroy
@@ -1,3 +1,3 @@
1
1
  module SubjModels
2
- VERSION = '0.0.3.8'
2
+ VERSION = '0.0.3.9'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subj_sub_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3.8
4
+ version: 0.0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - A.Nasa
@@ -84,6 +84,7 @@ files:
84
84
  - lib/subj_models/nomenclature_price.rb
85
85
  - lib/subj_models/nomenclature_review.rb
86
86
  - lib/subj_models/nomenclature_variety.rb
87
+ - lib/subj_models/notification.rb
87
88
  - lib/subj_models/office.rb
88
89
  - lib/subj_models/office_contact.rb
89
90
  - lib/subj_models/order.rb
@@ -137,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  version: '0'
138
139
  requirements: []
139
140
  rubyforge_project:
140
- rubygems_version: 2.6.8
141
+ rubygems_version: 2.5.1
141
142
  signing_key:
142
143
  specification_version: 4
143
144
  summary: Move models from some project to gem.