cepbrasil 0.0.1 → 0.0.2
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 +4 -4
- data/.gitignore +14 -0
- data/.idea/.name +1 -0
- data/.idea/cepbrasil.iml +52 -0
- data/.idea/encodings.xml +5 -0
- data/.idea/misc.xml +5 -0
- data/.idea/modules.xml +9 -0
- data/.idea/scopes/scope_settings.xml +5 -0
- data/.idea/vcs.xml +7 -0
- data/.idea/workspace.xml +333 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/cepbrasil.gemspec +24 -0
- data/lib/cepbrasil/version.rb +3 -0
- metadata +45 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5892dedc8abb361d13e12498772896cf72be0ba
|
4
|
+
data.tar.gz: 5d6a4041ba1a75bb33ac2adfc44c20e897c703e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0166c73c6b25da85018202503d8dcb74aa1dbdf43259a26a41e5f450229851182992f18be4e2d4104171c0f5d4a5d31e8954b08a3bf7b37dc606539af7f70f00
|
7
|
+
data.tar.gz: de5134ecd5ba7bad094150bb0f697e9987649c16021584b021dcafae59de4a465f987adfcead2eeb8709d079580ac87a009e6849974c104ad2c6d30e16301d0c
|
data/.gitignore
ADDED
data/.idea/.name
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
cepbrasil
|
data/.idea/cepbrasil.iml
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<module type="RUBY_MODULE" version="4">
|
3
|
+
<component name="CompassSettings">
|
4
|
+
<option name="compassSupportEnabled" value="true" />
|
5
|
+
</component>
|
6
|
+
<component name="FacetManager">
|
7
|
+
<facet type="gem" name="Ruby Gem">
|
8
|
+
<configuration>
|
9
|
+
<option name="GEM_APP_ROOT_PATH" value="$MODULE_DIR$" />
|
10
|
+
<option name="GEM_APP_TEST_PATH" value="$MODULE_DIR$/test" />
|
11
|
+
<option name="GEM_APP_LIB_PATH" value="$MODULE_DIR$/lib" />
|
12
|
+
</configuration>
|
13
|
+
</facet>
|
14
|
+
</component>
|
15
|
+
<component name="ModuleRunConfigurationManager">
|
16
|
+
<configuration default="false" name="cepbrasil" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
17
|
+
<module name="cepbrasil" />
|
18
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
19
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
20
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
21
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
22
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
23
|
+
<envs />
|
24
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
25
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
26
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
27
|
+
<COVERAGE_PATTERN ENABLED="true">
|
28
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
29
|
+
</COVERAGE_PATTERN>
|
30
|
+
</EXTENSION>
|
31
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
32
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/cepbrasil.rb" />
|
33
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
34
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
35
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
36
|
+
<method />
|
37
|
+
</configuration>
|
38
|
+
</component>
|
39
|
+
<component name="NewModuleRootManager">
|
40
|
+
<content url="file://$MODULE_DIR$">
|
41
|
+
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
42
|
+
</content>
|
43
|
+
<orderEntry type="jdk" jdkName="RVM: ruby-2.0.0-p481" jdkType="RUBY_SDK" />
|
44
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
45
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.3, RVM: ruby-2.0.0-p481) [gem]" level="application" />
|
46
|
+
<orderEntry type="library" scope="PROVIDED" name="httpclient (v2.6.0.1, RVM: ruby-2.0.0-p481) [gem]" level="application" />
|
47
|
+
<orderEntry type="library" scope="PROVIDED" name="mini_portile (v0.6.2, RVM: ruby-2.0.0-p481) [gem]" level="application" />
|
48
|
+
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.6.1, RVM: ruby-2.0.0-p481) [gem]" level="application" />
|
49
|
+
<orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.0.0-p481) [gem]" level="application" />
|
50
|
+
</component>
|
51
|
+
</module>
|
52
|
+
|
data/.idea/encodings.xml
ADDED
data/.idea/misc.xml
ADDED
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/cepbrasil.iml" filepath="$PROJECT_DIR$/.idea/cepbrasil.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
9
|
+
|
data/.idea/vcs.xml
ADDED
data/.idea/workspace.xml
ADDED
@@ -0,0 +1,333 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ChangeListManager">
|
4
|
+
<list default="true" id="c815b915-a930-4b3d-9079-74931e31a398" name="Default" comment="" />
|
5
|
+
<ignored path="cepbrasil.iws" />
|
6
|
+
<ignored path=".idea/workspace.xml" />
|
7
|
+
<option name="TRACKING_ENABLED" value="true" />
|
8
|
+
<option name="SHOW_DIALOG" value="false" />
|
9
|
+
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
10
|
+
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
11
|
+
<option name="LAST_RESOLUTION" value="IGNORE" />
|
12
|
+
</component>
|
13
|
+
<component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
|
14
|
+
<component name="CoverageDataManager">
|
15
|
+
<SUITE FILE_PATH="coverage/cepbrasil@cepbrasil.coverage" NAME="cepbrasil Coverage Results" MODIFIED="1421998601723" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib" MODULE_NAME="cepbrasil" />
|
16
|
+
</component>
|
17
|
+
<component name="CreatePatchCommitExecutor">
|
18
|
+
<option name="PATCH_PATH" value="" />
|
19
|
+
</component>
|
20
|
+
<component name="DaemonCodeAnalyzer">
|
21
|
+
<disable_hints />
|
22
|
+
</component>
|
23
|
+
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
24
|
+
<component name="FavoritesManager">
|
25
|
+
<favorites_list name="cepbrasil" />
|
26
|
+
</component>
|
27
|
+
<component name="FileEditorManager">
|
28
|
+
<leaf>
|
29
|
+
<file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
|
30
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
31
|
+
<provider selected="true" editor-type-id="text-editor">
|
32
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
|
33
|
+
<caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
|
34
|
+
<folding />
|
35
|
+
</state>
|
36
|
+
</provider>
|
37
|
+
</entry>
|
38
|
+
</file>
|
39
|
+
<file leaf-file-name="cepbrasil.gemspec" pinned="false" current="true" current-in-tab="true">
|
40
|
+
<entry file="file://$PROJECT_DIR$/cepbrasil.gemspec">
|
41
|
+
<provider selected="true" editor-type-id="text-editor">
|
42
|
+
<state vertical-scroll-proportion="0.33088234" vertical-offset="0" max-vertical-offset="450">
|
43
|
+
<caret line="9" column="44" selection-start-line="9" selection-start-column="44" selection-end-line="9" selection-end-column="44" />
|
44
|
+
<folding />
|
45
|
+
</state>
|
46
|
+
</provider>
|
47
|
+
</entry>
|
48
|
+
</file>
|
49
|
+
<file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
|
50
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
51
|
+
<provider selected="true" editor-type-id="text-editor">
|
52
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="555">
|
53
|
+
<caret line="2" column="40" selection-start-line="2" selection-start-column="40" selection-end-line="2" selection-end-column="40" />
|
54
|
+
<folding />
|
55
|
+
</state>
|
56
|
+
</provider>
|
57
|
+
</entry>
|
58
|
+
</file>
|
59
|
+
<file leaf-file-name="version.rb" pinned="false" current="false" current-in-tab="false">
|
60
|
+
<entry file="file://$PROJECT_DIR$/lib/cepbrasil/version.rb">
|
61
|
+
<provider selected="true" editor-type-id="text-editor">
|
62
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
|
63
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
64
|
+
<folding />
|
65
|
+
</state>
|
66
|
+
</provider>
|
67
|
+
</entry>
|
68
|
+
</file>
|
69
|
+
</leaf>
|
70
|
+
</component>
|
71
|
+
<component name="FindManager">
|
72
|
+
<FindUsagesManager>
|
73
|
+
<setting name="OPEN_NEW_TAB" value="true" />
|
74
|
+
</FindUsagesManager>
|
75
|
+
</component>
|
76
|
+
<component name="IdeDocumentHistory">
|
77
|
+
<option name="changedFiles">
|
78
|
+
<list>
|
79
|
+
<option value="$PROJECT_DIR$/Gemfile" />
|
80
|
+
<option value="$PROJECT_DIR$/lib/teste.html" />
|
81
|
+
<option value="$PROJECT_DIR$/lib/cepbrasil.rb" />
|
82
|
+
<option value="$PROJECT_DIR$/README.md" />
|
83
|
+
<option value="$PROJECT_DIR$/lib/cepbrasil/version.rb" />
|
84
|
+
<option value="$PROJECT_DIR$/cepbrasil.gemspec" />
|
85
|
+
</list>
|
86
|
+
</option>
|
87
|
+
</component>
|
88
|
+
<component name="ProjectFrameBounds">
|
89
|
+
<option name="y" value="22" />
|
90
|
+
<option name="width" value="1366" />
|
91
|
+
<option name="height" value="673" />
|
92
|
+
</component>
|
93
|
+
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
|
94
|
+
<OptionsSetting value="true" id="Add" />
|
95
|
+
<OptionsSetting value="true" id="Remove" />
|
96
|
+
<OptionsSetting value="true" id="Checkout" />
|
97
|
+
<OptionsSetting value="true" id="Update" />
|
98
|
+
<OptionsSetting value="true" id="Status" />
|
99
|
+
<OptionsSetting value="true" id="Edit" />
|
100
|
+
<ConfirmationsSetting value="0" id="Add" />
|
101
|
+
<ConfirmationsSetting value="0" id="Remove" />
|
102
|
+
</component>
|
103
|
+
<component name="ProjectReloadState">
|
104
|
+
<option name="STATE" value="0" />
|
105
|
+
</component>
|
106
|
+
<component name="ProjectView">
|
107
|
+
<navigator currentView="ProjectPane" proportions="" version="1">
|
108
|
+
<flattenPackages />
|
109
|
+
<showMembers />
|
110
|
+
<showModules />
|
111
|
+
<showLibraryContents />
|
112
|
+
<hideEmptyPackages />
|
113
|
+
<abbreviatePackageNames />
|
114
|
+
<autoscrollToSource />
|
115
|
+
<autoscrollFromSource />
|
116
|
+
<sortByType />
|
117
|
+
</navigator>
|
118
|
+
<panes>
|
119
|
+
<pane id="Scope" />
|
120
|
+
<pane id="ProjectPane">
|
121
|
+
<subPane>
|
122
|
+
<PATH>
|
123
|
+
<PATH_ELEMENT>
|
124
|
+
<option name="myItemId" value="cepbrasil" />
|
125
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
126
|
+
</PATH_ELEMENT>
|
127
|
+
</PATH>
|
128
|
+
<PATH>
|
129
|
+
<PATH_ELEMENT>
|
130
|
+
<option name="myItemId" value="cepbrasil" />
|
131
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
132
|
+
</PATH_ELEMENT>
|
133
|
+
<PATH_ELEMENT>
|
134
|
+
<option name="myItemId" value="cepbrasil" />
|
135
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
136
|
+
</PATH_ELEMENT>
|
137
|
+
</PATH>
|
138
|
+
<PATH>
|
139
|
+
<PATH_ELEMENT>
|
140
|
+
<option name="myItemId" value="cepbrasil" />
|
141
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
142
|
+
</PATH_ELEMENT>
|
143
|
+
<PATH_ELEMENT>
|
144
|
+
<option name="myItemId" value="cepbrasil" />
|
145
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
146
|
+
</PATH_ELEMENT>
|
147
|
+
<PATH_ELEMENT>
|
148
|
+
<option name="myItemId" value="lib" />
|
149
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
150
|
+
</PATH_ELEMENT>
|
151
|
+
</PATH>
|
152
|
+
<PATH>
|
153
|
+
<PATH_ELEMENT>
|
154
|
+
<option name="myItemId" value="cepbrasil" />
|
155
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
|
156
|
+
</PATH_ELEMENT>
|
157
|
+
<PATH_ELEMENT>
|
158
|
+
<option name="myItemId" value="cepbrasil" />
|
159
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
160
|
+
</PATH_ELEMENT>
|
161
|
+
<PATH_ELEMENT>
|
162
|
+
<option name="myItemId" value="lib" />
|
163
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
164
|
+
</PATH_ELEMENT>
|
165
|
+
<PATH_ELEMENT>
|
166
|
+
<option name="myItemId" value="cepbrasil" />
|
167
|
+
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
|
168
|
+
</PATH_ELEMENT>
|
169
|
+
</PATH>
|
170
|
+
</subPane>
|
171
|
+
</pane>
|
172
|
+
</panes>
|
173
|
+
</component>
|
174
|
+
<component name="PropertiesComponent">
|
175
|
+
<property name="options.lastSelected" value="org.jetbrains.plugins.ruby.settings.RubyActiveModuleSdkConfigurable" />
|
176
|
+
<property name="options.splitter.main.proportions" value="0.3" />
|
177
|
+
<property name="options.splitter.details.proportions" value="0.2" />
|
178
|
+
<property name="options.searchVisible" value="true" />
|
179
|
+
<property name="WebServerToolWindowFactoryState" value="false" />
|
180
|
+
<property name="recentsLimit" value="5" />
|
181
|
+
<property name="DefaultHtmlFileTemplate" value="Html5" />
|
182
|
+
</component>
|
183
|
+
<component name="RunManager" selected="Ruby.cepbrasil">
|
184
|
+
<configuration default="false" name="cepbrasil" type="RubyRunConfigurationType" factoryName="Ruby" temporary="true">
|
185
|
+
<module name="cepbrasil" />
|
186
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
187
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="$MODULE_DIR$/lib" />
|
188
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
189
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
190
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
191
|
+
<envs />
|
192
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
193
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="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
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
200
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/cepbrasil.rb" />
|
201
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
202
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
203
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
204
|
+
<method />
|
205
|
+
</configuration>
|
206
|
+
<configuration default="true" type="RubyRunConfigurationType" factoryName="Ruby">
|
207
|
+
<module name="" />
|
208
|
+
<RUBY_RUN_CONFIG NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
209
|
+
<RUBY_RUN_CONFIG NAME="WORK DIR" VALUE="" />
|
210
|
+
<RUBY_RUN_CONFIG NAME="SHOULD_USE_SDK" VALUE="false" />
|
211
|
+
<RUBY_RUN_CONFIG NAME="ALTERN_SDK_NAME" VALUE="" />
|
212
|
+
<RUBY_RUN_CONFIG NAME="myPassParentEnvs" VALUE="true" />
|
213
|
+
<envs />
|
214
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
215
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
216
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
217
|
+
<COVERAGE_PATTERN ENABLED="true">
|
218
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
219
|
+
</COVERAGE_PATTERN>
|
220
|
+
</EXTENSION>
|
221
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
222
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_PATH" VALUE="" />
|
223
|
+
<RUBY_RUN_CONFIG NAME="SCRIPT_ARGS" VALUE="" />
|
224
|
+
<method />
|
225
|
+
</configuration>
|
226
|
+
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
|
227
|
+
<method />
|
228
|
+
</configuration>
|
229
|
+
<list size="1">
|
230
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.cepbrasil" />
|
231
|
+
</list>
|
232
|
+
<recent_temporary>
|
233
|
+
<list size="1">
|
234
|
+
<item index="0" class="java.lang.String" itemvalue="Ruby.cepbrasil" />
|
235
|
+
</list>
|
236
|
+
</recent_temporary>
|
237
|
+
</component>
|
238
|
+
<component name="ShelveChangesManager" show_recycled="false" />
|
239
|
+
<component name="TaskManager">
|
240
|
+
<task active="true" id="Default" summary="Default task">
|
241
|
+
<changelist id="c815b915-a930-4b3d-9079-74931e31a398" name="Default" comment="" />
|
242
|
+
<created>1421967961634</created>
|
243
|
+
<updated>1421967961634</updated>
|
244
|
+
</task>
|
245
|
+
<servers />
|
246
|
+
</component>
|
247
|
+
<component name="ToolWindowManager">
|
248
|
+
<frame x="0" y="22" width="1366" height="673" extended-state="6" />
|
249
|
+
<editor active="true" />
|
250
|
+
<layout>
|
251
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
252
|
+
<window_info id="Terminal" 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" />
|
253
|
+
<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" />
|
254
|
+
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
255
|
+
<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="false" content_ui="tabs" />
|
256
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.25" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
257
|
+
<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" />
|
258
|
+
<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="-1" side_tool="true" content_ui="tabs" />
|
259
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
260
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.28171334" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
261
|
+
<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="-1" side_tool="false" content_ui="tabs" />
|
262
|
+
<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" />
|
263
|
+
<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" />
|
264
|
+
<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" />
|
265
|
+
<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" />
|
266
|
+
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="SLIDING" type="SLIDING" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
267
|
+
<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" />
|
268
|
+
<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" />
|
269
|
+
</layout>
|
270
|
+
</component>
|
271
|
+
<component name="Vcs.Log.UiProperties">
|
272
|
+
<option name="RECENTLY_FILTERED_USER_GROUPS">
|
273
|
+
<collection />
|
274
|
+
</option>
|
275
|
+
<option name="RECENTLY_FILTERED_BRANCH_GROUPS">
|
276
|
+
<collection />
|
277
|
+
</option>
|
278
|
+
</component>
|
279
|
+
<component name="VcsContentAnnotationSettings">
|
280
|
+
<option name="myLimit" value="2678400000" />
|
281
|
+
</component>
|
282
|
+
<component name="VcsManagerConfiguration">
|
283
|
+
<option name="myTodoPanelSettings">
|
284
|
+
<TodoPanelSettings />
|
285
|
+
</option>
|
286
|
+
</component>
|
287
|
+
<component name="XDebuggerManager">
|
288
|
+
<breakpoint-manager />
|
289
|
+
</component>
|
290
|
+
<component name="editorHistoryManager">
|
291
|
+
<entry file="file://$PROJECT_DIR$/lib/cepbrasil.rb">
|
292
|
+
<provider selected="true" editor-type-id="text-editor">
|
293
|
+
<state vertical-scroll-proportion="-0.25735295" vertical-offset="270" max-vertical-offset="1125">
|
294
|
+
<caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
|
295
|
+
<folding />
|
296
|
+
</state>
|
297
|
+
</provider>
|
298
|
+
</entry>
|
299
|
+
<entry file="file://$PROJECT_DIR$/lib/cepbrasil/version.rb">
|
300
|
+
<provider selected="true" editor-type-id="text-editor">
|
301
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
|
302
|
+
<caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
303
|
+
<folding />
|
304
|
+
</state>
|
305
|
+
</provider>
|
306
|
+
</entry>
|
307
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
308
|
+
<provider selected="true" editor-type-id="text-editor">
|
309
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="555">
|
310
|
+
<caret line="2" column="40" selection-start-line="2" selection-start-column="40" selection-end-line="2" selection-end-column="40" />
|
311
|
+
<folding />
|
312
|
+
</state>
|
313
|
+
</provider>
|
314
|
+
</entry>
|
315
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
316
|
+
<provider selected="true" editor-type-id="text-editor">
|
317
|
+
<state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="195">
|
318
|
+
<caret line="7" column="0" selection-start-line="7" selection-start-column="0" selection-end-line="7" selection-end-column="0" />
|
319
|
+
<folding />
|
320
|
+
</state>
|
321
|
+
</provider>
|
322
|
+
</entry>
|
323
|
+
<entry file="file://$PROJECT_DIR$/cepbrasil.gemspec">
|
324
|
+
<provider selected="true" editor-type-id="text-editor">
|
325
|
+
<state vertical-scroll-proportion="0.33088234" vertical-offset="0" max-vertical-offset="450">
|
326
|
+
<caret line="9" column="44" selection-start-line="9" selection-start-column="44" selection-end-line="9" selection-end-column="44" />
|
327
|
+
<folding />
|
328
|
+
</state>
|
329
|
+
</provider>
|
330
|
+
</entry>
|
331
|
+
</component>
|
332
|
+
</project>
|
333
|
+
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2015 Breno Costa
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# Cepbrasil
|
2
|
+
|
3
|
+
TODO: Busca de cep na base dos correios.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'cepbrasil'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install cepbrasil
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
TODO: Busca de cep na base dos correios.
|
24
|
+
|
25
|
+
## Contributing
|
26
|
+
|
27
|
+
1. Fork it ( https://github.com/bcfreakdev/cepbrasil/fork )
|
28
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
29
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
30
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
31
|
+
5. Create a new Pull Request
|
data/Rakefile
ADDED
data/cepbrasil.gemspec
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cepbrasil/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "cepbrasil"
|
8
|
+
spec.version = Cepbrasil::VERSION
|
9
|
+
spec.authors = ["Breno Costa"]
|
10
|
+
spec.email = ["breeno.costa@gmail.com"]
|
11
|
+
spec.summary = "Busca de endereços no site dos correios, por cep."
|
12
|
+
spec.homepage = "http://freakdev.org"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
spec.files = `git ls-files -z`.split("\x0")
|
16
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
17
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
+
spec.require_paths = ["lib"]
|
19
|
+
|
20
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
21
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
22
|
+
spec.add_development_dependency "nokogiri"
|
23
|
+
spec.add_development_dependency "httpclient"
|
24
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cepbrasil
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Breno Costa
|
@@ -38,6 +38,34 @@ dependencies:
|
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: nokogiri
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: httpclient
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
41
69
|
description:
|
42
70
|
email:
|
43
71
|
- breeno.costa@gmail.com
|
@@ -45,7 +73,22 @@ executables: []
|
|
45
73
|
extensions: []
|
46
74
|
extra_rdoc_files: []
|
47
75
|
files:
|
76
|
+
- .gitignore
|
77
|
+
- .idea/.name
|
78
|
+
- .idea/cepbrasil.iml
|
79
|
+
- .idea/encodings.xml
|
80
|
+
- .idea/misc.xml
|
81
|
+
- .idea/modules.xml
|
82
|
+
- .idea/scopes/scope_settings.xml
|
83
|
+
- .idea/vcs.xml
|
84
|
+
- .idea/workspace.xml
|
85
|
+
- Gemfile
|
86
|
+
- LICENSE.txt
|
87
|
+
- README.md
|
88
|
+
- Rakefile
|
89
|
+
- cepbrasil.gemspec
|
48
90
|
- lib/cepbrasil.rb
|
91
|
+
- lib/cepbrasil/version.rb
|
49
92
|
homepage: http://freakdev.org
|
50
93
|
licenses:
|
51
94
|
- MIT
|
@@ -69,5 +112,5 @@ rubyforge_project:
|
|
69
112
|
rubygems_version: 2.4.1
|
70
113
|
signing_key:
|
71
114
|
specification_version: 4
|
72
|
-
summary:
|
115
|
+
summary: Busca de endereços no site dos correios, por cep.
|
73
116
|
test_files: []
|