interkassa 0.0.4 → 0.0.5
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/workspace.xml +41 -17
- data/lib/interkassa/response.rb +2 -2
- data/lib/interkassa/version.rb +1 -1
- metadata +2 -2
data/.idea/workspace.xml
CHANGED
|
@@ -71,28 +71,37 @@
|
|
|
71
71
|
</provider>
|
|
72
72
|
</entry>
|
|
73
73
|
</file>
|
|
74
|
-
<file leaf-file-name="
|
|
75
|
-
<entry file="file://$PROJECT_DIR$/interkassa.
|
|
74
|
+
<file leaf-file-name="response.rb" pinned="false" current="false" current-in-tab="false">
|
|
75
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/response.rb">
|
|
76
76
|
<provider selected="true" editor-type-id="text-editor">
|
|
77
|
-
<state line="
|
|
77
|
+
<state line="75" column="42" selection-start="3759" selection-end="3759" vertical-scroll-proportion="0.0">
|
|
78
78
|
<folding />
|
|
79
79
|
</state>
|
|
80
80
|
</provider>
|
|
81
81
|
</entry>
|
|
82
82
|
</file>
|
|
83
|
-
<file leaf-file-name="
|
|
84
|
-
<entry file="file://$PROJECT_DIR$/
|
|
83
|
+
<file leaf-file-name="version.rb" pinned="false" current="true" current-in-tab="true">
|
|
84
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/version.rb">
|
|
85
85
|
<provider selected="true" editor-type-id="text-editor">
|
|
86
|
-
<state line="
|
|
86
|
+
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.02688172">
|
|
87
87
|
<folding />
|
|
88
88
|
</state>
|
|
89
89
|
</provider>
|
|
90
90
|
</entry>
|
|
91
91
|
</file>
|
|
92
|
-
<file leaf-file-name="
|
|
93
|
-
<entry file="file://$PROJECT_DIR$/
|
|
92
|
+
<file leaf-file-name="interkassa.gemspec" pinned="false" current="false" current-in-tab="false">
|
|
93
|
+
<entry file="file://$PROJECT_DIR$/interkassa.gemspec">
|
|
94
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
95
|
+
<state line="20" column="0" selection-start="738" selection-end="738" vertical-scroll-proportion="0.0">
|
|
96
|
+
<folding />
|
|
97
|
+
</state>
|
|
98
|
+
</provider>
|
|
99
|
+
</entry>
|
|
100
|
+
</file>
|
|
101
|
+
<file leaf-file-name="Rakefile" pinned="false" current="false" current-in-tab="false">
|
|
102
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
94
103
|
<provider selected="true" editor-type-id="text-editor">
|
|
95
|
-
<state line="
|
|
104
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
96
105
|
<folding />
|
|
97
106
|
</state>
|
|
98
107
|
</provider>
|
|
@@ -138,6 +147,7 @@
|
|
|
138
147
|
<option value="$PROJECT_DIR$/lib/interkassa.rb" />
|
|
139
148
|
<option value="$PROJECT_DIR$/lib/interkassa/railtie.rb" />
|
|
140
149
|
<option value="$PROJECT_DIR$/lib/interkassa/interkassa_helper.rb" />
|
|
150
|
+
<option value="$PROJECT_DIR$/lib/interkassa/response.rb" />
|
|
141
151
|
<option value="$PROJECT_DIR$/lib/interkassa/version.rb" />
|
|
142
152
|
</list>
|
|
143
153
|
</option>
|
|
@@ -252,14 +262,14 @@
|
|
|
252
262
|
<servers />
|
|
253
263
|
</component>
|
|
254
264
|
<component name="ToolWindowManager">
|
|
255
|
-
<frame x="
|
|
265
|
+
<frame x="-1" y="24" width="1282" height="737" extended-state="7" />
|
|
256
266
|
<editor active="true" />
|
|
257
267
|
<layout>
|
|
258
268
|
<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" />
|
|
259
269
|
<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" />
|
|
260
270
|
<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" />
|
|
261
271
|
<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" />
|
|
262
|
-
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.
|
|
272
|
+
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.24960127" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
263
273
|
<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" />
|
|
264
274
|
<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" />
|
|
265
275
|
<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" />
|
|
@@ -322,11 +332,6 @@
|
|
|
322
332
|
<state line="20" column="0" selection-start="738" selection-end="738" vertical-scroll-proportion="0.0" />
|
|
323
333
|
</provider>
|
|
324
334
|
</entry>
|
|
325
|
-
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
326
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
327
|
-
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
|
328
|
-
</provider>
|
|
329
|
-
</entry>
|
|
330
335
|
<entry file="file://$PROJECT_DIR$/lib/interkassa/request.rb">
|
|
331
336
|
<provider selected="true" editor-type-id="text-editor">
|
|
332
337
|
<state line="3" column="17" selection-start="71" selection-end="71" vertical-scroll-proportion="0.0" />
|
|
@@ -342,6 +347,11 @@
|
|
|
342
347
|
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
|
343
348
|
</provider>
|
|
344
349
|
</entry>
|
|
350
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
351
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
352
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0" />
|
|
353
|
+
</provider>
|
|
354
|
+
</entry>
|
|
345
355
|
<entry file="file://$PROJECT_DIR$/lib/interkassa/interkassa_helper.rb">
|
|
346
356
|
<provider selected="true" editor-type-id="text-editor">
|
|
347
357
|
<state line="27" column="76" selection-start="1796" selection-end="1796" vertical-scroll-proportion="0.0">
|
|
@@ -349,9 +359,23 @@
|
|
|
349
359
|
</state>
|
|
350
360
|
</provider>
|
|
351
361
|
</entry>
|
|
362
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/base_operation.rb">
|
|
363
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
364
|
+
<state line="0" column="0" selection-start="0" selection-end="0" vertical-scroll-proportion="0.0">
|
|
365
|
+
<folding />
|
|
366
|
+
</state>
|
|
367
|
+
</provider>
|
|
368
|
+
</entry>
|
|
369
|
+
<entry file="file://$PROJECT_DIR$/lib/interkassa/response.rb">
|
|
370
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
371
|
+
<state line="75" column="42" selection-start="3759" selection-end="3759" vertical-scroll-proportion="0.0">
|
|
372
|
+
<folding />
|
|
373
|
+
</state>
|
|
374
|
+
</provider>
|
|
375
|
+
</entry>
|
|
352
376
|
<entry file="file://$PROJECT_DIR$/lib/interkassa/version.rb">
|
|
353
377
|
<provider selected="true" editor-type-id="text-editor">
|
|
354
|
-
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.
|
|
378
|
+
<state line="1" column="18" selection-start="36" selection-end="36" vertical-scroll-proportion="0.02688172">
|
|
355
379
|
<folding />
|
|
356
380
|
</state>
|
|
357
381
|
</provider>
|
data/lib/interkassa/response.rb
CHANGED
|
@@ -81,9 +81,9 @@ module Interkassa
|
|
|
81
81
|
def check_sum()
|
|
82
82
|
data=""
|
|
83
83
|
SIGN_ATTRIBUTES.each do |attr|
|
|
84
|
-
data+=self.instance_variable_get("@"+attr)+SPLITER;
|
|
84
|
+
data+=self.instance_variable_get("@"+attr).to_s+SPLITER;
|
|
85
85
|
end
|
|
86
|
-
Digest::MD5.
|
|
86
|
+
Digest::MD5.hexdigest(data+self.secret_key).upcase
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
end
|
data/lib/interkassa/version.rb
CHANGED