ii 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2e98327ac3b841f12b6292ee16beb3721e3686c3
4
- data.tar.gz: 4befe6c0d778bc96455c00aa897ce4bfe8257a61
3
+ metadata.gz: 26c86e28e74d8798e9342e0db87e5c8c4cad6129
4
+ data.tar.gz: b58c065072f8bb570804a2e8b8d5ad0eb5fc1d59
5
5
  SHA512:
6
- metadata.gz: f2796b42f9457e8620f0494317de2d966696ea43d39f63ca22eb468f3bdf5c501b37812e9da3e4e96b289498feb188c66bfa5761165ec7240200c337c1e212d0
7
- data.tar.gz: 6b97190868c0d0348a55604f316fc2fa387ac433c2017ed07c9fb1f4a32d6c9641da3004161a69564ac50cb408707216d7054ed28099a7fcd2fe74f460ba9cdf
6
+ metadata.gz: c579c72dc5e099656468b91e3627f100c6f81280a5ec85dd50dbb461112ee0531c6cddb7e891a27798c95e71722b5586775c10f21e2928f39cecfdf92b7a83c4
7
+ data.tar.gz: 99b607bc7b13be141f187cebeae779d20d57c23996bd3b037c81098cc33946d55513c27fd6a5bc1ecd5b6650e641252d2e8391014c0dbe40b96164a79f7263b7
data/.gitignore CHANGED
@@ -20,3 +20,8 @@ tmp
20
20
  *.o
21
21
  *.a
22
22
  mkmf.log
23
+ _source/
24
+ .idea/
25
+ .DS_Store
26
+ ios/
27
+ android/
data/Gemfile CHANGED
@@ -3,4 +3,5 @@ source 'https://rubygems.org'
3
3
  # Specify your gem's dependencies in ii.gemspec
4
4
  gemspec
5
5
 
6
- gem 'parallel', '1.0.0'
6
+ gem 'parallel', '1.0.0'
7
+ gem 'rmagick', '~> 2.13'
@@ -0,0 +1,9 @@
1
+ require 'fileutils'
2
+
3
+ # 定义一些目录
4
+ source_dir = '_source'
5
+ dest_ios_dir = 'ios'
6
+ dest_android_dir = 'android'
7
+
8
+ FileUtils.rm_rf(dest_ios_dir)
9
+ FileUtils.rm_rf(dest_android_dir)
data/bin/ii CHANGED
@@ -1,4 +1,74 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'ii'
4
- puts Ii.hi()
4
+ require 'logger'
5
+ require 'fileutils'
6
+
7
+
8
+ #创建一个logger输出警告和错误信息
9
+ logger = Logger.new(STDERR)
10
+ logger.level = Logger::WARN
11
+
12
+ # change to current directory
13
+ Dir.chdir(Dir.pwd)
14
+
15
+ # 定义一些目录
16
+ current_dir = Dir.pwd
17
+ source_dir = '_source'
18
+ dest_ios_dir = 'ios'
19
+ dest_android_dir = 'android'
20
+ dest_android_xhdpi_dir = 'android/drawable-xhdpi'
21
+ dest_android_hdpi_dir = 'android/drawable-hdpi'
22
+ dest_android_mdpi_dir = 'android/drawable-mdpi'
23
+
24
+ # 开始流程
25
+
26
+ # 是否有_source文件夹
27
+ if File.directory? source_dir
28
+
29
+ # 创建各种输出文件夹
30
+ [dest_ios_dir,
31
+ dest_android_dir,
32
+ dest_android_xhdpi_dir,
33
+ dest_android_hdpi_dir,
34
+ dest_android_mdpi_dir].each do |path|
35
+ Dir.mkdir path
36
+ end
37
+
38
+ # 得到文件和文件夹的列表
39
+ files = []
40
+ Find.find(source_dir) do |path|
41
+ # not root
42
+ if path.size > source_dir.size
43
+ if File.directory?path
44
+ files << path
45
+ elsif path.match('.png|.jpg')
46
+ files << path
47
+ end
48
+ end
49
+ end
50
+
51
+ puts files
52
+
53
+ # 全部拷贝到iOS目标路径
54
+ FileUtils.cp_r source_dir + '/.', dest_ios_dir
55
+
56
+ # 全部处理后放到Android目标路径
57
+ files.each do |filename|
58
+ # 如果是文件夹,就复制一份
59
+ if File.directory? filename
60
+ FileUtils.mkdir_p dest_android_xhdpi_dir + filename.slice(/\/.*/)
61
+ FileUtils.mkdir_p dest_android_hdpi_dir + filename.slice(/\/.*/)
62
+ FileUtils.mkdir_p dest_android_mdpi_dir + filename.slice(/\/.*/)
63
+ ## 如果是文件,就改名并拷贝文件
64
+ else
65
+ relative_filename = filename.slice(/\/.*/).sub('@2x','')
66
+ FileUtils.cp filename,dest_android_xhdpi_dir + relative_filename
67
+ Ii.resize filename, dest_android_hdpi_dir + relative_filename, 0.75
68
+ Ii.resize filename, dest_android_mdpi_dir + relative_filename, 0.5
69
+ end
70
+ end
71
+
72
+ else
73
+ logger.warn 'Please put all files to _source directory.'
74
+ end
data/ii.gemspec CHANGED
@@ -21,4 +21,5 @@ Gem::Specification.new do |spec|
21
21
  spec.add_development_dependency "bundler", "~> 1.6"
