subj_models 0.1.02

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3684afd7079a6ded9ea8d21bbe0298224fdf1c4b
4
+ data.tar.gz: 824f282e6e5379639e33ae9b3b1822ca9e677a72
5
+ SHA512:
6
+ metadata.gz: 4ab20ebed00016312ed0d2e5bbaf9a7ca447132c23f7544f85b11a5c7006290ee9c3882c6410cacfc71244387a6ed80bad2ce65bf09d57c62ba8ab6188ae9592
7
+ data.tar.gz: 1bffbdcaec81d6e24c00ece1198ace682615a879a1099a0daada0ceb0bc3ec2f73ef22ababacce0adc9d5d74840cdf0fbb52070d4397fec6f6f6b306205adc61
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="CompilerConfiguration">
4
+ <resourceExtensions />
5
+ <wildcardResourcePatterns>
6
+ <entry name="!?*.java" />
7
+ <entry name="!?*.form" />
8
+ <entry name="!?*.class" />
9
+ <entry name="!?*.groovy" />
10
+ <entry name="!?*.scala" />
11
+ <entry name="!?*.flex" />
12
+ <entry name="!?*.kt" />
13
+ <entry name="!?*.clj" />
14
+ <entry name="!?*.aj" />
15
+ </wildcardResourcePatterns>
16
+ <annotationProcessing>
17
+ <profile default="true" name="Default" enabled="false">
18
+ <processorPath useClasspath="true" />
19
+ </profile>
20
+ </annotationProcessing>
21
+ </component>
22
+ </project>
@@ -0,0 +1,3 @@
1
+ <component name="CopyrightManager">
2
+ <settings default="" />
3
+ </component>
data/.idea/misc.xml ADDED
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="MavenImportPreferences">
4
+ <option name="generalSettings">
5
+ <MavenGeneralSettings>
6
+ <option name="mavenHome" value="Bundled (Maven 3)" />
7
+ </MavenGeneralSettings>
8
+ </option>
9
+ </component>
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>
23
+ <component name="masterDetails">
24
+ <states>
25
+ <state key="ProjectJDKs.UI">
26
+ <settings>
27
+ <splitter-proportions>
28
+ <option name="proportions">
29
+ <list>
30
+ <option value="0.2" />
31
+ </list>
32
+ </option>
33
+ </splitter-proportions>
34
+ </settings>
35
+ </state>
36
+ </states>
37
+ </component>
38
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/subj_models.iml" filepath="$PROJECT_DIR$/subj_models.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
@@ -0,0 +1,242 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="df7164a7-6c43-42fd-8a2b-5000b47cabac" name="Default" comment="" />
5
+ <ignored path="subj_models.iws" />
6
+ <ignored path=".idea/workspace.xml" />
7
+ <ignored path="$PROJECT_DIR$/out/" />
8
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
9
+ <option name="TRACKING_ENABLED" value="true" />
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="CreatePatchCommitExecutor">
16
+ <option name="PATCH_PATH" value="" />
17
+ </component>
18
+ <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
19
+ <component name="FavoritesManager">
20
+ <favorites_list name="subj_models" />
21
+ </component>
22
+ <component name="GradleLocalSettings">
23
+ <option name="externalProjectsViewState">
24
+ <projects_view />
25
+ </option>
26
+ </component>
27
+ <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
28
+ <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
29
+ <component name="JsGulpfileManager">
30
+ <detection-done>true</detection-done>
31
+ <sorting>DEFINITION_ORDER</sorting>
32
+ </component>
33
+ <component name="ProjectFrameBounds">
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" />
46
+ </component>
47
+ <component name="ProjectView">
48
+ <navigator currentView="ProjectPane" proportions="" version="1">
49
+ <flattenPackages />
50
+ <showMembers />
51
+ <showModules />
52
+ <showLibraryContents />
53
+ <hideEmptyPackages />
54
+ <abbreviatePackageNames />
55
+ <autoscrollToSource />
56
+ <autoscrollFromSource />
57
+ <sortByType />
58
+ <manualOrder />
59
+ <foldersAlwaysOnTop value="true" />
60
+ </navigator>
61
+ <panes>
62
+ <pane id="PackagesPane" />
63
+ <pane id="Scratches" />
64
+ <pane id="ProjectPane">
65
+ <subPane>
66
+ <PATH>
67
+ <PATH_ELEMENT>
68
+ <option name="myItemId" value="subj_models" />
69
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
70
+ </PATH_ELEMENT>
71
+ </PATH>
72
+ <PATH>
73
+ <PATH_ELEMENT>
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" />
79
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
80
+ </PATH_ELEMENT>
81
+ </PATH>
82
+ </subPane>
83
+ </pane>
84
+ <pane id="Scope" />
85
+ </panes>
86
+ </component>
87
+ <component name="PropertiesComponent">
88
+ <property name="aspect.path.notification.shown" value="true" />
89
+ <property name="WebServerToolWindowFactoryState" value="false" />
90
+ <property name="FullScreen" value="true" />
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>
180
+ <component name="ShelveChangesManager" show_recycled="false">
181
+ <option name="remove_strategy" value="false" />
182
+ </component>
183
+ <component name="TaskManager">
184
+ <task active="true" id="Default" summary="Default task">
185
+ <changelist id="df7164a7-6c43-42fd-8a2b-5000b47cabac" name="Default" comment="" />
186
+ <created>1474965845268</created>
187
+ <option name="number" value="Default" />
188
+ <option name="presentableId" value="Default" />
189
+ <updated>1474965845268</updated>
190
+ <workItem from="1474965862769" duration="101000" />
191
+ </task>
192
+ <servers />
193
+ </component>
194
+ <component name="TimeTrackingManager">
195
+ <option name="totallyTimeSpent" value="101000" />
196
+ </component>
197
+ <component name="ToolWindowManager">
198
+ <frame x="0" y="0" width="1280" height="800" extended-state="0" />
199
+ <editor active="false" />
200
+ <layout>
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
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" />
225
+ </layout>
226
+ </component>
227
+ <component name="Vcs.Log.UiProperties">
228
+ <option name="RECENTLY_FILTERED_USER_GROUPS">
229
+ <collection />
230
+ </option>
231
+ <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
232
+ <collection />
233
+ </option>
234
+ </component>
235
+ <component name="VcsContentAnnotationSettings">
236
+ <option name="myLimit" value="2678400000" />
237
+ </component>
238
+ <component name="XDebuggerManager">
239
+ <breakpoint-manager />
240
+ <watches-manager />
241
+ </component>
242
+ </project>
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in subj_models.gemspec
4
+ gemspec
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # SubjModels
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/subj_models`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'subj_models'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install subj_models
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/subj_models.
36
+
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "subj_models"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ module SubjModels
2
+ VERSION = "0.1.02"
3
+ end
@@ -0,0 +1,25 @@
1
+ require "subj_models/version"
2
+
3
+ module SubjModels
4
+
5
+ def self.included(including_class)
6
+
7
+ including_class.class_eval do
8
+
9
+ include ComprisingExternalId
10
+
11
+ belongs_to :attribute_value
12
+
13
+ has_many :nomenclature_prices
14
+
15
+ validates :name, presence: true
16
+
17
+ end
18
+
19
+ end
20
+
21
+ def to_s
22
+ name
23
+ end
24
+
25
+ end
@@ -0,0 +1,33 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'subj_models/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "subj_models"
8
+ spec.version = SubjModels::VERSION
9
+ spec.authors = ["Denys Dvoriashyn"]
10
+ spec.email = ["dd@rademade.com"]
11
+
12
+ spec.summary = %q{Move models from some project to gem.}
13
+ spec.description = %q{}
14
+
15
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
16
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
17
+ if spec.respond_to?(:metadata)
18
+ spec.metadata['allowed_push_host'] = "https://rubygems.org"
19
+ else
20
+ raise "RubyGems 2.0 or newer is required to protect against " \
21
+ "public gem pushes."
22
+ end
23
+
24
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
25
+ f.match(%r{^(test|spec|features)/})
26
+ end
27
+ spec.bindir = "exe"
28
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.require_paths = ["lib"]
30
+
31
+ spec.add_development_dependency "bundler", "~> 1.13"
32
+ spec.add_development_dependency "rake", "~> 10.0"
33
+ end
data/subj_models.iml ADDED
@@ -0,0 +1,9 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="jdk" jdkName="ruby-2.0.0-p648" jdkType="RUBY_SDK" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
+ </module>
metadata ADDED
@@ -0,0 +1,87 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: subj_models
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.02
5
+ platform: ruby
6
+ authors:
7
+ - Denys Dvoriashyn
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-09-27 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ description: ''
42
+ email:
43
+ - dd@rademade.com
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - ".gitignore"
49
+ - ".idea/compiler.xml"
50
+ - ".idea/copyright/profiles_settings.xml"
51
+ - ".idea/misc.xml"
52
+ - ".idea/modules.xml"
53
+ - ".idea/workspace.xml"
54
+ - Gemfile
55
+ - README.md
56
+ - Rakefile
57
+ - bin/console
58
+ - bin/setup
59
+ - lib/subj_models.rb
60
+ - lib/subj_models/version.rb
61
+ - subj_models.gemspec
62
+ - subj_models.iml
63
+ homepage:
64
+ licenses: []
65
+ metadata:
66
+ allowed_push_host: https://rubygems.org
67
+ post_install_message:
68
+ rdoc_options: []
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ requirements: []
82
+ rubyforge_project:
83
+ rubygems_version: 2.6.6
84
+ signing_key:
85
+ specification_version: 4
86
+ summary: Move models from some project to gem.
87
+ test_files: []