cocoapods-alibaba-cainiao-environment 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6c2ef3311b3b2c4391b8a80ea5bd2b83ec0c9deb16c5338c64f6d79316c0dc25
4
- data.tar.gz: 209177bfb3eee0759a612cd480303b04ed9b751cf3ff3b187769836b4176372b
3
+ metadata.gz: 1d0d05e0e5046c504b745a795c5a719ef45265e61f17f0350cef37f2e4e2190e
4
+ data.tar.gz: 1cb4049096e36183ec6c973c88e06d19da61623ecd82be4e2698885210fb4819
5
5
  SHA512:
6
- metadata.gz: a1325fd4a98ffe3e2f3241e76dc40de4eeae8116f8e3e60a65fff733f940c50a47698ef8c422e92950dffbff09ff081586e1483c6e93efc37cf2072963a0fd16
7
- data.tar.gz: 9b94eb6efc641e23bdd91ec762b73940d31ddf5bdeee568d97b33d31710a467ba509a9a2e0ba8bb400505ee95a2671b713ed0332b5d1ea0624976c468d30a0a6
6
+ metadata.gz: 91b6c350dfc9b4f30177f1069acfe674a2e8ddad465c17f1151a078b27ba3177d1078923cbcf45d8dfc5c109f3a6b255309386509c051bb5d8a8388c2c63b548
7
+ data.tar.gz: 641e4070a1f66d4e4fba487b1253f2a6933cd33b4afa242444598a0cbae8c83e8426d232f27e58e412cbdc2c33043ca5e75f73ea35edcb2a5652d9adf1cf6f83
data/.gitignore ADDED
@@ -0,0 +1,2 @@
1
+ Gemfile.lock
2
+ pkg/cocoapods-alibaba-cainiao-environment-0.0.3.gem
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 cocoapods-alibaba-cainiao-environment-0.0.1.gem into the pkg directory" fullCmd="build" taksId="build" /><RakeTask description="Remove any temporary products" fullCmd="clean" taksId="clean" /><RakeTask description="Remove any generated file" fullCmd="clobber" taksId="clobber" /><RakeTask description="Build and install cocoapods-alibaba-cainiao-environment-0.0.1.gem into system gems" fullCmd="install" taksId="install" /><RakeGroup description="" fullCmd="" taksId="install"><RakeTask description="Build and install cocoapods-alibaba-cainiao-environment-0.0.1.gem into system gems without network access" fullCmd="install:local" taksId="local" /></RakeGroup><RakeTask description="Create tag v0.0.1 and build and push cocoapods-alibaba-cainiao-environment-0.0.1.gem to rubygems.org" fullCmd="release[remote]" taksId="release[remote]" /><RakeTask description="Runs all the specs" fullCmd="specs" taksId="specs" /><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,52 @@
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="CFPropertyList (v3.0.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
11
+ <orderEntry type="library" scope="PROVIDED" name="activesupport (v4.2.11.1, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
12
+ <orderEntry type="library" scope="PROVIDED" name="aliyun-sdk (v0.7.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
13
+ <orderEntry type="library" scope="PROVIDED" name="atomos (v0.1.3, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
14
+ <orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.1, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
15
+ <orderEntry type="library" scope="PROVIDED" name="claide (v1.0.2, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
16
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-core (v1.5.3, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
17
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-deintegrate (v1.0.4, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
18
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-downloader (v1.2.2, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
19
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-plugins (v1.0.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
20
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-search (v1.0.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
21
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-stats (v1.1.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
22
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-trunk (v1.3.1, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
23
+ <orderEntry type="library" scope="PROVIDED" name="cocoapods-try (v1.1.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
24
+ <orderEntry type="library" scope="PROVIDED" name="colored2 (v3.1.2, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
25
+ <orderEntry type="library" scope="PROVIDED" name="concurrent-ruby (v1.1.5, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
26
+ <orderEntry type="library" scope="PROVIDED" name="domain_name (v0.5.20190701, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
27
+ <orderEntry type="library" scope="PROVIDED" name="escape (v0.0.4, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
28
+ <orderEntry type="library" scope="PROVIDED" name="fourflusher (v2.0.1, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
29
+ <orderEntry type="library" scope="PROVIDED" name="fuzzy_match (v2.0.4, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
30
+ <orderEntry type="library" scope="PROVIDED" name="gh_inspector (v1.1.3, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
31
+ <orderEntry type="library" scope="PROVIDED" name="http-accept (v1.7.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
32
+ <orderEntry type="library" scope="PROVIDED" name="http-cookie (v1.0.3, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
33
+ <orderEntry type="library" scope="PROVIDED" name="i18n (v0.9.5, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
34
+ <orderEntry type="library" scope="PROVIDED" name="mime-types (v3.3, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
35
+ <orderEntry type="library" scope="PROVIDED" name="mime-types-data (v3.2019.1009, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
36
+ <orderEntry type="library" scope="PROVIDED" name="mini_portile2 (v2.4.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
37
+ <orderEntry type="library" scope="PROVIDED" name="minitest (v5.8.3, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
38
+ <orderEntry type="library" scope="PROVIDED" name="molinillo (v0.6.6, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
39
+ <orderEntry type="library" scope="PROVIDED" name="nanaimo (v0.2.6, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
40
+ <orderEntry type="library" scope="PROVIDED" name="nap (v1.1.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
41
+ <orderEntry type="library" scope="PROVIDED" name="netrc (v0.11.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
42
+ <orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.10.4, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
43
+ <orderEntry type="library" scope="PROVIDED" name="rake (v10.4.2, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
44
+ <orderEntry type="library" scope="PROVIDED" name="rest-client (v2.1.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
45
+ <orderEntry type="library" scope="PROVIDED" name="ruby-macho (v1.4.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
46
+ <orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.6, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
47
+ <orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.5, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
48
+ <orderEntry type="library" scope="PROVIDED" name="unf (v0.1.4, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
49
+ <orderEntry type="library" scope="PROVIDED" name="unf_ext (v0.0.7.6, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
50
+ <orderEntry type="library" scope="PROVIDED" name="xcodeproj (v1.11.0, RVM: ruby-2.3.0 [global]) [gem]" level="application" />
51
+ </component>
52
+ </module>
@@ -0,0 +1,6 @@
1
+ <component name="InspectionProjectProfileManager">
2
+ <profile version="1.0">
3
+ <option name="myName" value="Project Default" />
4
+ <inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
5
+ </profile>
6
+ </component>
data/.idea/misc.xml ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="JavaScriptSettings">
4
+ <option name="languageLevel" value="ES6" />
5
+ </component>
6
+ <component name="ProjectRootManager" version="2" project-jdk-name="RVM: ruby-2.3.0 [global]" project-jdk-type="RUBY_SDK" />
7
+ </project>
data/.idea/modules.xml ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ProjectModuleManager">
4
+ <modules>
5
+ <module fileurl="file://$PROJECT_DIR$/.idea/cocoapods-alibaba-cainiao-environment.iml" filepath="$PROJECT_DIR$/.idea/cocoapods-alibaba-cainiao-environment.iml" />
6
+ </modules>
7
+ </component>
8
+ </project>
data/.idea/vcs.xml ADDED
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="VcsDirectoryMappings">
4
+ <mapping directory="$PROJECT_DIR$" vcs="Git" />
5
+ <mapping directory="$PROJECT_DIR$/11" vcs="Git" />
6
+ <mapping directory="$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment" vcs="Git" />
7
+ <mapping directory="$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment的副本" vcs="Git" />
8
+ <mapping directory="$PROJECT_DIR$/pod_plugin/cocoapods-alibaba-cainiao-environment" vcs="Git" />
9
+ </component>
10
+ </project>
@@ -0,0 +1,322 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="ChangeListManager">
4
+ <list default="true" id="b22db36c-210b-490f-a337-eff609808cf5" name="Default Changelist" comment="">
5
+ <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
6
+ <change beforePath="$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/gem_version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/gem_version.rb" afterDir="false" />
7
+ <change beforePath="$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/modify-aliyun-oss.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/modify-aliyun-oss.rb" afterDir="false" />
8
+ </list>
9
+ <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="FileEditorManager">
16
+ <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
17
+ <file pinned="false" current-in-tab="false">
18
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods_plugin.rb">
19
+ <provider selected="true" editor-type-id="text-editor">
20
+ <state relative-caret-position="210">
21
+ <caret line="14" selection-start-line="14" selection-end-line="14" />
22
+ </state>
23
+ </provider>
24
+ </entry>
25
+ </file>
26
+ <file pinned="false" current-in-tab="false">
27
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment.rb">
28
+ <provider selected="true" editor-type-id="text-editor">
29
+ <state>
30
+ <caret column="51" selection-start-column="51" selection-end-column="51" />
31
+ </state>
32
+ </provider>
33
+ </entry>
34
+ </file>
35
+ <file pinned="false" current-in-tab="false">
36
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/command/environment.rb">
37
+ <provider selected="true" editor-type-id="text-editor" />
38
+ </entry>
39
+ </file>
40
+ <file pinned="false" current-in-tab="false">
41
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/modify-aliyun-oss.rb">
42
+ <provider selected="true" editor-type-id="text-editor">
43
+ <state relative-caret-position="307">
44
+ <caret line="49" column="26" lean-forward="true" selection-start-line="49" selection-start-column="26" selection-end-line="49" selection-end-column="26" />
45
+ </state>
46
+ </provider>
47
+ </entry>
48
+ </file>
49
+ <file pinned="false" current-in-tab="false">
50
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/environment.rb">
51
+ <provider selected="true" editor-type-id="text-editor" />
52
+ </entry>
53
+ </file>
54
+ <file pinned="false" current-in-tab="true">
55
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/gem_version.rb">
56
+ <provider selected="true" editor-type-id="text-editor">
57
+ <state relative-caret-position="45">
58
+ <caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
59
+ </state>
60
+ </provider>
61
+ </entry>
62
+ </file>
63
+ <file pinned="false" current-in-tab="false">
64
+ <entry file="file://$PROJECT_DIR$/Gemfile">
65
+ <provider selected="true" editor-type-id="text-editor">
66
+ <state>
67
+ <caret column="36" selection-start-column="36" selection-end-column="36" />
68
+ </state>
69
+ </provider>
70
+ </entry>
71
+ </file>
72
+ </leaf>
73
+ </component>
74
+ <component name="FindInProjectRecents">
75
+ <findStrings>
76
+ <find>from_file</find>
77
+ <find>spec_contents</find>
78
+ <find>version</find>
79
+ <find>join</find>
80
+ <find>process_source_http_url</find>
81
+ <find>puts</find>
82
+ <find>.name</find>
83
+ <find>$</find>
84
+ <find>bucket =</find>
85
+ <find>VERSION</find>
86
+ </findStrings>
87
+ </component>
88
+ <component name="Git.Settings">
89
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
90
+ </component>
91
+ <component name="IdeDocumentHistory">
92
+ <option name="CHANGED_PATHS">
93
+ <list>
94
+ <option value="$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods-alibaba-cainiao-environment/command/environment.rb" />
95
+ <option value="$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods_plugin.rb" />
96
+ <option value="$PROJECT_DIR$/Gemfile" />
97
+ <option value="$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/modify-aliyun-oss.rb" />
98
+ <option value="$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/gem_version.rb" />
99
+ </list>
100
+ </option>
101
+ </component>
102
+ <component name="ProjectConfigurationFiles">
103
+ <option name="files">
104
+ <list>
105
+ <option value="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" />
106
+ <option value="$PROJECT_DIR$/.idea/cocoapods-alibaba-cainiao-environment.iml" />
107
+ <option value="$PROJECT_DIR$/.idea/vcs.xml" />
108
+ <option value="$PROJECT_DIR$/.idea/misc.xml" />
109
+ <option value="$PROJECT_DIR$/.idea/modules.xml" />
110
+ </list>
111
+ </option>
112
+ </component>
113
+ <component name="ProjectFrameBounds">
114
+ <option name="y" value="23" />
115
+ <option name="width" value="1440" />
116
+ <option name="height" value="840" />
117
+ </component>
118
+ <component name="ProjectLevelVcsManager" settingsEditedManually="true" />
119
+ <component name="ProjectView">
120
+ <navigator proportions="" version="1">
121
+ <foldersAlwaysOnTop value="true" />
122
+ </navigator>
123
+ <panes>
124
+ <pane id="Scope" />
125
+ <pane id="ProjectPane">
126
+ <subPane>
127
+ <expand>
128
+ <path>
129
+ <item name="cocoapods-alibaba-cainiao-environment" type="b2602c69:ProjectViewProjectNode" />
130
+ <item name="cocoapods-alibaba-cainiao-environment" type="462c0819:PsiDirectoryNode" />
131
+ </path>
132
+ <path>
133
+ <item name="cocoapods-alibaba-cainiao-environment" type="b2602c69:ProjectViewProjectNode" />
134
+ <item name="cocoapods-alibaba-cainiao-environment" type="462c0819:PsiDirectoryNode" />
135
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
136
+ </path>
137
+ <path>
138
+ <item name="cocoapods-alibaba-cainiao-environment" type="b2602c69:ProjectViewProjectNode" />
139
+ <item name="cocoapods-alibaba-cainiao-environment" type="462c0819:PsiDirectoryNode" />
140
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
141
+ <item name="cocoapods-alibaba-cainiao-environment" type="462c0819:PsiDirectoryNode" />
142
+ </path>
143
+ <path>
144
+ <item name="cocoapods-alibaba-cainiao-environment" type="b2602c69:ProjectViewProjectNode" />
145
+ <item name="cocoapods-alibaba-cainiao-environment" type="462c0819:PsiDirectoryNode" />
146
+ <item name="lib" type="462c0819:PsiDirectoryNode" />
147
+ <item name="cocoapods-alibaba-cainiao-environment" type="462c0819:PsiDirectoryNode" />
148
+ <item name="command" type="462c0819:PsiDirectoryNode" />
149
+ </path>
150
+ </expand>
151
+ <select />
152
+ </subPane>
153
+ </pane>
154
+ </panes>
155
+ </component>
156
+ <component name="PropertiesComponent">
157
+ <property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
158
+ <property name="WebServerToolWindowFactoryState" value="false" />
159
+ <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
160
+ <property name="nodejs_npm_path_reset_for_default_project" value="true" />
161
+ <property name="settings.editor.selected.configurable" value="preferences.lookFeel" />
162
+ </component>
163
+ <component name="RunDashboard">
164
+ <option name="ruleStates">
165
+ <list>
166
+ <RuleState>
167
+ <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
168
+ </RuleState>
169
+ <RuleState>
170
+ <option name="name" value="StatusDashboardGroupingRule" />
171
+ </RuleState>
172
+ </list>
173
+ </option>
174
+ </component>
175
+ <component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
176
+ <component name="SvnConfiguration">
177
+ <configuration />
178
+ </component>
179
+ <component name="TaskManager">
180
+ <task active="true" id="Default" summary="Default task">
181
+ <changelist id="b22db36c-210b-490f-a337-eff609808cf5" name="Default Changelist" comment="" />
182
+ <created>1572011417150</created>
183
+ <option name="number" value="Default" />
184
+ <option name="presentableId" value="Default" />
185
+ <updated>1572011417150</updated>
186
+ <workItem from="1572011418339" duration="365000" />
187
+ <workItem from="1572012570889" duration="1743000" />
188
+ <workItem from="1572014388288" duration="1768000" />
189
+ <workItem from="1572016197491" duration="1788000" />
190
+ <workItem from="1572018010213" duration="1776000" />
191
+ <workItem from="1572019819559" duration="22000" />
192
+ <workItem from="1572063573725" duration="1458000" />
193
+ <workItem from="1572065444928" duration="917000" />
194
+ <workItem from="1572077922841" duration="8000" />
195
+ <workItem from="1572178630384" duration="4229000" />
196
+ <workItem from="1572228125916" duration="7384000" />
197
+ </task>
198
+ <servers />
199
+ </component>
200
+ <component name="TimeTrackingManager">
201
+ <option name="totallyTimeSpent" value="21458000" />
202
+ </component>
203
+ <component name="ToolWindowManager">
204
+ <frame x="0" y="23" width="1440" height="840" extended-state="0" />
205
+ <editor active="true" />
206
+ <layout>
207
+ <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.17739628" />
208
+ <window_info id="Favorites" order="1" side_tool="true" />
209
+ <window_info id="Structure" order="2" weight="0.25772098" />
210
+ <window_info anchor="bottom" id="Message" order="0" />
211
+ <window_info anchor="bottom" id="Find" order="1" />
212
+ <window_info anchor="bottom" id="Run" order="2" />
213
+ <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
214
+ <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
215
+ <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
216
+ <window_info anchor="bottom" id="TODO" order="6" />
217
+ <window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
218
+ <window_info anchor="bottom" id="Database Changes" order="8" />
219
+ <window_info anchor="bottom" id="Version Control" order="9" />
220
+ <window_info anchor="bottom" id="Terminal" order="10" visible="true" weight="0.31417114" />
221
+ <window_info anchor="bottom" id="Event Log" order="11" side_tool="true" />
222
+ <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
223
+ <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
224
+ <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
225
+ <window_info anchor="right" id="Database" order="3" />
226
+ </layout>
227
+ </component>
228
+ <component name="TypeScriptGeneratedFilesManager">
229
+ <option name="version" value="1" />
230
+ </component>
231
+ <component name="editorHistoryManager">
232
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods_plugin.rb" />
233
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods-alibaba-cainiao-environment/modify-aliyun-oss.rb" />
234
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods-alibaba-cainiao-environment/command/environment.rb" />
235
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods-alibaba-cainiao-environment/command.rb" />
236
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/lib/cocoapods-alibaba-cainiao-environment/environment.rb" />
237
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment/cocoapods-alibaba-cainiao-environment.gemspec" />
238
+ <entry file="file://$USER_HOME$/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/uri/generic.rb">
239
+ <provider selected="true" editor-type-id="text-editor">
240
+ <state relative-caret-position="318">
241
+ <caret line="265" column="21" selection-start-line="265" selection-start-column="21" selection-end-line="265" selection-end-column="21" />
242
+ </state>
243
+ </provider>
244
+ </entry>
245
+ <entry file="file://$APPLICATION_HOME_DIR$/rubystubs23/json.rb">
246
+ <provider selected="true" editor-type-id="text-editor">
247
+ <state relative-caret-position="825">
248
+ <caret line="400" column="16" selection-start-line="400" selection-start-column="16" selection-end-line="400" selection-end-column="16" />
249
+ </state>
250
+ </provider>
251
+ </entry>
252
+ <entry file="file://$USER_HOME$/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/json/common.rb">
253
+ <provider selected="true" editor-type-id="text-editor">
254
+ <state relative-caret-position="395">
255
+ <caret line="173" column="6" selection-start-line="173" selection-start-column="6" selection-end-line="173" selection-end-column="6" />
256
+ </state>
257
+ </provider>
258
+ </entry>
259
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/command/environment.rb">
260
+ <provider selected="true" editor-type-id="text-editor" />
261
+ </entry>
262
+ <entry file="file://$PROJECT_DIR$/Gemfile">
263
+ <provider selected="true" editor-type-id="text-editor">
264
+ <state>
265
+ <caret column="36" selection-start-column="36" selection-end-column="36" />
266
+ </state>
267
+ </provider>
268
+ </entry>
269
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/environment.rb">
270
+ <provider selected="true" editor-type-id="text-editor" />
271
+ </entry>
272
+ <entry file="file://$APPLICATION_HOME_DIR$/rubystubs23/file.rb">
273
+ <provider selected="true" editor-type-id="text-editor">
274
+ <state relative-caret-position="291">
275
+ <caret line="539" column="65" selection-start-line="539" selection-start-column="65" selection-end-line="539" selection-end-column="65" />
276
+ </state>
277
+ </provider>
278
+ </entry>
279
+ <entry file="file://$USER_HOME$/.rvm/rubies/ruby-2.3.0/lib/ruby/gems/2.3.0/gems/aliyun-sdk-0.7.0/lib/aliyun/oss/bucket.rb">
280
+ <provider selected="true" editor-type-id="text-editor">
281
+ <state relative-caret-position="161">
282
+ <caret line="592" column="10" selection-start-line="592" selection-start-column="10" selection-end-line="592" selection-end-column="10" />
283
+ </state>
284
+ </provider>
285
+ </entry>
286
+ <entry file="file://$PROJECT_DIR$/cocoapods-alibaba-cainiao-environment.gemspec">
287
+ <provider selected="true" editor-type-id="text-editor">
288
+ <state relative-caret-position="255">
289
+ <caret line="17" column="65" selection-start-line="17" selection-start-column="65" selection-end-line="17" selection-end-column="65" />
290
+ </state>
291
+ </provider>
292
+ </entry>
293
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/modify-aliyun-oss.rb">
294
+ <provider selected="true" editor-type-id="text-editor">
295
+ <state relative-caret-position="307">
296
+ <caret line="49" column="26" lean-forward="true" selection-start-line="49" selection-start-column="26" selection-end-line="49" selection-end-column="26" />
297
+ </state>
298
+ </provider>
299
+ </entry>
300
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods_plugin.rb">
301
+ <provider selected="true" editor-type-id="text-editor">
302
+ <state relative-caret-position="210">
303
+ <caret line="14" selection-start-line="14" selection-end-line="14" />
304
+ </state>
305
+ </provider>
306
+ </entry>
307
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment.rb">
308
+ <provider selected="true" editor-type-id="text-editor">
309
+ <state>
310
+ <caret column="51" selection-start-column="51" selection-end-column="51" />
311
+ </state>
312
+ </provider>
313
+ </entry>
314
+ <entry file="file://$PROJECT_DIR$/lib/cocoapods-alibaba-cainiao-environment/gem_version.rb">
315
+ <provider selected="true" editor-type-id="text-editor">
316
+ <state relative-caret-position="45">
317
+ <caret line="3" lean-forward="true" selection-start-line="3" selection-end-line="3" />
318
+ </state>
319
+ </provider>
320
+ </entry>
321
+ </component>
322
+ </project>
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAlibabaCainiaoEnvironment
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3,18 +3,9 @@ require 'aliyun/oss'
3
3
  module Pod
4
4
  class Specification
5
5
  class << Specification
6
- alias_method :old_from_string, :from_file
6
+ alias_method :old_from_file, :from_file
7
7
 
8
8
  def from_file(path, subspec_name = nil)
9
- Dir.chdir(path.parent.directory? ? path.parent : Dir.pwd) do
10
- case path.extname
11
- when '.json'
12
- else
13
- old_from_string(path, subspec_name)
14
- return
15
- end
16
- end
17
-
18
9
  path = Pathname.new(path)
19
10
  unless path.exist?
20
11
  raise Informative, "No podspec exists at path `#{path}`."
@@ -26,13 +17,15 @@ module Pod
26
17
  string.encode!('UTF-8')
27
18
  end
28
19
 
29
- pod_object = JSON.parse(string)
30
- if (pod_object['source'] && pod_object['source']['http'])
31
- pod_object['source']['http'] = process_source_http_url(pod_object['source']['http'], pod_object['version'])
32
- string = pod_object.to_json
20
+ if path.extname == '.json' then
21
+ pod_object = JSON.parse(string)
22
+ if (pod_object['source'] && pod_object['source']['http'])
23
+ pod_object['source']['http'] = process_source_http_url(pod_object['source']['http'], pod_object['version'])
24
+ string = pod_object.to_json
25
+ end
33
26
  end
34
27
 
35
- from_string(string, path, subspec_name)
28
+ return from_string(string, path, subspec_name)
36
29
  end
37
30
 
38
31
  def process_source_http_url(url, version)
@@ -41,7 +34,7 @@ module Pod
41
34
  if url.include? 'ios-lib.oss-cn-beijing.aliyuncs.com' then
42
35
  uri = URI.parse(url)
43
36
  oss_file_object_key = uri.path
44
- if $endpoint.nil? || $access_key_id.nil? || $access_key_secret.nil?
37
+ if $endpoint.nil? || $access_key_id.nil? || $access_key_secret.nil? || $endpoint.length == 0 || $access_key_id.length == 0 || $access_key_secret.length == 0
45
38
  raise("未设置全局变量:$endpoint $access_key_id $access_key_secret")
46
39
  end
47
40
 
@@ -50,7 +43,9 @@ module Pod
50
43
  access_key_secret: $access_key_secret);
51
44
 
52
45
  bucket = client.get_bucket('ios-lib')
53
- oss_url = bucket.object_url(oss_file_object_key[1...oss_file_object_key.length] + "-#{version}.zip")
46
+ # puts("url = " + url)
47
+ # puts("oss url转换:" + oss_file_object_key[1...oss_file_object_key.length] + "-#{version}.zip")
48
+ oss_url = bucket.object_url(oss_file_object_key[1...oss_file_object_key.length] + "-#{version}.zip", true, 3600)
54
49
 
55
50
  return oss_url
56
51
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-alibaba-cainiao-environment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - 亿刀
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-27 00:00:00.000000000 Z
11
+ date: 2019-10-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -45,8 +45,15 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
+ - ".gitignore"
49
+ - ".idea/.rakeTasks"
50
+ - ".idea/cocoapods-alibaba-cainiao-environment.iml"
51
+ - ".idea/inspectionProfiles/Project_Default.xml"
52
+ - ".idea/misc.xml"
53
+ - ".idea/modules.xml"
54
+ - ".idea/vcs.xml"
55
+ - ".idea/workspace.xml"
48
56
  - Gemfile
49
- - Gemfile.lock
50
57
  - LICENSE.txt
51
58
  - README.md
52
59
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,120 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- cocoapods-alibaba-cainiao-environment (0.0.2)
5
-
6
- GEM
7
- remote: http://gems.alibaba-inc.com/
8
- specs:
9
- CFPropertyList (3.0.0)
10
- activesupport (4.2.11.1)
11
- i18n (~> 0.7)
12
- minitest (~> 5.1)
13
- thread_safe (~> 0.3, >= 0.3.4)
14
- tzinfo (~> 1.1)
15
- aliyun-sdk (0.7.0)
16
- nokogiri (~> 1.6)
17
- rest-client (~> 2.0)
18
- atomos (0.1.3)
19
- bacon (1.2.0)
20
- claide (1.0.2)
21
- cocoapods (1.5.3)
22
- activesupport (>= 4.0.2, < 5)
23
- claide (>= 1.0.2, < 2.0)
24
- cocoapods-core (= 1.5.3)
25
- cocoapods-deintegrate (>= 1.0.2, < 2.0)
26
- cocoapods-downloader (>= 1.2.0, < 2.0)
27
- cocoapods-plugins (>= 1.0.0, < 2.0)
28
- cocoapods-search (>= 1.0.0, < 2.0)
29
- cocoapods-stats (>= 1.0.0, < 2.0)
30
- cocoapods-trunk (>= 1.3.0, < 2.0)
31
- cocoapods-try (>= 1.1.0, < 2.0)
32
- colored2 (~> 3.1)
33
- escape (~> 0.0.4)
34
- fourflusher (~> 2.0.1)
35
- gh_inspector (~> 1.0)
36
- molinillo (~> 0.6.5)
37
- nap (~> 1.0)
38
- ruby-macho (~> 1.1)
39
- xcodeproj (>= 1.5.7, < 2.0)
40
- cocoapods-core (1.5.3)
41
- activesupport (>= 4.0.2, < 6)
42
- fuzzy_match (~> 2.0.4)
43
- nap (~> 1.0)
44
- cocoapods-deintegrate (1.0.4)
45
- cocoapods-downloader (1.2.2)
46
- cocoapods-plugins (1.0.0)
47
- nap
48
- cocoapods-search (1.0.0)
49
- cocoapods-stats (1.1.0)
50
- cocoapods-trunk (1.3.1)
51
- nap (>= 0.8, < 2.0)
52
- netrc (~> 0.11)
53
- cocoapods-try (1.1.0)
54
- colored2 (3.1.2)
55
- concurrent-ruby (1.1.5)
56
- domain_name (0.5.20190701)
57
- unf (>= 0.0.5, < 1.0.0)
58
- escape (0.0.4)
59
- fourflusher (2.0.1)
60
- fuzzy_match (2.0.4)
61
- gh_inspector (1.1.3)
62
- http-accept (1.7.0)
63
- http-cookie (1.0.3)
64
- domain_name (~> 0.5)
65
- i18n (0.9.5)
66
- concurrent-ruby (~> 1.0)
67
- metaclass (0.0.4)
68
- mime-types (3.3)
69
- mime-types-data (~> 3.2015)
70
- mime-types-data (3.2019.1009)
71
- mini_portile2 (2.4.0)
72
- minitest (5.8.3)
73
- mocha (1.9.0)
74
- metaclass (~> 0.0.1)
75
- mocha-on-bacon (0.2.3)
76
- mocha (>= 0.13.0)
77
- molinillo (0.6.6)
78
- nanaimo (0.2.6)
79
- nap (1.1.0)
80
- netrc (0.11.0)
81
- nokogiri (1.10.4)
82
- mini_portile2 (~> 2.4.0)
83
- prettybacon (0.0.2)
84
- bacon (~> 1.2)
85
- rake (10.4.2)
86
- rest-client (2.1.0)
87
- http-accept (>= 1.7.0, < 2.0)
88
- http-cookie (>= 1.0.2, < 2.0)
89
- mime-types (>= 1.16, < 4.0)
90
- netrc (~> 0.8)
91
- ruby-macho (1.4.0)
92
- thread_safe (0.3.6)
93
- tzinfo (1.2.5)
94
- thread_safe (~> 0.1)
95
- unf (0.1.4)
96
- unf_ext
97
- unf_ext (0.0.7.6)
98
- xcodeproj (1.11.0)
99
- CFPropertyList (>= 2.3.3, < 4.0)
100
- atomos (~> 0.1.3)
101
- claide (>= 1.0.2, < 2.0)
102
- colored2 (~> 3.1)
103
- nanaimo (~> 0.2.6)
104
-
105
- PLATFORMS
106
- ruby
107
-
108
- DEPENDENCIES
109
- aliyun-sdk
110
- bacon
111
- bundler
112
- cocoapods
113
- cocoapods-alibaba-cainiao-environment!
114
- mocha
115
- mocha-on-bacon
116
- prettybacon
117
- rake
118
-
119
- BUNDLED WITH
120
- 2.0.2