22
22
  spec.add_development_dependency "rake"
23
23
  spec.add_runtime_dependency "parallel", "1.0.0"
24
+ spec.add_runtime_dependency "rmagick", "~> 2.13"
24
25
  end
data/lib/ii.rb CHANGED
@@ -1,12 +1,34 @@
1
1
  require "ii/version"
2
2
  require "Parallel"
3
+ require "RMagick"
4
+ require "Find"
5
+
6
+
3
7
 
4
8
  class Ii
5
- def self.hi
6
- files = ['a', 'b', 'c', 'd']
7
- Parallel.each(files){|file|
8
- puts "Hello world!"
9
- }
10
- return "Hello world!"
9
+ def self.resize(filename, new_filename, resize_ratio)
10
+ # read the image
11
+ img = Magick::Image.read(filename).first
12
+
13
+ # get the image height and width
14
+ width = img.columns
15
+ height = img.rows
16
+
17
+ # calculate the dest height and width
18
+ dest_height = height*resize_ratio
19
+ dest_width = width*resize_ratio
20
+
21
+
22
+ # resize the new image
23
+ # the api can be found at http://studio.imagemagick.org/RMagick/doc/constants.html#GravityType
24
+ new_img = img.resize(dest_width, dest_height, Magick::LanczosFilter, 0.8)
25
+ # new_img = img.resize(0.75)
26
+
27
+ # set quality
28
+ new_img.write(new_filename) {self.quality = 70 }
29
+
30
+ # clean the RAM
31
+ img.destroy!
32
+ new_img.destroy!
11
33
  end
12
34
  end
@@ -1,3 +1,3 @@
1
1
  class Ii
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ii
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - yuguo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-20 00:00:00.000000000 Z
11
+ date: 2014-05-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -52,28 +52,36 @@ dependencies:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
54
  version: 1.0.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: rmagick
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '2.13'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '2.13'
55
69
  description: '"Image Idea is a tool set for image operation, as resize and change
56
70
  color."'
57
71
  email:
58
72
  - fishguo321@gmail.com
59
73
  executables:
74
+ - clean
60
75
  - ii
61
76
  extensions: []
62
77
  extra_rdoc_files: []
63
78
  files:
64
79
  - .gitignore
65
- - .idea/.name
66
- - .idea/encodings.xml
67
- - .idea/ii.iml
68
- - .idea/misc.xml
69
- - .idea/modules.xml
70
- - .idea/scopes/scope_settings.xml
71
- - .idea/vcs.xml
72
- - .idea/workspace.xml
73
80
  - Gemfile
74
81
  - LICENSE.txt
75
82
  - README.md
76
83
  - Rakefile
84
+ - bin/clean
77
85
  - bin/ii
78
86
  - ii.gemspec
79
87
  - lib/ii.rb
