pushradar 1.0.1 → 1.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/.idea/workspace.xml +91 -82
- data/CHANGELOG.md +4 -0
- data/README.md +66 -5
- data/VERSION +1 -1
- data/lib/PushRadar/version.rb +1 -1
- metadata +2 -3
- data/README.in_progress.md +0 -66
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5dd6568ec1646f991aa8a91759c78fb76f81d852
|
|
4
|
+
data.tar.gz: 2738610c0a553a4c5fcb3f9b87d124acffb66f39
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fa18f2a846339a5bfeac768c22351911eb831303346f90fd225a6d844c59413cadc689070dbd73e54295683591b8ffb12d8db78d2020ada51993f7815516aea8
|
|
7
|
+
data.tar.gz: 1e74506706d010cd3798e8a51bb9d9355d87a7c71b59de6e164616f84d0fb5cd96e3dcb84cdf9217670180eb152758953da377790f2404d699e697cf8b33e390
|
data/.idea/workspace.xml
CHANGED
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="3aa981a2-6f1a-4c48-b990-e8a3562c6639" name="Default" comment="
|
|
5
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
|
6
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/CHANGELOG.md" afterPath="$PROJECT_DIR$/CHANGELOG.md" />
|
|
7
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/README.in_progress.md" afterPath="$PROJECT_DIR$/README.in_progress.md" />
|
|
8
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/VERSION" afterPath="$PROJECT_DIR$/VERSION" />
|
|
9
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/PushRadar.rb" afterPath="$PROJECT_DIR$/lib/PushRadar.rb" />
|
|
10
|
-
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/PushRadar/Utils.rb" afterPath="$PROJECT_DIR$/lib/PushRadar/Utils.rb" />
|
|
4
|
+
<list default="true" id="3aa981a2-6f1a-4c48-b990-e8a3562c6639" name="Default" comment="">
|
|
11
5
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/PushRadar/version.rb" afterPath="$PROJECT_DIR$/lib/PushRadar/version.rb" />
|
|
12
6
|
</list>
|
|
13
7
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
|
@@ -24,7 +18,7 @@
|
|
|
24
18
|
<SUITE FILE_PATH="coverage/PushRadarRuby@APIClient.coverage" NAME="APIClient Coverage Results" MODIFIED="1502237643139" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/lib/PushRadar" MODULE_NAME="PushRadarRuby" />
|
|
25
19
|
</component>
|
|
26
20
|
<component name="FileEditorManager">
|
|
27
|
-
<leaf
|
|
21
|
+
<leaf />
|
|
28
22
|
</component>
|
|
29
23
|
<component name="FileTemplateManagerImpl">
|
|
30
24
|
<option name="RECENT_TEMPLATES">
|
|
@@ -83,11 +77,11 @@
|
|
|
83
77
|
<option value="$PROJECT_DIR$/lib/PushRadar/APIClient.rb" />
|
|
84
78
|
<option value="$PROJECT_DIR$/.gitignore" />
|
|
85
79
|
<option value="$PROJECT_DIR$/lib/PushRadar/Targeting.rb" />
|
|
86
|
-
<option value="$PROJECT_DIR$/todo" />
|
|
87
80
|
<option value="$PROJECT_DIR$/README.in_progress.md" />
|
|
88
81
|
<option value="$PROJECT_DIR$/lib/PushRadar.rb" />
|
|
89
82
|
<option value="$PROJECT_DIR$/lib/PushRadar/Utils.rb" />
|
|
90
83
|
<option value="$PROJECT_DIR$/VERSION" />
|
|
84
|
+
<option value="$PROJECT_DIR$/todo" />
|
|
91
85
|
<option value="$PROJECT_DIR$/CHANGELOG.md" />
|
|
92
86
|
<option value="$PROJECT_DIR$/lib/PushRadar/version.rb" />
|
|
93
87
|
</list>
|
|
@@ -122,6 +116,7 @@
|
|
|
122
116
|
</navigator>
|
|
123
117
|
<panes>
|
|
124
118
|
<pane id="Scratches" />
|
|
119
|
+
<pane id="Scope" />
|
|
125
120
|
<pane id="ProjectPane">
|
|
126
121
|
<subPane>
|
|
127
122
|
<expand>
|
|
@@ -133,7 +128,6 @@
|
|
|
133
128
|
<select />
|
|
134
129
|
</subPane>
|
|
135
130
|
</pane>
|
|
136
|
-
<pane id="Scope" />
|
|
137
131
|
</panes>
|
|
138
132
|
</component>
|
|
139
133
|
<component name="PropertiesComponent">
|
|
@@ -254,7 +248,9 @@
|
|
|
254
248
|
<workItem from="1502647626921" duration="2468000" />
|
|
255
249
|
<workItem from="1502651803286" duration="9000" />
|
|
256
250
|
<workItem from="1502921500483" duration="1178000" />
|
|
257
|
-
<workItem from="1502923017440" duration="
|
|
251
|
+
<workItem from="1502923017440" duration="1141000" />
|
|
252
|
+
<workItem from="1503064701032" duration="16000" />
|
|
253
|
+
<workItem from="1503305788427" duration="863000" />
|
|
258
254
|
</task>
|
|
259
255
|
<task id="LOCAL-00001" summary="Closed beta">
|
|
260
256
|
<created>1502922296861</created>
|
|
@@ -270,32 +266,46 @@
|
|
|
270
266
|
<option name="project" value="LOCAL" />
|
|
271
267
|
<updated>1502922360694</updated>
|
|
272
268
|
</task>
|
|
273
|
-
<
|
|
269
|
+
<task id="LOCAL-00003" summary="Modifications to continent targeting">
|
|
270
|
+
<created>1502923914493</created>
|
|
271
|
+
<option name="number" value="00003" />
|
|
272
|
+
<option name="presentableId" value="LOCAL-00003" />
|
|
273
|
+
<option name="project" value="LOCAL" />
|
|
274
|
+
<updated>1502923914493</updated>
|
|
275
|
+
</task>
|
|
276
|
+
<task id="LOCAL-00004" summary="Launch of PushRadar">
|
|
277
|
+
<created>1503305895544</created>
|
|
278
|
+
<option name="number" value="00004" />
|
|
279
|
+
<option name="presentableId" value="LOCAL-00004" />
|
|
280
|
+
<option name="project" value="LOCAL" />
|
|
281
|
+
<updated>1503305895544</updated>
|
|
282
|
+
</task>
|
|
283
|
+
<option name="localTasksCounter" value="5" />
|
|
274
284
|
<servers />
|
|
275
285
|
</component>
|
|
276
286
|
<component name="TimeTrackingManager">
|
|
277
|
-
<option name="totallyTimeSpent" value="
|
|
287
|
+
<option name="totallyTimeSpent" value="27443000" />
|
|
278
288
|
</component>
|
|
279
289
|
<component name="ToolWindowManager">
|
|
280
290
|
<frame x="-8" y="-8" width="1382" height="744" extended-state="6" />
|
|
281
291
|
<layout>
|
|
282
|
-
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.
|
|
292
|
+
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.23499268" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
|
283
293
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
|
284
|
-
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.
|
|
294
|
+
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32980332" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
|
|
285
295
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
286
296
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
|
|
297
|
+
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32980332" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
287
298
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
288
299
|
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
|
|
289
300
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
|
|
301
|
+
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39939487" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
290
302
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
|
291
303
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
292
304
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
|
293
305
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
|
294
|
-
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32980332" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
295
306
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
|
296
307
|
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
297
308
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
|
298
|
-
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.39939487" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
299
309
|
</layout>
|
|
300
310
|
</component>
|
|
301
311
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -306,7 +316,9 @@
|
|
|
306
316
|
</component>
|
|
307
317
|
<component name="VcsManagerConfiguration">
|
|
308
318
|
<MESSAGE value="Closed beta" />
|
|
309
|
-
<
|
|
319
|
+
<MESSAGE value="Modifications to continent targeting" />
|
|
320
|
+
<MESSAGE value="Launch of PushRadar" />
|
|
321
|
+
<option name="LAST_COMMIT_MESSAGE" value="Launch of PushRadar" />
|
|
310
322
|
</component>
|
|
311
323
|
<component name="XDebuggerManager">
|
|
312
324
|
<breakpoint-manager>
|
|
@@ -323,7 +335,6 @@
|
|
|
323
335
|
<provider selected="true" editor-type-id="text-editor">
|
|
324
336
|
<state relative-caret-position="0">
|
|
325
337
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
326
|
-
<folding />
|
|
327
338
|
</state>
|
|
328
339
|
</provider>
|
|
329
340
|
</entry>
|
|
@@ -331,7 +342,6 @@
|
|
|
331
342
|
<provider selected="true" editor-type-id="text-editor">
|
|
332
343
|
<state relative-caret-position="0">
|
|
333
344
|
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
334
|
-
<folding />
|
|
335
345
|
</state>
|
|
336
346
|
</provider>
|
|
337
347
|
</entry>
|
|
@@ -507,7 +517,6 @@
|
|
|
507
517
|
<provider selected="true" editor-type-id="text-editor">
|
|
508
518
|
<state relative-caret-position="211">
|
|
509
519
|
<caret line="1463" column="8" lean-forward="false" selection-start-line="1463" selection-start-column="8" selection-end-line="1463" selection-end-column="8" />
|
|
510
|
-
<folding />
|
|
511
520
|
</state>
|
|
512
521
|
</provider>
|
|
513
522
|
</entry>
|
|
@@ -518,137 +527,137 @@
|
|
|
518
527
|
</state>
|
|
519
528
|
</provider>
|
|
520
529
|
</entry>
|
|
521
|
-
<entry file="file://$PROJECT_DIR$/
|
|
530
|
+
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
|
522
531
|
<provider selected="true" editor-type-id="text-editor">
|
|
523
|
-
<state relative-caret-position="
|
|
524
|
-
<caret line="
|
|
532
|
+
<state relative-caret-position="0">
|
|
533
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
525
534
|
</state>
|
|
526
535
|
</provider>
|
|
527
536
|
</entry>
|
|
528
|
-
<entry file="file://$PROJECT_DIR$/
|
|
537
|
+
<entry file="file://$PROJECT_DIR$/README.in_progress2.md" />
|
|
538
|
+
<entry file="file://$PROJECT_DIR$/lib/PushRadar/Targeting.rb">
|
|
529
539
|
<provider selected="true" editor-type-id="text-editor">
|
|
530
|
-
<state relative-caret-position="
|
|
531
|
-
<caret line="
|
|
532
|
-
<folding />
|
|
540
|
+
<state relative-caret-position="-661">
|
|
541
|
+
<caret line="55" column="8" lean-forward="false" selection-start-line="55" selection-start-column="8" selection-end-line="55" selection-end-column="8" />
|
|
533
542
|
</state>
|
|
534
543
|
</provider>
|
|
535
544
|
</entry>
|
|
536
|
-
<entry file="file://$PROJECT_DIR$/
|
|
545
|
+
<entry file="file://$PROJECT_DIR$/lib/PushRadar/Utils.rb">
|
|
546
|
+
<provider selected="true" editor-type-id="text-editor">
|
|
547
|
+
<state relative-caret-position="288">
|
|
548
|
+
<caret line="16" column="15" lean-forward="true" selection-start-line="16" selection-start-column="15" selection-end-line="16" selection-end-column="15" />
|
|
549
|
+
</state>
|
|
550
|
+
</provider>
|
|
551
|
+
</entry>
|
|
552
|
+
<entry file="file://$PROJECT_DIR$/VERSION">
|
|
537
553
|
<provider selected="true" editor-type-id="text-editor">
|
|
538
554
|
<state relative-caret-position="0">
|
|
539
|
-
<caret line="0" column="
|
|
555
|
+
<caret line="0" column="5" lean-forward="false" selection-start-line="0" selection-start-column="5" selection-end-line="0" selection-end-column="5" />
|
|
540
556
|
<folding />
|
|
541
557
|
</state>
|
|
542
558
|
</provider>
|
|
543
559
|
</entry>
|
|
544
|
-
<entry file="file://$PROJECT_DIR$/
|
|
560
|
+
<entry file="file://$PROJECT_DIR$/todo">
|
|
545
561
|
<provider selected="true" editor-type-id="text-editor">
|
|
546
|
-
<state relative-caret-position="
|
|
547
|
-
<caret line="
|
|
562
|
+
<state relative-caret-position="36">
|
|
563
|
+
<caret line="2" column="3" lean-forward="false" selection-start-line="2" selection-start-column="3" selection-end-line="2" selection-end-column="3" />
|
|
548
564
|
<folding />
|
|
549
565
|
</state>
|
|
550
566
|
</provider>
|
|
551
567
|
</entry>
|
|
552
|
-
<entry file="file://$PROJECT_DIR$/
|
|
553
|
-
<provider selected="true" editor-type-id="text-editor">
|
|
554
|
-
<state
|
|
555
|
-
<
|
|
568
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
569
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
570
|
+
<state split_layout="SPLIT">
|
|
571
|
+
<first_editor relative-caret-position="0">
|
|
572
|
+
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
573
|
+
<folding />
|
|
574
|
+
</first_editor>
|
|
575
|
+
<second_editor />
|
|
556
576
|
</state>
|
|
557
577
|
</provider>
|
|
558
578
|
</entry>
|
|
559
|
-
<entry file="file://$PROJECT_DIR$/README.in_progress2.md" />
|
|
560
579
|
<entry file="file://$PROJECT_DIR$/LICENSE">
|
|
561
580
|
<provider selected="true" editor-type-id="text-editor">
|
|
562
581
|
<state relative-caret-position="360">
|
|
563
582
|
<caret line="20" column="13" lean-forward="false" selection-start-line="20" selection-start-column="13" selection-end-line="20" selection-end-column="13" />
|
|
583
|
+
<folding />
|
|
564
584
|
</state>
|
|
565
585
|
</provider>
|
|
566
586
|
</entry>
|
|
567
|
-
<entry file="file://$PROJECT_DIR$/
|
|
587
|
+
<entry file="file://$PROJECT_DIR$/CHANGELOG.md">
|
|
568
588
|
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
569
589
|
<state split_layout="SPLIT">
|
|
570
|
-
<first_editor relative-caret-position="
|
|
571
|
-
<caret line="
|
|
590
|
+
<first_editor relative-caret-position="36">
|
|
591
|
+
<caret line="2" column="21" lean-forward="false" selection-start-line="2" selection-start-column="21" selection-end-line="2" selection-end-column="21" />
|
|
572
592
|
<folding />
|
|
573
593
|
</first_editor>
|
|
574
594
|
<second_editor />
|
|
575
595
|
</state>
|
|
576
596
|
</provider>
|
|
577
597
|
</entry>
|
|
578
|
-
<entry file="file://$PROJECT_DIR$/
|
|
598
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
|
599
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
600
|
+
<state split_layout="SPLIT">
|
|
601
|
+
<first_editor relative-caret-position="470">
|
|
602
|
+
<caret line="64" column="0" lean-forward="false" selection-start-line="64" selection-start-column="0" selection-end-line="64" selection-end-column="0" />
|
|
603
|
+
<folding />
|
|
604
|
+
</first_editor>
|
|
605
|
+
<second_editor />
|
|
606
|
+
</state>
|
|
607
|
+
</provider>
|
|
608
|
+
</entry>
|
|
609
|
+
<entry file="file://$PROJECT_DIR$/bin/console">
|
|
579
610
|
<provider selected="true" editor-type-id="text-editor">
|
|
580
|
-
<state relative-caret-position="
|
|
581
|
-
<caret line="
|
|
611
|
+
<state relative-caret-position="90">
|
|
612
|
+
<caret line="5" column="19" lean-forward="true" selection-start-line="5" selection-start-column="19" selection-end-line="5" selection-end-column="19" />
|
|
582
613
|
<folding />
|
|
583
614
|
</state>
|
|
584
615
|
</provider>
|
|
585
616
|
</entry>
|
|
586
|
-
<entry file="file://$PROJECT_DIR$/
|
|
617
|
+
<entry file="file://$PROJECT_DIR$/bin/setup">
|
|
587
618
|
<provider selected="true" editor-type-id="text-editor">
|
|
588
|
-
<state relative-caret-position="
|
|
589
|
-
<caret line="
|
|
619
|
+
<state relative-caret-position="90">
|
|
620
|
+
<caret line="5" column="14" lean-forward="false" selection-start-line="5" selection-start-column="14" selection-end-line="5" selection-end-column="14" />
|
|
590
621
|
<folding />
|
|
591
622
|
</state>
|
|
592
623
|
</provider>
|
|
593
624
|
</entry>
|
|
594
|
-
<entry file="file://$PROJECT_DIR$/lib/PushRadar/
|
|
625
|
+
<entry file="file://$PROJECT_DIR$/lib/PushRadar/version.rb">
|
|
595
626
|
<provider selected="true" editor-type-id="text-editor">
|
|
596
|
-
<state relative-caret-position="
|
|
597
|
-
<caret line="
|
|
627
|
+
<state relative-caret-position="18">
|
|
628
|
+
<caret line="1" column="18" lean-forward="false" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
|
|
598
629
|
<folding />
|
|
599
630
|
</state>
|
|
600
631
|
</provider>
|
|
601
632
|
</entry>
|
|
602
|
-
<entry file="file://$PROJECT_DIR$/
|
|
633
|
+
<entry file="file://$PROJECT_DIR$/lib/PushRadar.rb">
|
|
603
634
|
<provider selected="true" editor-type-id="text-editor">
|
|
604
|
-
<state relative-caret-position="
|
|
605
|
-
<caret line="
|
|
635
|
+
<state relative-caret-position="597">
|
|
636
|
+
<caret line="146" column="26" lean-forward="false" selection-start-line="146" selection-start-column="26" selection-end-line="146" selection-end-column="26" />
|
|
606
637
|
<folding />
|
|
607
638
|
</state>
|
|
608
639
|
</provider>
|
|
609
640
|
</entry>
|
|
610
|
-
<entry file="file://$PROJECT_DIR$/
|
|
641
|
+
<entry file="file://$PROJECT_DIR$/Gemfile">
|
|
611
642
|
<provider selected="true" editor-type-id="text-editor">
|
|
612
643
|
<state relative-caret-position="72">
|
|
613
|
-
<caret line="4" column="
|
|
644
|
+
<caret line="4" column="7" lean-forward="true" selection-start-line="4" selection-start-column="7" selection-end-line="4" selection-end-column="7" />
|
|
614
645
|
<folding />
|
|
615
646
|
</state>
|
|
616
647
|
</provider>
|
|
617
648
|
</entry>
|
|
618
|
-
<entry file="file://$PROJECT_DIR$/
|
|
649
|
+
<entry file="file://$PROJECT_DIR$/Rakefile">
|
|
619
650
|
<provider selected="true" editor-type-id="text-editor">
|
|
620
651
|
<state relative-caret-position="0">
|
|
621
|
-
<caret line="0" column="
|
|
652
|
+
<caret line="0" column="23" lean-forward="true" selection-start-line="0" selection-start-column="23" selection-end-line="0" selection-end-column="23" />
|
|
622
653
|
<folding />
|
|
623
654
|
</state>
|
|
624
655
|
</provider>
|
|
625
656
|
</entry>
|
|
626
|
-
<entry file="file://$PROJECT_DIR$/
|
|
627
|
-
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
628
|
-
<state split_layout="SPLIT">
|
|
629
|
-
<first_editor relative-caret-position="36">
|
|
630
|
-
<caret line="2" column="2" lean-forward="true" selection-start-line="2" selection-start-column="2" selection-end-line="2" selection-end-column="38" />
|
|
631
|
-
<folding />
|
|
632
|
-
</first_editor>
|
|
633
|
-
<second_editor />
|
|
634
|
-
</state>
|
|
635
|
-
</provider>
|
|
636
|
-
</entry>
|
|
637
|
-
<entry file="file://$PROJECT_DIR$/README.md">
|
|
638
|
-
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
|
639
|
-
<state split_layout="SPLIT">
|
|
640
|
-
<first_editor relative-caret-position="0">
|
|
641
|
-
<caret line="0" column="0" lean-forward="false" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
|
|
642
|
-
<folding />
|
|
643
|
-
</first_editor>
|
|
644
|
-
<second_editor />
|
|
645
|
-
</state>
|
|
646
|
-
</provider>
|
|
647
|
-
</entry>
|
|
648
|
-
<entry file="file://$PROJECT_DIR$/lib/PushRadar/version.rb">
|
|
657
|
+
<entry file="file://$PROJECT_DIR$/PushRadar.gemspec">
|
|
649
658
|
<provider selected="true" editor-type-id="text-editor">
|
|
650
|
-
<state relative-caret-position="
|
|
651
|
-
<caret line="
|
|
659
|
+
<state relative-caret-position="450">
|
|
660
|
+
<caret line="25" column="0" lean-forward="true" selection-start-line="25" selection-start-column="0" selection-end-line="25" selection-end-column="0" />
|
|
652
661
|
<folding />
|
|
653
662
|
</state>
|
|
654
663
|
</provider>
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,5 +1,66 @@
|
|
|
1
|
-
<p align="center"><img src="https://www.pushradar.com/img/logo/pushradar_github.png"></p>
|
|
2
|
-
|
|
3
|
-
## Introduction
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<p align="center"><img src="https://www.pushradar.com/img/logo/pushradar_github.png"></p>
|
|
2
|
+
|
|
3
|
+
## Introduction
|
|
4
|
+
|
|
5
|
+
[PushRadar](https://www.pushradar.com) is a realtime notifications API service for the web. The service uses a simple publish-subscribe model, allowing you to broadcast "notifications" on "channels" that are subscribed to by one or more clients. Notifications are pushed in realtime to those clients.
|
|
6
|
+
|
|
7
|
+
PushRadar features advanced targeting options, including the ability to target clients by actions they have taken on your website or web app, geographical location (countries & continents), IP address, web browser and user ID.
|
|
8
|
+
|
|
9
|
+
This is PushRadar's official Ruby library.
|
|
10
|
+
|
|
11
|
+
## Prerequisites
|
|
12
|
+
|
|
13
|
+
In order to use this library, please ensure that you have the following:
|
|
14
|
+
|
|
15
|
+
- A PushRadar account - you can sign up at [www.pushradar.com](https://www.pushradar.com).
|
|
16
|
+
|
|
17
|
+
## Installation
|
|
18
|
+
|
|
19
|
+
To install PushRadar's Ruby gem, add this line to your application's Gemfile:
|
|
20
|
+
|
|
21
|
+
```ruby
|
|
22
|
+
gem 'pushradar'
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
And then execute:
|
|
26
|
+
|
|
27
|
+
```
|
|
28
|
+
$ bundle
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Alternatively, you can install it yourself by running the command:
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
$ gem install pushradar
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## Getting Started
|
|
38
|
+
|
|
39
|
+
"Hello World!" example:
|
|
40
|
+
|
|
41
|
+
```ruby
|
|
42
|
+
require 'PushRadar'
|
|
43
|
+
include PushRadar
|
|
44
|
+
|
|
45
|
+
radar = Radar.new('your-secret-key')
|
|
46
|
+
radar.broadcast('test-channel', {message: 'Hello World!'})
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Receiving Notifications
|
|
50
|
+
|
|
51
|
+
To subscribe to channels and receive notifications broadcast on them, check out the documentation for PushRadar's [JavaScript client library](https://www.pushradar.com/docs/latest/javascript).
|
|
52
|
+
|
|
53
|
+
## Fluent Syntax
|
|
54
|
+
|
|
55
|
+
The library supports fluent method chaining to structure broadcasts. For example, to target a notification to website visitors in the US who have not used live chat before:
|
|
56
|
+
|
|
57
|
+
```ruby
|
|
58
|
+
radar.target_country('US').target_not_action('live-chat').broadcast('test-channel',
|
|
59
|
+
{message: 'Would you like to talk to one of our customer support team members on live chat?'})
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Please note that targeting options reset after each call to the `broadcast` method.
|
|
63
|
+
|
|
64
|
+
## Documentation
|
|
65
|
+
|
|
66
|
+
Full documentation for PushRadar's Ruby library can be found at: [www.pushradar.com/docs/ruby](https://www.pushradar.com/docs/latest/ruby).
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.2
|
data/lib/PushRadar/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pushradar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- PushRadar
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -57,7 +57,6 @@ files:
|
|
|
57
57
|
- Gemfile
|
|
58
58
|
- LICENSE
|
|
59
59
|
- PushRadar.gemspec
|
|
60
|
-
- README.in_progress.md
|
|
61
60
|
- README.md
|
|
62
61
|
- Rakefile
|
|
63
62
|
- VERSION
|
data/README.in_progress.md
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
<p align="center"><img src="https://www.pushradar.com/img/logo/pushradar_github.png"></p>
|
|
2
|
-
|
|
3
|
-
## Introduction
|
|
4
|
-
|
|
5
|
-
[PushRadar](https://www.pushradar.com) is a realtime notifications API service for the web. The service uses a simple publish-subscribe model, allowing you to broadcast "notifications" on "channels" that are subscribed to by one or more clients. Notifications are pushed in realtime to those clients.
|
|
6
|
-
|
|
7
|
-
PushRadar features advanced targeting options, including the ability to target clients by actions they have taken on your website or web app, geographical location (countries & continents), IP address, web browser and user ID.
|
|
8
|
-
|
|
9
|
-
This is PushRadar's official Ruby library.
|
|
10
|
-
|
|
11
|
-
## Prerequisites
|
|
12
|
-
|
|
13
|
-
In order to use this library, please ensure that you have the following:
|
|
14
|
-
|
|
15
|
-
- A PushRadar account - you can sign up at [www.pushradar.com](https://www.pushradar.com).
|
|
16
|
-
|
|
17
|
-
## Installation
|
|
18
|
-
|
|
19
|
-
To install PushRadar's Ruby gem, add this line to your application's Gemfile:
|
|
20
|
-
|
|
21
|
-
```ruby
|
|
22
|
-
gem 'pushradar'
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
And then execute:
|
|
26
|
-
|
|
27
|
-
```
|
|
28
|
-
$ bundle
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
Alternatively, you can install it yourself by running the command:
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
$ gem install pushradar
|
|
35
|
-
```
|
|
36
|
-
|
|
37
|
-
## Getting Started
|
|
38
|
-
|
|
39
|
-
"Hello World!" example:
|
|
40
|
-
|
|
41
|
-
```ruby
|
|
42
|
-
require 'PushRadar'
|
|
43
|
-
include PushRadar
|
|
44
|
-
|
|
45
|
-
radar = Radar.new('your-secret-key')
|
|
46
|
-
radar.broadcast('test-channel', {message: 'Hello World!'})
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
## Receiving Notifications
|
|
50
|
-
|
|
51
|
-
To subscribe to channels and receive notifications broadcast on them, check out the documentation for PushRadar's [JavaScript client library](https://www.pushradar.com/docs/latest/javascript).
|
|
52
|
-
|
|
53
|
-
## Fluent Syntax
|
|
54
|
-
|
|
55
|
-
The library supports fluent method chaining to structure broadcasts. For example, to target a notification to website visitors in the US who have not used live chat before:
|
|
56
|
-
|
|
57
|
-
```ruby
|
|
58
|
-
radar.target_country('US').target_not_action('live-chat').broadcast('test-channel',
|
|
59
|
-
{message: 'Would you like to talk to one of our customer support team members on live chat?'})
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
Please note that targeting options reset after each call to the `broadcast` method.
|
|
63
|
-
|
|
64
|
-
## Documentation
|
|
65
|
-
|
|
66
|
-
Full documentation for PushRadar's Ruby library can be found at: [www.pushradar.com/docs/ruby](https://www.pushradar.com/docs/latest/ruby).
|