xml_schema_mapper 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore ADDED
@@ -0,0 +1,17 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ Gemfile.lock
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
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" /></Settings>
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
+ </project>
5
+
data/.idea/misc.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectResources">
4
+ <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-1.9.3-p194" project-jdk-type="RUBY_SDK" />
7
+ </project>
8
+
data/.idea/modules.xml ADDED
@@ -0,0 +1,9 @@
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/xml_schema_mapper.iml" filepath="$PROJECT_DIR$/.idea/xml_schema_mapper.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
9
+
@@ -0,0 +1,5 @@
1
+ <component name="DependencyValidationManager">
2
+ <state>
3
+ <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
+ </state>
5
+ </component>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ </component>
6
+ </project>
7
+
@@ -0,0 +1,459 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="d17f87e5-1f21-47cf-97fe-c3de59883a80" name="Default" comment="">
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/xml_schema_mapper.iml" afterPath="$PROJECT_DIR$/.idea/xml_schema_mapper.iml" />
6
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/misc.xml" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
7
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
8
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
9
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Guardfile" afterPath="$PROJECT_DIR$/Guardfile" />
10
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/xml_schema_mapper.rb" afterPath="$PROJECT_DIR$/lib/xml_schema_mapper.rb" />
11
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/xml_schema_mapper/builder.rb" afterPath="$PROJECT_DIR$/lib/xml_schema_mapper/builder.rb" />
12
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/xml_schema_mapper/element.rb" afterPath="$PROJECT_DIR$/lib/xml_schema_mapper/element.rb" />
13
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/xml_schema_mapper/parser.rb" afterPath="$PROJECT_DIR$/lib/xml_schema_mapper/parser.rb" />
14
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/build_xml_spec.rb" afterPath="$PROJECT_DIR$/spec/build_xml_spec.rb" />
15
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/builder_spec.rb" afterPath="$PROJECT_DIR$/spec/builder_spec.rb" />
16
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/fixtures/UserService.xsd" afterPath="$PROJECT_DIR$/spec/fixtures/UserService.xsd" />
17
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/fixtures/get_first_name.xml" afterPath="$PROJECT_DIR$/spec/fixtures/get_first_name.xml" />
18
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/fixtures/instance1.xml" afterPath="$PROJECT_DIR$/spec/fixtures/instance1.xml" />
19
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/spec/fixtures/user_service.rb" afterPath="$PROJECT_DIR$/spec/fixtures/user_service.rb" />
20
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/xml_schema_mapper.gemspec" afterPath="$PROJECT_DIR$/xml_schema_mapper.gemspec" />
21
+ </list>
22
+ <ignored path="xml_schema_mapper.iws" />
23
+ <ignored path=".idea/workspace.xml" />
24
+ <option name="TRACKING_ENABLED" value="true" />
25
+ <option name="SHOW_DIALOG" value="false" />
26
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
27
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
28
+ <option name="LAST_RESOLUTION" value="IGNORE" />
29
+ </component>
30
+ <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
31
+ <component name="CreatePatchCommitExecutor">
32
+ <option name="PATCH_PATH" value="" />
33
+ </component>
34
+ <component name="DaemonCodeAnalyzer">
35
+ <disable_hints />
36
+ </component>
37
+ <component name="FavoritesManager">
38
+ <favorites_list name="xml_schema_mapper" />
39
+ </component>
40
+ <component name="FileEditorManager">
41
+ <leaf />
42
+ </component>
43
+ <component name="FindManager">
44
+ <FindUsagesManager>
45
+ <setting name="OPEN_NEW_TAB" value="false" />
46
+ </FindUsagesManager>
47
+ </component>
48
+ <component name="Git.Settings">
49
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
50
+ </component>
51
+ <component name="IdeDocumentHistory">
52
+ <option name="changedFiles">
53
+ <list>
54
+ <option value="$USER_HOME$/.rvm/gems/ruby-1.9.3-p125/gems/thor-0.14.6/lib/thor/actions/create_file.rb" />
55
+ <option value="$USER_HOME$/.rvm/gems/ruby-1.9.3-p194/gems/thor-0.14.6/lib/thor/actions/create_file.rb" />
56
+ <option value="$PROJECT_DIR$/Gemfile" />
57
+ <option value="$PROJECT_DIR$/xml_schema_mapper.gemspec" />
58
+ <option value="$PROJECT_DIR$/lib/xml_schema_mapper/parser.rb" />
59
+ <option value="$PROJECT_DIR$/spec/builder_spec.rb" />
60
+ <option value="$PROJECT_DIR$/spec/element_spec.rb" />
61
+ <option value="$PROJECT_DIR$/spec/fixtures/user_service.rb" />
62
+ <option value="$PROJECT_DIR$/../libxml-ruby/lib/libxml/schema.rb" />
63
+ <option value="$PROJECT_DIR$/lib/thor/templates/mapper_spec.erb" />
64
+ <option value="$PROJECT_DIR$/lib/thor/templates/mapper_class.erb" />
65
+ <option value="$PROJECT_DIR$/lib/thor/templates/converter_class.erb" />
66
+ <option value="$PROJECT_DIR$/lib/thor/xsd_mappers.rb" />
67
+ <option value="$PROJECT_DIR$/lib/xml_schema_mapper/element.rb" />
68
+ <option value="$PROJECT_DIR$/lib/xml_schema_mapper.rb" />
69
+ <option value="$PROJECT_DIR$/lib/xml_schema_mapper/builder.rb" />
70
+ </list>
71
+ </option>
72
+ </component>
73
+ <component name="ProjectFrameBounds">
74
+ <option name="y" value="22" />
75
+ <option name="width" value="1440" />
76
+ <option name="height" value="874" />
77
+ </component>
78
+ <component name="ProjectLevelVcsManager" settingsEditedManually="false">
79
+ <OptionsSetting value="true" id="Add" />
80
+ <OptionsSetting value="true" id="Remove" />
81
+ <OptionsSetting value="true" id="Checkout" />
82
+ <OptionsSetting value="true" id="Update" />
83
+ <OptionsSetting value="true" id="Status" />
84
+ <OptionsSetting value="true" id="Edit" />
85
+ <ConfirmationsSetting value="1" id="Add" />
86
+ <ConfirmationsSetting value="0" id="Remove" />
87
+ </component>
88
+ <component name="ProjectReloadState">
89
+ <option name="STATE" value="0" />
90
+ </component>
91
+ <component name="ProjectView">
92
+ <navigator currentView="ProjectPane" proportions="" version="1" splitterProportion="0.5">
93
+ <flattenPackages />
94
+ <showMembers />
95
+ <showModules />
96
+ <showLibraryContents />
97
+ <hideEmptyPackages />
98
+ <abbreviatePackageNames />
99
+ <autoscrollToSource />
100
+ <autoscrollFromSource />
101
+ <sortByType />
102
+ </navigator>
103
+ <panes>
104
+ <pane id="Scope">
105
+ <subPane subId="Project Files">
106
+ <PATH>
107
+ <PATH_ELEMENT USER_OBJECT="Root">
108
+ <option name="myItemId" value="" />
109
+ <option name="myItemType" value="" />
110
+ </PATH_ELEMENT>
111
+ </PATH>
112
+ </subPane>
113
+ </pane>
114
+ <pane id="ProjectPane">
115
+ <subPane>
116
+ <PATH>
117
+ <PATH_ELEMENT>
118
+ <option name="myItemId" value="xml_schema_mapper" />
119
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
120
+ </PATH_ELEMENT>
121
+ </PATH>
122
+ <PATH>
123
+ <PATH_ELEMENT>
124
+ <option name="myItemId" value="xml_schema_mapper" />
125
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
126
+ </PATH_ELEMENT>
127
+ <PATH_ELEMENT>
128
+ <option name="myItemId" value="xml_schema_mapper" />
129
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
130
+ </PATH_ELEMENT>
131
+ </PATH>
132
+ </subPane>
133
+ </pane>
134
+ </panes>
135
+ </component>
136
+ <component name="PropertiesComponent">
137
+ <property name="options.splitter.main.proportions" value="0.3" />
138
+ <property name="WebServerToolWindowFactoryState" value="false" />
139
+ <property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyIdeSdkConfigurable" />
140
+ <property name="FullScreen" value="false" />
141
+ <property name="options.searchVisible" value="true" />
142
+ <property name="options.splitter.details.proportions" value="0.2" />
143
+ </component>
144
+ <component name="RecentsManager">
145
+ <key name="CopyFile.RECENT_KEYS">
146
+ <recent name="$PROJECT_DIR$/lib/thor/templates" />
147
+ <recent name="$PROJECT_DIR$/spec/fixtures" />
148
+ <recent name="$PROJECT_DIR$/spec" />
149
+ </key>
150
+ <key name="MoveFile.RECENT_KEYS">
151
+ <recent name="$PROJECT_DIR$/lib/thor" />
152
+ </key>
153
+ </component>
154
+ <component name="RunManager">
155
+ <configuration default="true" type="RSpecRunConfigurationType" factoryName="RSpec">
156
+ <predefined_log_file id="RUBY_RSPEC" enabled="true" />
157
+ <module name="" />
158
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
159
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
160
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
161
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
162
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
163
+ <envs />
164
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
165
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
166
+ <COVERAGE_PATTERN ENABLED="true">
167
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
168
+ </COVERAGE_PATTERN>
169
+ </EXTENSION>
170
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
171
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
172
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
173
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
174
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
175
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
176
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
177
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
178
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="USE_CUSTOM_SPEC_RUNNER" VALUE="false" />
179
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
180
+ <RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
181
+ <method>
182
+ <option name="RakeTask" enabled="false" />
183
+ </method>
184
+ </configuration>
185
+ <configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
186
+ <module name="" />
187
+ <RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
188
+ <RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
189
+ <RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
190
+ <RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
191
+ <RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
192
+ <envs />
193
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
194
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
195
+ <COVERAGE_PATTERN ENABLED="true">
196
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
197
+ </COVERAGE_PATTERN>
198
+ </EXTENSION>
199
+ <RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
200
+ <RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
201
+ <method>
202
+ <option name="RakeTask" enabled="false" />
203
+ </method>
204
+ </configuration>
205
+ <configuration default="true" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest">
206
+ <predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
207
+ <module name="" />
208
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
209
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="" />
210
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
211
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
212
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
213
+ <envs />
214
+ <EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
215
+ <EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
216
+ <COVERAGE_PATTERN ENABLED="true">
217
+ <PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
218
+ </COVERAGE_PATTERN>
219
+ </EXTENSION>
220
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
221
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="" />
222
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
223
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
224
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
225
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
226
+ <RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
227
+ <method>
228
+ <option name="RakeTask" enabled="false" />
229
+ </method>
230
+ </configuration>
231
+ <list size="0" />
232
+ </component>
233
+ <component name="ShelveChangesManager" show_recycled="false" />
234
+ <component name="SvnConfiguration" maxAnnotateRevisions="500" myUseAcceleration="nothing" myAutoUpdateAfterCommit="false" cleanupOnStartRun="false">
235
+ <option name="USER" value="" />
236
+ <option name="PASSWORD" value="" />
237
+ <option name="mySSHConnectionTimeout" value="30000" />
238
+ <option name="mySSHReadTimeout" value="30000" />
239
+ <option name="LAST_MERGED_REVISION" />
240
+ <option name="MERGE_DRY_RUN" value="false" />
241
+ <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
242
+ <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
243
+ <option name="IGNORE_SPACES_IN_MERGE" value="false" />
244
+ <option name="DETECT_NESTED_COPIES" value="true" />
245
+ <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
246
+ <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
247
+ <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
248
+ <option name="FORCE_UPDATE" value="false" />
249
+ <configuration useDefault="false">$USER_HOME$/.subversion_IDEA</configuration>
250
+ <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
251
+ </component>
252
+ <component name="TaskManager">
253
+ <task active="true" id="Default" summary="Default task">
254
+ <changelist id="d17f87e5-1f21-47cf-97fe-c3de59883a80" name="Default" comment="" />
255
+ <created>1342347949297</created>
256
+ <updated>1342347949297</updated>
257
+ </task>
258
+ <servers />
259
+ </component>
260
+ <component name="ToolWindowManager">
261
+ <frame x="0" y="22" width="1440" height="874" extended-state="0" />
262
+ <editor active="false" />
263
+ <layout>
264
+ <window_info id="Messages" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32947233" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
265
+ <window_info id="Data Sources" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
266
+ <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
267
+ <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
268
+ <window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
269
+ <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25431034" sideWeight="0.6705277" order="0" side_tool="false" content_ui="combo" />
270
+ <window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
271
+ <window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
272
+ <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.32947233" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
273
+ <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
274
+ <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
275
+ <window_info id="Documentation" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="FLOATING" visible="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" x="100" y="122" width="1240" height="674" />
276
+ <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
277
+ <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
278
+ <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
279
+ <window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
280
+ <window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
281
+ <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
282
+ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
283
+ </layout>
284
+ </component>
285
+ <component name="VcsContentAnnotationSettings">
286
+ <option name="myLimit" value="2678400000" />
287
+ </component>
288
+ <component name="VcsManagerConfiguration">
289
+ <option name="OFFER_MOVE_TO_ANOTHER_CHANGELIST_ON_PARTIAL_COMMIT" value="true" />
290
+ <option name="CHECK_CODE_SMELLS_BEFORE_PROJECT_COMMIT" value="true" />
291
+ <option name="CHECK_NEW_TODO" value="true" />
292
+ <option name="myTodoPanelSettings">
293
+ <value>
294
+ <are-packages-shown value="false" />
295
+ <are-modules-shown value="false" />
296
+ <flatten-packages value="false" />
297
+ <is-autoscroll-to-source value="false" />
298
+ </value>
299
+ </option>
300
+ <option name="PERFORM_UPDATE_IN_BACKGROUND" value="true" />
301
+ <option name="PERFORM_COMMIT_IN_BACKGROUND" value="true" />
302
+ <option name="PERFORM_EDIT_IN_BACKGROUND" value="true" />
303
+ <option name="PERFORM_CHECKOUT_IN_BACKGROUND" value="true" />
304
+ <option name="PERFORM_ADD_REMOVE_IN_BACKGROUND" value="true" />
305
+ <option name="PERFORM_ROLLBACK_IN_BACKGROUND" value="false" />
306
+ <option name="CHECK_LOCALLY_CHANGED_CONFLICTS_IN_BACKGROUND" value="false" />
307
+ <option name="ENABLE_BACKGROUND_PROCESSES" value="false" />
308
+ <option name="CHANGED_ON_SERVER_INTERVAL" value="60" />
309
+ <option name="SHOW_ONLY_CHANGED_IN_SELECTION_DIFF" value="true" />
310
+ <option name="CHECK_COMMIT_MESSAGE_SPELLING" value="true" />
311
+ <option name="DEFAULT_PATCH_EXTENSION" value="patch" />
312
+ <option name="SHORT_DIFF_HORISONTALLY" value="true" />
313
+ <option name="SHORT_DIFF_EXTRA_LINES" value="2" />
314
+ <option name="SOFT_WRAPS_IN_SHORT_DIFF" value="true" />
315
+ <option name="INCLUDE_TEXT_INTO_PATCH" value="false" />
316
+ <option name="INCLUDE_TEXT_INTO_SHELF" value="false" />
317
+ <option name="CREATE_PATCH_EXPAND_DETAILS_DEFAULT" value="true" />
318
+ <option name="SHOW_FILE_HISTORY_DETAILS" value="true" />
319
+ <option name="SHOW_VCS_ERROR_NOTIFICATIONS" value="true" />
320
+ <option name="FORCE_NON_EMPTY_COMMENT" value="false" />
321
+ <option name="CLEAR_INITIAL_COMMIT_MESSAGE" value="false" />
322
+ <option name="LAST_COMMIT_MESSAGE" />
323
+ <option name="MAKE_NEW_CHANGELIST_ACTIVE" value="false" />
324
+ <option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="false" />
325
+ <option name="CHECK_FILES_UP_TO_DATE_BEFORE_COMMIT" value="false" />
326
+ <option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="false" />
327
+ <option name="REFORMAT_BEFORE_FILE_COMMIT" value="false" />
328
+ <option name="FILE_HISTORY_DIALOG_COMMENTS_SPLITTER_PROPORTION" value="0.8" />
329
+ <option name="FILE_HISTORY_DIALOG_SPLITTER_PROPORTION" value="0.5" />
330
+ <option name="ACTIVE_VCS_NAME" />
331
+ <option name="UPDATE_GROUP_BY_PACKAGES" value="false" />
332
+ <option name="UPDATE_GROUP_BY_CHANGELIST" value="false" />
333
+ <option name="SHOW_FILE_HISTORY_AS_TREE" value="false" />
334
+ <option name="FILE_HISTORY_SPLITTER_PROPORTION" value="0.6" />
335
+ </component>
336
+ <component name="XDebuggerManager">
337
+ <breakpoint-manager />
338
+ </component>
339
+ <component name="editorHistoryManager">
340
+ <entry file="file://$APPLICATION_HOME_DIR$/rubystubs19/module.rb">
341
+ <provider selected="true" editor-type-id="text-editor">
342
+ <state line="6" column="6" selection-start="198" selection-end="198" vertical-scroll-proportion="-0.6813187">
343
+ <folding />
344
+ </state>
345
+ </provider>
346
+ </entry>
347
+ <entry file="file://$USER_HOME$/.rvm/gems/ruby-1.9.3-p194/gems/virtus-0.5.1/lib/virtus/attributes_accessor.rb">
348
+ <provider selected="true" editor-type-id="text-editor">
349
+ <state line="42" column="44" selection-start="1047" selection-end="1047" vertical-scroll-proportion="0.63736266">
350
+ <folding />
351
+ </state>
352
+ </provider>
353
+ </entry>
354
+ <entry file="file://$PROJECT_DIR$/../libxml-ruby/lib/libxml/schema.rb">
355
+ <provider selected="true" editor-type-id="text-editor">
356
+ <state line="62" column="26" selection-start="2339" selection-end="2339" vertical-scroll-proportion="0.448">
357
+ <folding>
358
+ <element signature="e#50#1953#0" expanded="false" />
359
+ </folding>
360
+ </state>
361
+ </provider>
362
+ </entry>
363
+ <entry file="file://$PROJECT_DIR$/lib/thor/templates/mapper_spec.erb">
364
+ <provider selected="true" editor-type-id="text-editor">
365
+ <state line="8" column="11" selection-start="223" selection-end="223" vertical-scroll-proportion="0.17582418">
366
+ <folding />
367
+ </state>
368
+ </provider>
369
+ </entry>
370
+ <entry file="file://$PROJECT_DIR$/lib/thor/templates/converter_spec.erb">
371
+ <provider selected="true" editor-type-id="text-editor">
372
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
373
+ <folding />
374
+ </state>
375
+ </provider>
376
+ </entry>
377
+ <entry file="file://$PROJECT_DIR$/../libxml-ruby/lib/libxml/schema/element.rb">
378
+ <provider selected="true" editor-type-id="text-editor">
379
+ <state line="6" column="10" selection-start="83" selection-end="83" vertical-scroll-proportion="0.128">
380
+ <folding />
381
+ </state>
382
+ </provider>
383
+ </entry>
384
+ <entry file="file://$PROJECT_DIR$/spec/xml_schema_mapper_spec.rb">
385
+ <provider selected="true" editor-type-id="text-editor">
386
+ <state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
387
+ <folding />
388
+ </state>
389
+ </provider>
390
+ </entry>
391
+ <entry file="file://$PROJECT_DIR$/lib/thor/templates/converter_class.erb">
392
+ <provider selected="true" editor-type-id="text-editor">
393
+ <state line="0" column="0" selection-start="0" selection-end="308" vertical-scroll-proportion="0.0">
394
+ <folding />
395
+ </state>
396
+ </provider>
397
+ </entry>
398
+ <entry file="file://$PROJECT_DIR$/lib/thor/templates/mapper_class.erb">
399
+ <provider selected="true" editor-type-id="text-editor">
400
+ <state line="1" column="62" selection-start="104" selection-end="104" vertical-scroll-proportion="0.0">
401
+ <folding />
402
+ </state>
403
+ </provider>
404
+ </entry>
405
+ <entry file="file://$PROJECT_DIR$/lib/thor/xsd_mappers.rb">
406
+ <provider selected="true" editor-type-id="text-editor">
407
+ <state line="69" column="98" selection-start="2119" selection-end="2119" vertical-scroll-proportion="0.85333335">
408
+ <folding />
409
+ </state>
410
+ </provider>
411
+ </entry>
412
+ <entry file="file://$PROJECT_DIR$/lib/xml_schema_mapper/element.rb">
413
+ <provider selected="true" editor-type-id="text-editor">
414
+ <state line="21" column="22" selection-start="500" selection-end="500" vertical-scroll-proportion="0.0">
415
+ <folding />
416
+ </state>
417
+ </provider>
418
+ </entry>
419
+ <entry file="file://$PROJECT_DIR$/lib/xml_schema_mapper.rb">
420
+ <provider selected="true" editor-type-id="text-editor">
421
+ <state line="68" column="67" selection-start="1849" selection-end="1849" vertical-scroll-proportion="0.71466666">
422
+ <folding />
423
+ </state>
424
+ </provider>
425
+ </entry>
426
+ <entry file="file://$PROJECT_DIR$/lib/xml_schema_mapper/builder.rb">
427
+ <provider selected="true" editor-type-id="text-editor">
428
+ <state line="20" column="30" selection-start="479" selection-end="479" vertical-scroll-proportion="0.384">
429
+ <folding />
430
+ </state>
431
+ </provider>
432
+ </entry>
433
+ <entry file="file://$PROJECT_DIR$/lib/xml_schema_mapper/parser.rb">
434
+ <provider selected="true" editor-type-id="text-editor">
435
+ <state line="20" column="33" selection-start="464" selection-end="464" vertical-scroll-proportion="0.0">
436
+ <folding />
437
+ </state>
438
+ </provider>
439
+ </entry>
440
+ <entry file="file://$PROJECT_DIR$/spec/element_spec.rb">
441
+ <provider selected="true" editor-type-id="text-editor">
442
+ <state line="11" column="8" selection-start="243" selection-end="243" vertical-scroll-proportion="0.0">
443
+ <folding>
444
+ <marker date="1342624096000" expanded="true" signature="-1:-1" placeholder="{ ... }" />
445
+ <marker date="1342624096000" expanded="true" signature="-1:-1" placeholder="do ... end" />
446
+ </folding>
447
+ </state>
448
+ </provider>
449
+ </entry>
450
+ <entry file="file://$PROJECT_DIR$/Gemfile">
451
+ <provider selected="true" editor-type-id="text-editor">
452
+ <state line="3" column="11" selection-start="146" selection-end="146" vertical-scroll-proportion="0.0">
453
+ <folding />
454
+ </state>
455
+ </provider>
456
+ </entry>
457
+ </component>
458
+ </project>
459
+
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module type="RUBY_MODULE" version="4">
3
+ <component name="NewModuleRootManager">
4
+ <content url="file://$MODULE_DIR$" />
5
+ <orderEntry type="inheritedJdk" />
6
+ <orderEntry type="sourceFolder" forTests="false" />
7
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v3.2.6, RVM: ruby-1.9.3-p194) [gem]" level="application" />
8
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.1.3, RVM: ruby-1.9.3-p194) [gem]" level="application" />
9
+ <orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.1.3, RVM: ruby-1.9.3-p194) [gem]" level="application" />
10
+ <orderEntry type="library" scope="PROVIDED" name="ffi (v1.0.11, RVM: ruby-1.9.3-p194) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="guard (v1.2.3, RVM: ruby-1.9.3-p194) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="guard-rspec (v1.2.0, RVM: ruby-1.9.3-p194) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="i18n (v0.6.0, RVM: ruby-1.9.3-p194) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="libxml-ruby (vruby, /Users/antonsozontov/Projects/libxml-ruby) [path][gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="listen (v0.4.7, RVM: ruby-1.9.3-p194) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="multi_json (v1.3.6, RVM: ruby-1.9.3-p194) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.5.5, RVM: ruby-1.9.3-p194) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="rb-fchange (v0.0.5, RVM: ruby-1.9.3-p194) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="rb-fsevent (v0.9.1, RVM: ruby-1.9.3-p194) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="rb-inotify (v0.8.8, RVM: ruby-1.9.3-p194) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="rspec (v2.11.0, RVM: ruby-1.9.3-p194) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="rspec-core (v2.11.0, RVM: ruby-1.9.3-p194) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v2.11.1, RVM: ruby-1.9.3-p194) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.11.1, RVM: ruby-1.9.3-p194) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="thor (v0.15.4, RVM: ruby-1.9.3-p194) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="virtus (v0.5.1, RVM: ruby-1.9.3-p194) [gem]" level="application" />
27
+ </component>
28
+ </module>
29
+
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format progress
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source 'https://rubygems.org'
2
+
3
+ #gem "libxml-ruby", :git => 'https://github.com/webgago/libxml-ruby.git', :branch => 'schema-interface'
4
+ gem "virtus"
5
+ gem "thor"
6
+ gem "libxml-ruby", :path => '../libxml-ruby/'
7
+ # Specify your gem's dependencies in xml_schema_mapper.gemspec
8
+ gemspec
data/Guardfile ADDED
@@ -0,0 +1,9 @@
1
+ # A sample Guardfile
2
+ # More info at https://github.com/guard/guard#readme
3
+
4
+ guard 'rspec', :version => 2 do
5
+ watch(%r{^spec/fixtures/.+\.rb$}) { "spec" }
6
+ watch(%r{^spec/.+_spec\.rb$}) { "spec" }
7
+ watch(%r{^lib/xml_schema_mapper/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
8
+ watch('spec/spec_helper.rb') { "spec" }
9
+ end
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Anton Sozontov
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.