interkassa 0.0.3 → 0.0.4
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.
- data/.idea/interkassa.iml +3 -1
- data/.idea/workspace.xml +43 -40
- data/lib/interkassa/interkassa_helper.rb +7 -1
- data/lib/interkassa/version.rb +1 -1
- metadata +2 -2
data/.idea/interkassa.iml
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<module type="RUBY_MODULE" version="4">
|
|
3
3
|
<component name="NewModuleRootManager">
|
|
4
|
-
<content url="file://$MODULE_DIR$"
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.bundle" />
|
|
6
|
+
</content>
|
|
5
7
|
<orderEntry type="inheritedJdk" />
|
|
6
8
|
<orderEntry type="sourceFolder" forTests="false" />
|
|
7
9
|
<orderEntry type="library" scope="PROVIDED" name="[gem] bundler (v1.0.15, /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.15)" level="application" />
|
data/.idea/workspace.xml
CHANGED
|
@@ -2,11 +2,24 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="f143fc1e-b882-4f04-a839-a523ac9fe456" name="Default" comment="">
|
|
5
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/.name" />
|
|
6
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/.rakeTasks" />
|
|
7
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/interkassa.iml" />
|
|
5
8
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.gitignore" />
|
|
9
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/encodings.xml" />
|
|
10
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/misc.xml" />
|
|
11
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/modules.xml" />
|
|
12
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/vcs.xml" />
|
|
13
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
|
6
14
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Gemfile" />
|
|
7
15
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/Rakefile" />
|
|
8
16
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/interkassa.gemspec" />
|
|
9
17
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa.rb" />
|
|
18
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa/base_operation.rb" />
|
|
19
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa/interkassa_helper.rb" />
|
|
20
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa/railtie.rb" />
|
|
21
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa/request.rb" />
|
|
22
|
+
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa/response.rb" />
|
|
10
23
|
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/interkassa/version.rb" />
|
|
11
24
|
</list>
|
|
12
25
|
<ignored path="interkassa.iws" />
|
|
@@ -31,10 +44,10 @@
|
|
|
31
44
|
</component>
|
|
32
45
|
<component name="FileEditorManager">
|
|
33
46
|
<leaf>
|
|
34
|
-
<file leaf-file-name="interkassa.rb" pinned="false" current="
|
|
47
|
+
<file leaf-file-name="interkassa.rb" pinned="false" current="false" current-in-tab="false">
|
|
35
48
|
<entry file="file://$PROJECT_DIR$/lib/interkassa.rb">
|
|
36
49
|
<provider selected="true" editor-type-id="text-editor">
|
|
37
|
-
<state line="3" column="47" selection-start="135" selection-end="135" vertical-scroll-proportion="0.
|
|
50
|
+
<state line="3" column="47" selection-start="135" selection-end="135" vertical-scroll-proportion="0.0">
|
|
38
51
|
<folding />
|
|
39
52
|
</state>
|
|
40
53
|
</provider>
|
|
@@ -52,7 +65,7 @@
|
|
|
52
65
|
<file leaf-file-name="interkassa_helper.rb" pinned="false" current="false" current-in-tab="false">
|
|
53
66
|
<entry file="file://$PROJECT_DIR$/lib/interkassa/interkassa_helper.rb">
|
|
54
67
|
<provider selected="true" editor-type-id="text-editor">
|
|
55
|
-
<state line="
|
|
68
|
+
<state line="27" column="76" selection-start="1796" selection-end="1796" vertical-scroll-proportion="0.0">
|
|
56
69
|
<folding />
|
|
57
70
|
</state>
|
|
58
71
|
</provider>
|
|
@@ -76,10 +89,10 @@
|
|
|
76
89
|
</provider>
|
|
77
90
|
</entry>
|
|
78
91
|
</file>
|
|
79
|
-
<file leaf-file-name="version.rb" pinned="false" current="
|
|
92
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
|
80
93
|
<entry file="file://$PROJECT_DIR$/lib/interkassa/version.rb">
|
|
81
94
|
<provider selected="true" editor-type-id="text-editor">
|
|
82
|
-
<state line="
|
|
95
|
+
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.027075812">
|
|
83
96
|
<folding />
|
|
84
97
|
</state>
|
|
85
98
|
</provider>
|
|
@@ -125,6 +138,7 @@
|
|
|
125
138
|
<option value="$PROJECT_DIR$/lib/interkassa.rb" />
|
|
126
139
|
<option value="$PROJECT_DIR$/lib/interkassa/railtie.rb" />
|
|
127
140
|
<option value="$PROJECT_DIR$/lib/interkassa/interkassa_helper.rb" />
|
|
141
|
+
<option value="$PROJECT_DIR$/lib/interkassa/version.rb" />
|
|
128
142
|
</list>
|
|
129
143
|
</option>
|
|
130
144
|
</component>
|
|
@@ -154,7 +168,6 @@
|
|
|
154
168
|
<sortByType />
|
|
155
169
|
</navigator>
|
|
156
170
|
<panes>
|
|
157
|
-
<pane id="Scope" />
|
|
158
171
|
<pane id="ProjectPane">
|
|
159
172
|
<subPane>
|
|
160
173
|
<PATH>
|
|
@@ -208,6 +221,7 @@
|
|
|
208
221
|
</subPane>
|
|
209
222
|
</pane>
|
|
210
223
|
<pane id="Favorites" />
|
|
224
|
+
<pane id="Scope" />
|
|
211
225
|
</panes>
|
|
212
226
|
</component>
|
|
213
227
|
<component name="RunManager">
|
|
@@ -231,6 +245,7 @@
|
|
|
231
245
|
</component>
|
|
232
246
|
<component name="TaskManager">
|
|
233
247
|
<task active="true" id="Default" summary="Default task">
|
|
248
|
+
<changelist id="f143fc1e-b882-4f04-a839-a523ac9fe456" name="Default" comment="" />
|
|
234
249
|
<created>1329242640427</created>
|
|
235
250
|
<updated>1329242640427</updated>
|
|
236
251
|
</task>
|
|
@@ -240,21 +255,21 @@
|
|
|
240
255
|
<frame x="0" y="24" width="1280" height="733" extended-state="0" />
|
|
241
256
|
<editor active="true" />
|
|
242
257
|
<layout>
|
|
243
|
-
<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="
|
|
258
|
+
<window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
244
259
|
<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" />
|
|
245
260
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="true" content_ui="tabs" />
|
|
246
|
-
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="
|
|
261
|
+
<window_info id="Dependency Viewer" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
247
262
|
<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="tabs" />
|
|
248
263
|
<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" />
|
|
249
264
|
<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" />
|
|
250
|
-
<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="
|
|
265
|
+
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" />
|
|
251
266
|
<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" />
|
|
252
267
|
<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" />
|
|
253
|
-
<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" />
|
|
254
268
|
<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" />
|
|
269
|
+
<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" />
|
|
255
270
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
256
|
-
<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" />
|
|
257
271
|
<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" />
|
|
272
|
+
<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" />
|
|
258
273
|
</layout>
|
|
259
274
|
</component>
|
|
260
275
|
<component name="VcsManagerConfiguration">
|
|
@@ -290,65 +305,53 @@
|
|
|
290
305
|
<breakpoint-manager />
|
|
291
306
|
</component>
|
|
292
307
|
<component name="editorHistoryManager">
|
|
293
|
-
<entry file="file://$PROJECT_DIR$/lib/interkassa
|
|
308
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa.rb">
|
|
294
309
|
<provider selected="true" editor-type-id="text-editor">
|
|
295
|
-
<state line="
|
|
310
|
+
<state line="3" column="47" selection-start="135" selection-end="135" vertical-scroll-proportion="0.0">
|
|
296
311
|
<folding />
|
|
297
312
|
</state>
|
|
298
313
|
</provider>
|
|
299
314
|
</entry>
|
|
300
|
-
<entry file="file://$PROJECT_DIR$/lib/interkassa/
|
|
315
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/railtie.rb">
|
|
301
316
|
<provider selected="true" editor-type-id="text-editor">
|
|
302
|
-
<state line="
|
|
303
|
-
<folding />
|
|
304
|
-
</state>
|
|
317
|
+
<state line="0" column="20" selection-start="20" selection-end="20" vertical-scroll-proportion="0.0" />
|
|
305
318
|
</provider>
|
|
306
319
|
</entry>
|
|
307
|
-
<entry file="file://$PROJECT_DIR
|
|
320
|
+
<entry file="file://$PROJECT_DIR$/interkassa.gemspec">
|
|
308
321
|
<provider selected="true" editor-type-id="text-editor">
|
|
309
|
-
<state line="
|
|
310
|
-
<folding />
|
|
311
|
-
</state>
|
|
322
|
+
<state line="20" column="0" selection-start="738" selection-end="738" vertical-scroll-proportion="0.0" />
|
|
312
323
|
</provider>
|
|
313
324
|
</entry>
|
|
314
|
-
<entry file="file://$PROJECT_DIR$/
|
|
325
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
315
326
|
<provider selected="true" editor-type-id="text-editor">
|
|
316
|
-
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0"
|
|
317
|
-
<folding />
|
|
318
|
-
</state>
|
|
327
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
|
319
328
|
</provider>
|
|
320
329
|
</entry>
|
|
321
|
-
<entry file="file://$PROJECT_DIR$/
|
|
330
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/request.rb">
|
|
322
331
|
<provider selected="true" editor-type-id="text-editor">
|
|
323
|
-
<state line="
|
|
324
|
-
<folding />
|
|
325
|
-
</state>
|
|
332
|
+
<state line="3" column="17" selection-start="71" selection-end="71" vertical-scroll-proportion="0.0" />
|
|
326
333
|
</provider>
|
|
327
334
|
</entry>
|
|
328
|
-
<entry file="file://$PROJECT_DIR
|
|
335
|
+
<entry file="file://$PROJECT_DIR$/.gitignore">
|
|
329
336
|
<provider selected="true" editor-type-id="text-editor">
|
|
330
|
-
<state line="
|
|
331
|
-
<folding />
|
|
332
|
-
</state>
|
|
337
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
|
333
338
|
</provider>
|
|
334
339
|
</entry>
|
|
335
|
-
<entry file="file://$PROJECT_DIR$/
|
|
340
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
336
341
|
<provider selected="true" editor-type-id="text-editor">
|
|
337
|
-
<state line="0" column="
|
|
338
|
-
<folding />
|
|
339
|
-
</state>
|
|
342
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
|
340
343
|
</provider>
|
|
341
344
|
</entry>
|
|
342
345
|
<entry file="file://$PROJECT_DIR$/lib/interkassa/interkassa_helper.rb">
|
|
343
346
|
<provider selected="true" editor-type-id="text-editor">
|
|
344
|
-
<state line="
|
|
347
|
+
<state line="27" column="76" selection-start="1796" selection-end="1796" vertical-scroll-proportion="0.0">
|
|
345
348
|
<folding />
|
|
346
349
|
</state>
|
|
347
350
|
</provider>
|
|
348
351
|
</entry>
|
|
349
|
-
<entry file="file://$PROJECT_DIR$/lib/interkassa.rb">
|
|
352
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/version.rb">
|
|
350
353
|
<provider selected="true" editor-type-id="text-editor">
|
|
351
|
-
<state line="
|
|
354
|
+
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.027075812">
|
|
352
355
|
<folding />
|
|
353
356
|
</state>
|
|
354
357
|
</provider>
|
|
@@ -19,7 +19,13 @@ module Interkassa
|
|
|
19
19
|
hidden_field_tag(:ik_payment_id, ik_request.ik_payment_id)+
|
|
20
20
|
hidden_field_tag(:ik_payment_desc, ik_request.ik_payment_desc)+
|
|
21
21
|
hidden_field_tag(:ik_paysystem_alias, ik_request.ik_paysystem_alias)+
|
|
22
|
-
hidden_field_tag(:ik_baggage_fields, ik_request.ik_baggage_fields)
|
|
22
|
+
hidden_field_tag(:ik_baggage_fields, ik_request.ik_baggage_fields)+
|
|
23
|
+
hidden_field_tag(:ik_success_url, ik_request.ik_success_url)+
|
|
24
|
+
hidden_field_tag(:ik_success_method, ik_request.ik_success_method)+
|
|
25
|
+
hidden_field_tag(:ik_fail_url, ik_request.ik_fail_url)+
|
|
26
|
+
hidden_field_tag(:ik_fail_method, ik_request.ik_fail_method)+
|
|
27
|
+
hidden_field_tag(:ik_status_url, ik_request.ik_status_url)+
|
|
28
|
+
hidden_field_tag(:ik_status_method, ik_request.ik_status_method);
|
|
23
29
|
if block_given?
|
|
24
30
|
result += yield
|
|
25
31
|
else
|
data/lib/interkassa/version.rb
CHANGED