upload_documents_tool 0.1.0
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 +7 -0
- data/.gitignore +14 -0
- data/.idea/.rakeTasks +7 -0
- data/.idea/markdown-navigator/profiles_settings.xml +3 -0
- data/.idea/markdown-navigator.xml +72 -0
- data/.idea/misc.xml +4 -0
- data/.idea/modules.xml +8 -0
- data/.idea/upload_documents_tool.iml +63 -0
- data/.idea/vcs.xml +6 -0
- data/.idea/workspace.xml +356 -0
- data/.rspec +3 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +175 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +6 -0
- data/app/assets/javascripts/documents.coffee +33 -0
- data/app/assets/javascripts/progress_bar.js +39 -0
- data/app/assets/javascripts/upload_document_tool.js +2 -0
- data/app/assets/stylesheets/upload_document_tool.scss +0 -0
- data/app/helpers/upload_document_tool_helper.rb +16 -0
- data/app/views/upload_documents_tool/_documents.html.erb +40 -0
- data/app/views/upload_documents_tool/_form.html.erb +21 -0
- data/app/views/upload_documents_tool/_form_error.html.erb +7 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/upload_documents_tool/validators/attachment_content_type_validator.rb +86 -0
- data/lib/upload_documents_tool/validators.rb +69 -0
- data/lib/upload_documents_tool/version.rb +3 -0
- data/lib/upload_documents_tool.rb +48 -0
- data/upload_documents_tool.gemspec +37 -0
- metadata +233 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f9e5a78462024a7dcaa1da6dad4c08dc1398d3bc
|
4
|
+
data.tar.gz: 995a237af7316a62d3ff3624ca6c6cf6d30e8810
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1b849b13b5a988a9f6120adc6cfd6a3896143e51e775bcd69c56351ba8c3071b491cdd16c733b90b408010771f78303102c93aec650e15a0db02f328371e2548
|
7
|
+
data.tar.gz: 41df7997537be087266ba02f7614352ffc44b0f16ca14bc30d3f94cb37b185f229f155866e1a7d88505b0000ac52afc3a85a41a76f93961abee8bef75471812e
|
data/.gitignore
ADDED
data/.idea/.rakeTasks
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<Settings><!--This file was automatically generated by Ruby plugin.
|
3
|
+
You are allowed to:
|
4
|
+
1. Remove rake task
|
5
|
+
2. Add existing rake tasks
|
6
|
+
To add existing rake tasks automatically delete this file and reload the project.
|
7
|
+
--><RakeGroup description="" fullCmd="" taksId="rake"><RakeTask description="Build upload_documents_tool-0.1.0.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated files" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install upload_documents_tool-0.1.0.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install upload_documents_tool-0.1.0.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.1.0 and build and push upload_documents_tool-0.1.0.gem to TODO: Set to 'http://mygemserver.com'" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Run RSpec code examples" fullCmd="spec" taksId="spec" /><RakeTask description="" fullCmd="default" taksId="default" /><RakeTask description="" fullCmd="release" taksId="release" /><RakeGroup description="" fullCmd="" taksId="release"><RakeTask description="" fullCmd="release:guard_clean" taksId="guard_clean" /><RakeTask description="" fullCmd="release:rubygem_push" taksId="rubygem_push" /><RakeTask description="" fullCmd="release:source_control_push" taksId="source_control_push" /></RakeGroup></RakeGroup></Settings>
|
@@ -0,0 +1,72 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="MarkdownProjectSettings">
|
4
|
+
<PreviewSettings splitEditorLayout="SPLIT" splitEditorPreview="PREVIEW" useGrayscaleRendering="false" zoomFactor="1.25" maxImageWidth="0" showGitHubPageIfSynced="false" allowBrowsingInPreview="false" synchronizePreviewPosition="true" highlightPreviewType="NONE" highlightFadeOut="5" highlightOnTyping="true" synchronizeSourcePosition="true" verticallyAlignSourceAndPreviewSyncPosition="true" showSearchHighlightsInPreview="false" showSelectionInPreview="true">
|
5
|
+
<PanelProvider>
|
6
|
+
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.panel" providerName="Default - Swing" />
|
7
|
+
</PanelProvider>
|
8
|
+
</PreviewSettings>
|
9
|
+
<ParserSettings gitHubSyntaxChange="false">
|
10
|
+
<PegdownExtensions>
|
11
|
+
<option name="ABBREVIATIONS" value="false" />
|
12
|
+
<option name="ANCHORLINKS" value="true" />
|
13
|
+
<option name="ASIDE" value="false" />
|
14
|
+
<option name="ATXHEADERSPACE" value="true" />
|
15
|
+
<option name="AUTOLINKS" value="true" />
|
16
|
+
<option name="DEFINITIONS" value="false" />
|
17
|
+
<option name="DEFINITION_BREAK_DOUBLE_BLANK_LINE" value="false" />
|
18
|
+
<option name="FENCED_CODE_BLOCKS" value="true" />
|
19
|
+
<option name="FOOTNOTES" value="false" />
|
20
|
+
<option name="HARDWRAPS" value="false" />
|
21
|
+
<option name="HTML_DEEP_PARSER" value="false" />
|
22
|
+
<option name="INSERTED" value="false" />
|
23
|
+
<option name="QUOTES" value="false" />
|
24
|
+
<option name="RELAXEDHRULES" value="true" />
|
25
|
+
<option name="SMARTS" value="false" />
|
26
|
+
<option name="STRIKETHROUGH" value="true" />
|
27
|
+
<option name="SUBSCRIPT" value="false" />
|
28
|
+
<option name="SUPERSCRIPT" value="false" />
|
29
|
+
<option name="SUPPRESS_HTML_BLOCKS" value="false" />
|
30
|
+
<option name="SUPPRESS_INLINE_HTML" value="false" />
|
31
|
+
<option name="TABLES" value="true" />
|
32
|
+
<option name="TASKLISTITEMS" value="true" />
|
33
|
+
<option name="TOC" value="false" />
|
34
|
+
<option name="WIKILINKS" value="true" />
|
35
|
+
</PegdownExtensions>
|
36
|
+
<ParserOptions>
|
37
|
+
<option name="COMMONMARK_LISTS" value="true" />
|
38
|
+
<option name="DUMMY" value="false" />
|
39
|
+
<option name="EMOJI_SHORTCUTS" value="true" />
|
40
|
+
<option name="FLEXMARK_FRONT_MATTER" value="false" />
|
41
|
+
<option name="GFM_LOOSE_BLANK_LINE_AFTER_ITEM_PARA" value="false" />
|
42
|
+
<option name="GFM_TABLE_RENDERING" value="true" />
|
43
|
+
<option name="GITBOOK_URL_ENCODING" value="false" />
|
44
|
+
<option name="GITHUB_EMOJI_URL" value="false" />
|
45
|
+
<option name="GITHUB_LISTS" value="false" />
|
46
|
+
<option name="GITHUB_WIKI_LINKS" value="true" />
|
47
|
+
<option name="JEKYLL_FRONT_MATTER" value="false" />
|
48
|
+
<option name="SIM_TOC_BLANK_LINE_SPACER" value="true" />
|
49
|
+
</ParserOptions>
|
50
|
+
</ParserSettings>
|
51
|
+
<HtmlSettings headerTopEnabled="false" headerBottomEnabled="false" bodyTopEnabled="false" bodyBottomEnabled="false" embedUrlContent="false" addPageHeader="true">
|
52
|
+
<GeneratorProvider>
|
53
|
+
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.generator" providerName="Default Swing HTML Generator" />
|
54
|
+
</GeneratorProvider>
|
55
|
+
<headerTop />
|
56
|
+
<headerBottom />
|
57
|
+
<bodyTop />
|
58
|
+
<bodyBottom />
|
59
|
+
</HtmlSettings>
|
60
|
+
<CssSettings previewScheme="UI_SCHEME" cssUri="" isCssUriEnabled="false" isCssTextEnabled="false" isDynamicPageWidth="true">
|
61
|
+
<StylesheetProvider>
|
62
|
+
<provider providerId="com.vladsch.idea.multimarkdown.editor.swing.html.css" providerName="Default Swing Stylesheet" />
|
63
|
+
</StylesheetProvider>
|
64
|
+
<ScriptProviders />
|
65
|
+
<cssText />
|
66
|
+
</CssSettings>
|
67
|
+
<HtmlExportSettings updateOnSave="false" parentDir="$ProjectFileDir$" targetDir="$ProjectFileDir$" cssDir="" scriptDir="" plainHtml="false" imageDir="" copyLinkedImages="false" imageUniquifyType="0" targetExt="" useTargetExt="false" noCssNoScripts="false" linkToExportedHtml="true" exportOnSettingsChange="true" regenerateOnProjectOpen="false" />
|
68
|
+
<LinkMapSettings>
|
69
|
+
<textMaps />
|
70
|
+
</LinkMapSettings>
|
71
|
+
</component>
|
72
|
+
</project>
|
data/.idea/misc.xml
ADDED
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$/.idea/upload_documents_tool.iml" filepath="$PROJECT_DIR$/.idea/upload_documents_tool.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
@@ -0,0 +1,63 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="ModuleRunConfigurationManager">
|
4
|
+
<shared />
|
5
|
+
</component>
|
6
|
+
<component name="NewModuleRootManager">
|
7
|
+
<content url="file://$MODULE_DIR$" />
|
8
|
+
<orderEntry type="inheritedJdk" />
|
9
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="actionpack (v4.2.10, RVM: ruby-2.3.1) [gem]" level="application" />
|
11
|
+
<orderEntry type="library" scope="PROVIDED" name="actionview (v4.2.10, RVM: ruby-2.3.1) [gem]" level="application" />
|
12
|
+
<orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.10, RVM: ruby-2.3.1) [gem]" level="application" />
|
13
|
+
<orderEntry type="library" scope="PROVIDED" name="arel (v6.0.4, RVM: ruby-2.3.1) [gem]" level="application" />
|
14
|
+
<orderEntry type="library" scope="PROVIDED" name="autoprefixer-rails (v7.1.4.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
15
|
+
<orderEntry type="library" scope="PROVIDED" name="bootstrap-sass (v3.3.7, RVM: ruby-2.3.1) [gem]" level="application" />
|
16
|
+
<orderEntry type="library" scope="PROVIDED" name="builder (v3.2.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
17
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.0.pre.2, RVM: ruby-2.3.1) [gem]" level="application" />
|
18
|
+
<orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.0.5, RVM: ruby-2.3.1) [gem]" level="application" />
|
19
|
+
<orderEntry type="library" scope="PROVIDED" name="crass (v1.0.2, RVM: ruby-2.3.1) [gem]" level="application" />
|
20
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
21
|
+
<orderEntry type="library" scope="PROVIDED" name="erubis (v2.7.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
22
|
+
<orderEntry type="library" scope="PROVIDED" name="execjs (v2.7.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
23
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.18, RVM: ruby-2.3.1) [gem]" level="application" />
|
24
|
+
<orderEntry type="library" scope="PROVIDED" name="font-awesome-sass (v4.7.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
25
|
+
<orderEntry type="library" scope="PROVIDED" name="globalid (v0.4.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
26
|
+
<orderEntry type="library" scope="PROVIDED" name="i18n (v0.8.6, RVM: ruby-2.3.1) [gem]" level="application" />
|
27
|
+
<orderEntry type="library" scope="PROVIDED" name="jasny-bootstrap-rails (v3.1.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
28
|
+
<orderEntry type="library" scope="PROVIDED" name="jquery-rails (v4.3.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
29
|
+
<orderEntry type="library" scope="PROVIDED" name="kaminari (v1.0.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
30
|
+
<orderEntry type="library" scope="PROVIDED" name="kaminari-actionview (v1.0.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
31
|
+
<orderEntry type="library" scope="PROVIDED" name="kaminari-activerecord (v1.0.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
32
|
+
<orderEntry type="library" scope="PROVIDED" name="kaminari-core (v1.0.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
33
|
+
<orderEntry type="library" scope="PROVIDED" name="loofah (v2.1.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
34
|
+
<orderEntry type="library" scope="PROVIDED" name="mail (v2.6.6, RVM: ruby-2.3.1) [gem]" level="application" />
|
35
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types (v3.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
36
|
+
<orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2016.0521, RVM: ruby-2.3.1) [gem]" level="application" />
|
37
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.3.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
38
|
+
<orderEntry type="library" scope="PROVIDED" name="minitest (v5.10.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
39
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.8.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
40
|
+
<orderEntry type="library" scope="PROVIDED" name="rack (v1.6.8, RVM: ruby-2.3.1) [gem]" level="application" />
|
41
|
+
<orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
42
|
+
<orderEntry type="library" scope="PROVIDED" name="rails-deprecated_sanitizer (v1.0.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
43
|
+
<orderEntry type="library" scope="PROVIDED" name="rails-dom-testing (v1.0.8, RVM: ruby-2.3.1) [gem]" level="application" />
|
44
|
+
<orderEntry type="library" scope="PROVIDED" name="rails-html-sanitizer (v1.0.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="railties (v4.2.10, RVM: ruby-2.3.1) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.5.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.10.2, RVM: ruby-2.3.1) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.9.10, RVM: ruby-2.3.1) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec (v3.6.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
50
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.6.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
51
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.6.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
52
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.6.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
53
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.6.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
54
|
+
<orderEntry type="library" scope="PROVIDED" name="sass (v3.5.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
55
|
+
<orderEntry type="library" scope="PROVIDED" name="sass-listen (v4.0.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
56
|
+
<orderEntry type="library" scope="PROVIDED" name="sprockets (v3.7.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
57
|
+
<orderEntry type="library" scope="PROVIDED" name="sprockets-rails (v3.2.1, RVM: ruby-2.3.1) [gem]" level="application" />
|
58
|
+
<orderEntry type="library" scope="PROVIDED" name="thor (v0.20.0, RVM: ruby-2.3.1) [gem]" level="application" />
|
59
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.3.1) [gem]" level="application" />
|
60
|
+
<orderEntry type="library" scope="PROVIDED" name="toastr-rails (v1.0.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
61
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.3, RVM: ruby-2.3.1) [gem]" level="application" />
|
62
|
+
</component>
|
63
|
+
</module>
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,356 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="df46d33f-74ef-431f-8aed-cd7454e07a46" name="Default" comment="">
|
5
|
+
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/upload_documents_tool.gemspec" afterPath="$PROJECT_DIR$/upload_documents_tool.gemspec" />
|
6
|
+
</list>
|
7
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
8
|
+
<option name="TRACKING_ENABLED" value="true" />
|
9
|
+
<option name="SHOW_DIALOG" value="false" />
|
10
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
11
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
12
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
13
|
+
</component>
|
14
|
+
<component name="FileEditorManager">
|
15
|
+
<leaf>
|
16
|
+
<file leaf-file-name="upload_document_tool_helper.rb" pinned="false" current-in-tab="false">
|
17
|
+
<entry file="file://$PROJECT_DIR$/app/helpers/upload_document_tool_helper.rb">
|
18
|
+
<provider selected="true" editor-type-id="text-editor">
|
19
|
+
<state relative-caret-position="95">
|
20
|
+
<caret line="5" column="75" lean-forward="false" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
|
21
|
+
<folding />
|
22
|
+
</state>
|
23
|
+
</provider>
|
24
|
+
</entry>
|
25
|
+
</file>
|
26
|
+
<file leaf-file-name="upload_documents_tool.gemspec" pinned="false" current-in-tab="true">
|
27
|
+
<entry file="file://$PROJECT_DIR$/upload_documents_tool.gemspec">
|
28
|
+
<provider selected="true" editor-type-id="text-editor">
|
29
|
+
<state relative-caret-position="261">
|
30
|
+
<caret line="16" column="28" lean-forward="false" selection-start-line="16" selection-start-column="28" selection-end-line="16" selection-end-column="28" />
|
31
|
+
<folding />
|
32
|
+
</state>
|
33
|
+
</provider>
|
34
|
+
</entry>
|
35
|
+
</file>
|
36
|
+
<file leaf-file-name="_documents.html.erb" pinned="false" current-in-tab="false">
|
37
|
+
<entry file="file://$PROJECT_DIR$/app/views/upload_documents_tool/_documents.html.erb">
|
38
|
+
<provider selected="true" editor-type-id="text-editor">
|
39
|
+
<state relative-caret-position="95">
|
40
|
+
<caret line="5" column="14" lean-forward="false" selection-start-line="5" selection-start-column="14" selection-end-line="5" selection-end-column="14" />
|
41
|
+
<folding />
|
42
|
+
</state>
|
43
|
+
</provider>
|
44
|
+
</entry>
|
45
|
+
</file>
|
46
|
+
<file leaf-file-name="_form.html.erb" pinned="false" current-in-tab="false">
|
47
|
+
<entry file="file://$PROJECT_DIR$/app/views/upload_documents_tool/_form.html.erb">
|
48
|
+
<provider selected="true" editor-type-id="text-editor">
|
49
|
+
<state relative-caret-position="38">
|
50
|
+
<caret line="2" column="71" lean-forward="false" selection-start-line="2" selection-start-column="71" selection-end-line="2" selection-end-column="71" />
|
51
|
+
<folding />
|
52
|
+
</state>
|
53
|
+
</provider>
|
54
|
+
</entry>
|
55
|
+
</file>
|
56
|
+
<file leaf-file-name="_form_error.html.erb" pinned="false" current-in-tab="false">
|
57
|
+
<entry file="file://$PROJECT_DIR$/app/views/upload_documents_tool/_form_error.html.erb">
|
58
|
+
<provider selected="true" editor-type-id="text-editor">
|
59
|
+
<state relative-caret-position="57">
|
60
|
+
<caret line="3" column="14" lean-forward="false" selection-start-line="3" selection-start-column="14" selection-end-line="3" selection-end-column="14" />
|
61
|
+
<folding />
|
62
|
+
</state>
|
63
|
+
</provider>
|
64
|
+
</entry>
|
65
|
+
</file>
|
66
|
+
</leaf>
|
67
|
+
</component>
|
68
|
+
<component name="FileTemplateManagerImpl">
|
69
|
+
<option name="RECENT_TEMPLATES">
|
70
|
+
<list>
|
71
|
+
<option value="SCSS File" />
|
72
|
+
<option value="JavaScript File" />
|
73
|
+
<option value="CoffeeScript File" />
|
74
|
+
<option value="Ruby Empty" />
|
75
|
+
<option value="Erb File" />
|
76
|
+
</list>
|
77
|
+
</option>
|
78
|
+
</component>
|
79
|
+
<component name="Git.Settings">
|
80
|
+
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
81
|
+
</component>
|
82
|
+
<component name="IdeDocumentHistory">
|
83
|
+
<option name="CHANGED_PATHS">
|
84
|
+
<list>
|
85
|
+
<option value="$PROJECT_DIR$/.gitignore" />
|
86
|
+
<option value="$PROJECT_DIR$/app/assets/stylesheets/upload_document_tool.scss" />
|
87
|
+
<option value="$PROJECT_DIR$/lib/upload_documents_tool.rb" />
|
88
|
+
<option value="$PROJECT_DIR$/lib/upload_documents_tool/validators/attachment_content_type_validator.rb" />
|
89
|
+
<option value="$PROJECT_DIR$/lib/upload_documents_tool/validators.rb" />
|
90
|
+
<option value="$PROJECT_DIR$/app/assets/javascripts/documents.coffee" />
|
91
|
+
<option value="$PROJECT_DIR$/app/assets/javascripts/progress_bar.js" />
|
92
|
+
<option value="$PROJECT_DIR$/app/assets/javascripts/upload_document_tool.js" />
|
93
|
+
<option value="$PROJECT_DIR$/app/views/upload_documents_tool/_documents.html.erb" />
|
94
|
+
<option value="$PROJECT_DIR$/app/views/upload_documents_tool/_form.html.erb" />
|
95
|
+
<option value="$PROJECT_DIR$/app/views/upload_documents_tool/_form_error.html.erb" />
|
96
|
+
<option value="$PROJECT_DIR$/app/helpers/upload_document_tool_helper.rb" />
|
97
|
+
<option value="$PROJECT_DIR$/upload_documents_tool.gemspec" />
|
98
|
+
</list>
|
99
|
+
</option>
|
100
|
+
</component>
|
101
|
+
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
102
|
+
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
103
|
+
<component name="JsGulpfileManager">
|
104
|
+
<detection-done>true</detection-done>
|
105
|
+
<sorting>DEFINITION_ORDER</sorting>
|
106
|
+
</component>
|
107
|
+
<component name="ProjectFrameBounds">
|
108
|
+
<option name="x" value="1" />
|
109
|
+
<option name="y" value="22" />
|
110
|
+
<option name="width" value="1920" />
|
111
|
+
<option name="height" value="1054" />
|
112
|
+
</component>
|
113
|
+
<component name="ProjectView">
|
114
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
115
|
+
<flattenPackages />
|
116
|
+
<showMembers />
|
117
|
+
<showModules />
|
118
|
+
<showLibraryContents />
|
119
|
+
<hideEmptyPackages />
|
120
|
+
<abbreviatePackageNames />
|
121
|
+
<autoscrollToSource />
|
122
|
+
<autoscrollFromSource />
|
123
|
+
<sortByType />
|
124
|
+
<manualOrder />
|
125
|
+
<foldersAlwaysOnTop value="true" />
|
126
|
+
</navigator>
|
127
|
+
<panes>
|
128
|
+
<pane id="ProjectPane">
|
129
|
+
<subPane>
|
130
|
+
<expand>
|
131
|
+
<path>
|
132
|
+
<item name="upload_documents_tool" type="b2602c69:ProjectViewProjectNode" />
|
133
|
+
<item name="upload_documents_tool" type="462c0819:PsiDirectoryNode" />
|
134
|
+
</path>
|
135
|
+
<path>
|
136
|
+
<item name="upload_documents_tool" type="b2602c69:ProjectViewProjectNode" />
|
137
|
+
<item name="upload_documents_tool" type="462c0819:PsiDirectoryNode" />
|
138
|
+
<item name="spec" type="462c0819:PsiDirectoryNode" />
|
139
|
+
</path>
|
140
|
+
</expand>
|
141
|
+
<select />
|
142
|
+
</subPane>
|
143
|
+
</pane>
|
144
|
+
<pane id="Scope" />
|
145
|
+
<pane id="Scratches" />
|
146
|
+
</panes>
|
147
|
+
</component>
|
148
|
+
<component name="PropertiesComponent">
|
149
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
150
|
+
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
151
|
+
<property name="add_unversioned_files" value="true" />
|
152
|
+
<property name="list.type.of.created.stylesheet" value="SCSS" />
|
153
|
+
</component>
|
154
|
+
<component name="RunDashboard">
|
155
|
+
<option name="ruleStates">
|
156
|
+
<list>
|
157
|
+
<RuleState>
|
158
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
159
|
+
</RuleState>
|
160
|
+
<RuleState>
|
161
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
162
|
+
</RuleState>
|
163
|
+
</list>
|
164
|
+
</option>
|
165
|
+
</component>
|
166
|
+
<component name="ShelveChangesManager" show_recycled="false">
|
167
|
+
<option name="remove_strategy" value="false" />
|
168
|
+
</component>
|
169
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
170
|
+
<component name="SvnConfiguration">
|
171
|
+
<configuration />
|
172
|
+
</component>
|
173
|
+
<component name="TaskManager">
|
174
|
+
<task active="true" id="Default" summary="Default task">
|
175
|
+
<changelist id="df46d33f-74ef-431f-8aed-cd7454e07a46" name="Default" comment="" />
|
176
|
+
<created>1507017759027</created>
|
177
|
+
<option name="number" value="Default" />
|
178
|
+
<option name="presentableId" value="Default" />
|
179
|
+
<updated>1507017759027</updated>
|
180
|
+
<workItem from="1507017760194" duration="6682000" />
|
181
|
+
</task>
|
182
|
+
<servers />
|
183
|
+
</component>
|
184
|
+
<component name="TimeTrackingManager">
|
185
|
+
<option name="totallyTimeSpent" value="6682000" />
|
186
|
+
</component>
|
187
|
+
<component name="ToolWindowManager">
|
188
|
+
<frame x="1" y="22" width="1920" height="1054" extended-state="0" />
|
189
|
+
<layout>
|
190
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.2414347" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
191
|
+
<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" />
|
192
|
+
<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="-1" side_tool="true" content_ui="tabs" />
|
193
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
194
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
195
|
+
<window_info id="Run" 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="2" side_tool="false" content_ui="tabs" />
|
196
|
+
<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" />
|
197
|
+
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.22040816" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
198
|
+
<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="-1" side_tool="true" content_ui="tabs" />
|
199
|
+
<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" />
|
200
|
+
<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="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" />
|
202
|
+
<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" />
|
203
|
+
<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" />
|
204
|
+
<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" />
|
205
|
+
<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" />
|
206
|
+
<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" />
|
207
|
+
</layout>
|
208
|
+
</component>
|
209
|
+
<component name="TypeScriptGeneratedFilesManager">
|
210
|
+
<option name="version" value="1" />
|
211
|
+
</component>
|
212
|
+
<component name="VcsContentAnnotationSettings">
|
213
|
+
<option name="myLimit" value="2678400000" />
|
214
|
+
</component>
|
215
|
+
<component name="XDebuggerManager">
|
216
|
+
<breakpoint-manager />
|
217
|
+
<watches-manager />
|
218
|
+
</component>
|
219
|
+
<component name="editorHistoryManager">
|
220
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
221
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;MarkdownPreviewEditor]">
|
222
|
+
<state split_layout="SPLIT">
|
223
|
+
<first_editor relative-caret-position="0">
|
224
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
225
|
+
<folding />
|
226
|
+
</first_editor>
|
227
|
+
<second_editor>
|
228
|
+
<js_state />
|
229
|
+
</second_editor>
|
230
|
+
</state>
|
231
|
+
</provider>
|
232
|
+
</entry>
|
233
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
234
|
+
<provider selected="true" editor-type-id="text-editor">
|
235
|
+
<state relative-caret-position="228">
|
236
|
+
<caret line="12" column="19" lean-forward="true" selection-start-line="12" selection-start-column="19" selection-end-line="12" selection-end-column="19" />
|
237
|
+
<folding />
|
238
|
+
</state>
|
239
|
+
</provider>
|
240
|
+
</entry>
|
241
|
+
<entry file="file://$PROJECT_DIR$/app/assets/stylesheets/upload_document_tool.scss">
|
242
|
+
<provider selected="true" editor-type-id="text-editor">
|
243
|
+
<state relative-caret-position="0">
|
244
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
245
|
+
<folding />
|
246
|
+
</state>
|
247
|
+
</provider>
|
248
|
+
</entry>
|
249
|
+
<entry file="file://$PROJECT_DIR$/lib/upload_documents_tool/validators/attachment_content_type_validator.rb">
|
250
|
+
<provider selected="true" editor-type-id="text-editor">
|
251
|
+
<state relative-caret-position="1615">
|
252
|
+
<caret line="85" column="3" lean-forward="false" selection-start-line="85" selection-start-column="3" selection-end-line="85" selection-end-column="3" />
|
253
|
+
<folding />
|
254
|
+
</state>
|
255
|
+
</provider>
|
256
|
+
</entry>
|
257
|
+
<entry file="file://$PROJECT_DIR$/lib/upload_documents_tool/validators.rb">
|
258
|
+
<provider selected="true" editor-type-id="text-editor">
|
259
|
+
<state relative-caret-position="57">
|
260
|
+
<caret line="3" column="76" lean-forward="true" selection-start-line="3" selection-start-column="76" selection-end-line="3" selection-end-column="76" />
|
261
|
+
<folding />
|
262
|
+
</state>
|
263
|
+
</provider>
|
264
|
+
</entry>
|
265
|
+
<entry file="file://$PROJECT_DIR$/lib/upload_documents_tool.rb">
|
266
|
+
<provider selected="true" editor-type-id="text-editor">
|
267
|
+
<state relative-caret-position="874">
|
268
|
+
<caret line="46" column="0" lean-forward="true" selection-start-line="46" selection-start-column="0" selection-end-line="46" selection-end-column="0" />
|
269
|
+
<folding />
|
270
|
+
</state>
|
271
|
+
</provider>
|
272
|
+
</entry>
|
273
|
+
<entry file="file://$PROJECT_DIR$/app/assets/javascripts/documents.coffee">
|
274
|
+
<provider selected="true" editor-type-id="text-editor">
|
275
|
+
<state relative-caret-position="608">
|
276
|
+
<caret line="32" column="4" lean-forward="false" selection-start-line="32" selection-start-column="4" selection-end-line="32" selection-end-column="4" />
|
277
|
+
<folding />
|
278
|
+
</state>
|
279
|
+
</provider>
|
280
|
+
</entry>
|
281
|
+
<entry file="file://$PROJECT_DIR$/app/assets/javascripts/upload_document_tool.js">
|
282
|
+
<provider selected="true" editor-type-id="text-editor">
|
283
|
+
<state relative-caret-position="19">
|
284
|
+
<caret line="1" column="21" lean-forward="false" selection-start-line="1" selection-start-column="21" selection-end-line="1" selection-end-column="21" />
|
285
|
+
<folding>
|
286
|
+
<element signature="n#!!doc" expanded="false" />
|
287
|
+
</folding>
|
288
|
+
</state>
|
289
|
+
</provider>
|
290
|
+
</entry>
|
291
|
+
<entry file="file://$PROJECT_DIR$/app/assets/javascripts/progress_bar.js">
|
292
|
+
<provider selected="true" editor-type-id="text-editor">
|
293
|
+
<state relative-caret-position="722">
|
294
|
+
<caret line="38" column="3" lean-forward="false" selection-start-line="38" selection-start-column="3" selection-end-line="38" selection-end-column="3" />
|
295
|
+
<folding />
|
296
|
+
</state>
|
297
|
+
</provider>
|
298
|
+
</entry>
|
299
|
+
<entry file="file://$PROJECT_DIR$/spec/upload_documents_tool_spec.rb">
|
300
|
+
<provider selected="true" editor-type-id="text-editor">
|
301
|
+
<state relative-caret-position="0">
|
302
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
303
|
+
<folding />
|
304
|
+
</state>
|
305
|
+
</provider>
|
306
|
+
</entry>
|
307
|
+
<entry file="file://$PROJECT_DIR$/spec/spec_helper.rb">
|
308
|
+
<provider selected="true" editor-type-id="text-editor">
|
309
|
+
<state relative-caret-position="0">
|
310
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
311
|
+
<folding />
|
312
|
+
</state>
|
313
|
+
</provider>
|
314
|
+
</entry>
|
315
|
+
<entry file="file://$PROJECT_DIR$/app/views/upload_documents_tool/_form_error.html.erb">
|
316
|
+
<provider selected="true" editor-type-id="text-editor">
|
317
|
+
<state relative-caret-position="57">
|
318
|
+
<caret line="3" column="14" lean-forward="false" selection-start-line="3" selection-start-column="14" selection-end-line="3" selection-end-column="14" />
|
319
|
+
<folding />
|
320
|
+
</state>
|
321
|
+
</provider>
|
322
|
+
</entry>
|
323
|
+
<entry file="file://$PROJECT_DIR$/app/views/upload_documents_tool/_form.html.erb">
|
324
|
+
<provider selected="true" editor-type-id="text-editor">
|
325
|
+
<state relative-caret-position="38">
|
326
|
+
<caret line="2" column="71" lean-forward="false" selection-start-line="2" selection-start-column="71" selection-end-line="2" selection-end-column="71" />
|
327
|
+
<folding />
|
328
|
+
</state>
|
329
|
+
</provider>
|
330
|
+
</entry>
|
331
|
+
<entry file="file://$PROJECT_DIR$/app/views/upload_documents_tool/_documents.html.erb">
|
332
|
+
<provider selected="true" editor-type-id="text-editor">
|
333
|
+
<state relative-caret-position="95">
|
334
|
+
<caret line="5" column="14" lean-forward="false" selection-start-line="5" selection-start-column="14" selection-end-line="5" selection-end-column="14" />
|
335
|
+
<folding />
|
336
|
+
</state>
|
337
|
+
</provider>
|
338
|
+
</entry>
|
339
|
+
<entry file="file://$PROJECT_DIR$/app/helpers/upload_document_tool_helper.rb">
|
340
|
+
<provider selected="true" editor-type-id="text-editor">
|
341
|
+
<state relative-caret-position="95">
|
342
|
+
<caret line="5" column="75" lean-forward="false" selection-start-line="5" selection-start-column="75" selection-end-line="5" selection-end-column="75" />
|
343
|
+
<folding />
|
344
|
+
</state>
|
345
|
+
</provider>
|
346
|
+
</entry>
|
347
|
+
<entry file="file://$PROJECT_DIR$/upload_documents_tool.gemspec">
|
348
|
+
<provider selected="true" editor-type-id="text-editor">
|
349
|
+
<state relative-caret-position="261">
|
350
|
+
<caret line="16" column="28" lean-forward="false" selection-start-line="16" selection-start-column="28" selection-end-line="16" selection-end-column="28" />
|
351
|
+
<folding />
|
352
|
+
</state>
|
353
|
+
</provider>
|
354
|
+
</entry>
|
355
|
+
</component>
|
356
|
+
</project>
|
data/.rspec
ADDED