@@ -1 +0,0 @@
1
- ii
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="Encoding" useUTFGuessing="true" native2AsciiForPropertiesFiles="false" />
4
- </project>
5
-
@@ -1,9 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module type="WEB_MODULE" version="4">
3
- <component name="NewModuleRootManager">
4
- <content url="file://$MODULE_DIR$" />
5
- <orderEntry type="inheritedJdk" />
6
- <orderEntry type="sourceFolder" forTests="false" />
7
- </component>
8
- </module>
9
-
@@ -1,5 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ProjectRootManager" version="2" />
4
- </project>
5
-
@@ -1,9 +0,0 @@
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/ii.iml" filepath="$PROJECT_DIR$/.idea/ii.iml" />
6
- </modules>
7
- </component>
8
- </project>
9
-
@@ -1,5 +0,0 @@
1
- <component name="DependencyValidationManager">
2
- <state>
3
- <option name="SKIP_IMPORT_STATEMENTS" value="false" />
4
- </state>
5
- </component>
@@ -1,7 +0,0 @@
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
-
@@ -1,405 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="e84f7d08-73cc-41ba-b393-5662aed03467" name="Default" comment="">
5
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
6
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/ii.gemspec" afterPath="$PROJECT_DIR$/ii.gemspec" />
7
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ii.rb" afterPath="$PROJECT_DIR$/lib/ii.rb" />
8
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/ii/version.rb" afterPath="$PROJECT_DIR$/lib/ii/version.rb" />
9
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
10
- </list>
11
- <ignored path="ii.iws" />
12
- <ignored path=".idea/workspace.xml" />
13
- <option name="TRACKING_ENABLED" value="true" />
14
- <option name="SHOW_DIALOG" value="false" />
15
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
16
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
17
- <option name="LAST_RESOLUTION" value="IGNORE" />
18
- </component>
19
- <component name="ChangesViewManager" flattened_view="true" show_ignored="false" />
20
- <component name="CreatePatchCommitExecutor">
21
- <option name="PATCH_PATH" value="" />
22
- </component>
23
- <component name="DaemonCodeAnalyzer">
24
- <disable_hints />
25
- </component>
26
- <component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
27
- <component name="FavoritesManager">
28
- <favorites_list name="ii" />
29
- </component>
30
- <component name="FileEditorManager">
31
- <leaf>
32
- <file leaf-file-name="ii.rb" pinned="false" current="false" current-in-tab="false">
33
- <entry file="file://$PROJECT_DIR$/lib/ii.rb">
34
- <provider selected="true" editor-type-id="text-editor">
35
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="270">
36
- <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
37
- <folding />
38
- </state>
39
- </provider>
40
- </entry>
41
- </file>
42
- <file leaf-file-name="ii.gemspec" pinned="false" current="false" current-in-tab="false">
43
- <entry file="file://$PROJECT_DIR$/ii.gemspec">
44
- <provider selected="true" editor-type-id="text-editor">
45
- <state vertical-scroll-proportion="-12.692307" vertical-offset="0" max-vertical-offset="450">
46
- <caret line="22" column="32" selection-start-line="22" selection-start-column="32" selection-end-line="22" selection-end-column="32" />
47
- <folding />
48
- </state>
49
- </provider>
50
- </entry>
51
- </file>
52
- <file leaf-file-name="Gemfile" pinned="false" current="false" current-in-tab="false">
53
- <entry file="file://$PROJECT_DIR$/Gemfile">
54
- <provider selected="true" editor-type-id="text-editor">
55
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
56
- <caret line="5" column="6" selection-start-line="5" selection-start-column="6" selection-end-line="5" selection-end-column="6" />
57
- <folding />
58
- </state>
59
- </provider>
60
- </entry>
61
- </file>
62
- <file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
63
- <entry file="file://$PROJECT_DIR$/lib/ii/version.rb">
64
- <provider selected="true" editor-type-id="text-editor">
65
- <state vertical-scroll-proportion="0.021367522" vertical-offset="0" max-vertical-offset="702">
66
- <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
67
- <folding />
68
- </state>
69
- </provider>
70
- </entry>
71
- </file>
72
- <file leaf-file-name="ii" pinned="false" current="false" current-in-tab="false">
73
- <entry file="file://$PROJECT_DIR$/bin/ii">
74
- <provider selected="true" editor-type-id="text-editor">
75
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
76
- <caret line="2" column="11" selection-start-line="2" selection-start-column="11" selection-end-line="2" selection-end-column="11" />
77
- <folding />
78
- </state>
79
- </provider>
80
- </entry>
81
- </file>
82
- <file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
83
- <entry file="file://$PROJECT_DIR$/Rakefile">
84
- <provider selected="true" editor-type-id="text-editor">
85
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="255">
86
- <caret line="9" column="22" selection-start-line="9" selection-start-column="22" selection-end-line="9" selection-end-column="22" />
87
- <folding />
88
- </state>
89
- </provider>
90
- </entry>
91
- </file>
92
- <file leaf-file-name="README.md" pinned="false" current="false" current-in-tab="false">
93
- <entry file="file://$PROJECT_DIR$/README.md">
94
- <provider selected="true" editor-type-id="text-editor">
95
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="525">
96
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
97
- <folding />
98
- </state>
99
- </provider>
100
- </entry>
101
- </file>
102
- </leaf>
103
- </component>
104
- <component name="FindManager">
105
- <FindUsagesManager>
106
- <setting name="OPEN_NEW_TAB" value="true" />
107
- </FindUsagesManager>
108
- </component>
109
- <component name="Git.Settings">
110
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
111
- </component>
112
- <component name="IdeDocumentHistory">
113
- <option name="changedFiles">
114
- <list>
115
- <option value="$PROJECT_DIR$/bin/ii" />
116
- <option value="$PROJECT_DIR$/Rakefile" />
117
- <option value="$PROJECT_DIR$/test/test_ii.rb" />
118
- <option value="$PROJECT_DIR$/lib/ii.rb" />
119
- <option value="$PROJECT_DIR$/Gemfile" />
120
- <option value="$PROJECT_DIR$/ii.gemspec" />
121
- <option value="$PROJECT_DIR$/lib/ii/version.rb" />
122
- </list>
123
- </option>
124
- </component>
125
- <component name="ProjectFrameBounds">
126
- <option name="width" value="1280" />
127
- <option name="height" value="800" />
128
- </component>
129
- <component name="ProjectLevelVcsManager" settingsEditedManually="false">
130
- <OptionsSetting value="true" id="Add" />
131
- <OptionsSetting value="true" id="Remove" />
132
- <OptionsSetting value="true" id="Checkout" />
133
- <OptionsSetting value="true" id="Update" />
134
- <OptionsSetting value="true" id="Status" />
135
- <OptionsSetting value="true" id="Edit" />
136
- <ConfirmationsSetting value="0" id="Add" />
137
- <ConfirmationsSetting value="0" id="Remove" />
138
- </component>
139
- <component name="ProjectReloadState">
140
- <option name="STATE" value="0" />
141
- </component>
142
- <component name="ProjectView">
143
- <navigator currentView="ProjectPane" proportions="" version="1">
144
- <flattenPackages />
145
- <showMembers />
146
- <showModules />
147
- <showLibraryContents />
148
- <hideEmptyPackages />
149
- <abbreviatePackageNames />
150
- <autoscrollToSource ProjectPane="true" />
151
- <autoscrollFromSource ProjectPane="true" />
152
- <sortByType />
153
- </navigator>
154
- <panes>
155
- <pane id="ProjectPane">
156
- <subPane>
157
- <PATH>
158
- <PATH_ELEMENT>
159
- <option name="myItemId" value="ii" />
160
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
161
- </PATH_ELEMENT>
162
- </PATH>
163
- <PATH>
164
- <PATH_ELEMENT>
165
- <option name="myItemId" value="ii" />
166
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
167
- </PATH_ELEMENT>
168
- <PATH_ELEMENT>
169
- <option name="myItemId" value="ii" />
170
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
171
- </PATH_ELEMENT>
172
- </PATH>
173
- <PATH>
174
- <PATH_ELEMENT>
175
- <option name="myItemId" value="ii" />
176
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
177
- </PATH_ELEMENT>
178
- <PATH_ELEMENT>
179
- <option name="myItemId" value="ii" />
180
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
181
- </PATH_ELEMENT>
182
- <PATH_ELEMENT>
183
- <option name="myItemId" value="test" />
184
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
185
- </PATH_ELEMENT>
186
- </PATH>
187
- <PATH>
188
- <PATH_ELEMENT>
189
- <option name="myItemId" value="ii" />
190
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
191
- </PATH_ELEMENT>
192
- <PATH_ELEMENT>
193
- <option name="myItemId" value="ii" />
194
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
195
- </PATH_ELEMENT>
196
- <PATH_ELEMENT>
197
- <option name="myItemId" value="lib" />
198
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
199
- </PATH_ELEMENT>
200
- </PATH>
201
- <PATH>
202
- <PATH_ELEMENT>
203
- <option name="myItemId" value="ii" />
204
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
205
- </PATH_ELEMENT>
206
- <PATH_ELEMENT>
207
- <option name="myItemId" value="ii" />
208
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
209
- </PATH_ELEMENT>
210
- <PATH_ELEMENT>
211
- <option name="myItemId" value="lib" />
212
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
213
- </PATH_ELEMENT>
214
- <PATH_ELEMENT>
215
- <option name="myItemId" value="ii" />
216
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
217
- </PATH_ELEMENT>
218
- </PATH>
219
- <PATH>
220
- <PATH_ELEMENT>
221
- <option name="myItemId" value="ii" />
222
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
223
- </PATH_ELEMENT>
224
- <PATH_ELEMENT>
225
- <option name="myItemId" value="ii" />
226
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
227
- </PATH_ELEMENT>
228
- <PATH_ELEMENT>
229
- <option name="myItemId" value="bin" />
230
- <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
231
- </PATH_ELEMENT>
232
- </PATH>
233
- </subPane>
234
- </pane>
235
- <pane id="Scope" />
236
- </panes>
237
- </component>
238
- <component name="PropertiesComponent">
239
- <property name="last_opened_file_path" value="$PROJECT_DIR$" />
240
- <property name="WebServerToolWindowFactoryState" value="true" />
241
- </component>
242
- <component name="RunManager">
243
- <configuration default="true" type="DartUnitRunConfigurationType" factoryName="DartUnit">
244
- <option name="VMOptions" />
245
- <option name="arguments" />
246
- <option name="filePath" />
247
- <option name="scope" value="ALL" />
248
- <option name="testName" />
249
- <method />
250
- </configuration>
251
- <configuration default="true" type="DartCommandLineRunConfigurationType" factoryName="Dart Command Line Application">
252
- <option name="VMOptions" />
253
- <option name="arguments" />
254
- <option name="filePath" />
255
- <option name="name" value="Dart" />
256
- <option name="saveOutputToFile" value="false" />
257
- <option name="showConsoleOnStdErr" value="false" />
258
- <option name="showConsoleOnStdOut" value="false" />
259
- <method />
260
- </configuration>
261
- <configuration default="true" type="CucumberJavaScriptRunConfigurationType" factoryName="Cucumber.js">
262
- <option name="cucumberJsArguments" />
263
- <option name="executablePath" />
264
- <option name="filePath" />
265
- <method />
266
- </configuration>
267
- <configuration default="true" type="JavaScriptTestRunnerKarma" factoryName="Karma" config-file="">
268
- <envs />
269
- <method />
270
- </configuration>
271
- <configuration default="true" type="JSTestDriver:ConfigurationType" factoryName="JsTestDriver">
272
- <setting name="configLocationType" value="CONFIG_FILE" />
273
- <setting name="settingsFile" value="" />
274
- <setting name="serverType" value="INTERNAL" />
275
- <setting name="preferredDebugBrowser" value="Chrome" />
276
- <method />
277
- </configuration>
278
- <configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
279
- <method />
280
- </configuration>
281
- <configuration default="true" type="NodeJSConfigurationType" factoryName="Node.js" working-dir="">
282
- <method />
283
- </configuration>
284
- <list size="0" />
285
- </component>
286
- <component name="ShelveChangesManager" show_recycled="false" />
287
- <component name="TaskManager">
288
- <task active="true" id="Default" summary="Default task">
289
- <changelist id="e84f7d08-73cc-41ba-b393-5662aed03467" name="Default" comment="" />
290
- <created>1400553418280</created>
291
- <updated>1400553418280</updated>
292
- </task>
293
- <servers />
294
- </component>
295
- <component name="ToolWindowManager">
296
- <frame x="0" y="0" width="1280" height="800" extended-state="0" />
297
- <editor active="true" />
298
- <layout>
299
- <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" />
300
- <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" />
301
- <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" />
302
- <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" />
303
- <window_info id="Remote Host" 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" />
304
- <window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24959612" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
305
- <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" />
306
- <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" />
307
- <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" />
308
- <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" />
309
- <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" />
310
- <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" />
311
- <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" />
312
- <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" />
313
- <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" />
314
- <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" />
315
- <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" />
316
- <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" />
317
- </layout>
318
- </component>
319
- <component name="Vcs.Log.UiProperties">
320
- <option name="RECENTLY_FILTERED_USER_GROUPS">
321
- <collection />
322
- </option>
323
- <option name="RECENTLY_FILTERED_BRANCH_GROUPS">
324
- <collection />
325
- </option>
326
- </component>
327
- <component name="VcsContentAnnotationSettings">
328
- <option name="myLimit" value="2678400000" />
329
- </component>
330
- <component name="VcsManagerConfiguration">
331
- <option name="myTodoPanelSettings">
332
- <TodoPanelSettings />
333
- </option>
334
- </component>
335
- <component name="XDebuggerManager">
336
- <breakpoint-manager />
337
- </component>
338
- <component name="editorHistoryManager">
339
- <entry file="file://$PROJECT_DIR$/README.md">
340
- <provider selected="true" editor-type-id="text-editor">
341
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="702">
342
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
343
- <folding />
344
- </state>
345
- </provider>
346
- </entry>
347
- <entry file="file://$PROJECT_DIR$/Rakefile">
348
- <provider selected="true" editor-type-id="text-editor">
349
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="255">
350
- <caret line="9" column="22" selection-start-line="9" selection-start-column="22" selection-end-line="9" selection-end-column="22" />
351
- <folding />
352
- </state>
353
- </provider>
354
- </entry>
355
- <entry file="file://$PROJECT_DIR$/test/test_ii.rb">
356
- <provider selected="true" editor-type-id="text-editor">
357
- <state vertical-scroll-proportion="0.10683761" vertical-offset="0" max-vertical-offset="702">
358
- <caret line="5" column="25" selection-start-line="5" selection-start-column="25" selection-end-line="5" selection-end-column="25" />
359
- <folding />
360
- </state>
361
- </provider>
362
- </entry>
363
- <entry file="file://$PROJECT_DIR$/lib/ii.rb">
364
- <provider selected="true" editor-type-id="text-editor">
365
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="270">
366
- <caret line="5" column="30" selection-start-line="5" selection-start-column="30" selection-end-line="5" selection-end-column="30" />
367
- <folding />
368
- </state>
369
- </provider>
370
- </entry>
371
- <entry file="file://$PROJECT_DIR$/Gemfile">
372
- <provider selected="true" editor-type-id="text-editor">
373
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="165">
374
- <caret line="5" column="6" selection-start-line="5" selection-start-column="6" selection-end-line="5" selection-end-column="6" />
375
- <folding />
376
- </state>
377
- </provider>
378
- </entry>
379
- <entry file="file://$PROJECT_DIR$/ii.gemspec">
380
- <provider selected="true" editor-type-id="text-editor">
381
- <state vertical-scroll-proportion="-12.692307" vertical-offset="0" max-vertical-offset="450">
382
- <caret line="22" column="32" selection-start-line="22" selection-start-column="32" selection-end-line="22" selection-end-column="32" />
383
- <folding />
384
- </state>
385
- </provider>
386
- </entry>
387
- <entry file="file://$PROJECT_DIR$/bin/ii">
388
- <provider selected="true" editor-type-id="text-editor">
389
- <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="135">
390
- <caret line="2" column="11" selection-start-line="2" selection-start-column="11" selection-end-line="2" selection-end-column="11" />
391
- <folding />
392
- </state>
393
- </provider>
394
- </entry>
395
- <entry file="file://$PROJECT_DIR$/lib/ii/version.rb">
396
- <provider selected="true" editor-type-id="text-editor">
397
- <state vertical-scroll-proportion="0.021367522" vertical-offset="0" max-vertical-offset="702">
398
- <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
399
- <folding />
400
- </state>
401
- </provider>
402
- </entry>
403
- </component>
404
- </project>
405
-