sociality 0.0.1 → 0.0.2

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: 2c0c0aa5b74268180e37fa07bd1884e7ae299f2f
4
- data.tar.gz: ef4cd7f13029410b5307eebbe8579777229f7b15
3
+ metadata.gz: 935d1674453b2ca8b5871aeeddfea84b7f0db3e4
4
+ data.tar.gz: 10870557734841daae358616a62f677c5212258a
5
5
  SHA512:
6
- metadata.gz: 7a628aac4de323837955e2a9f347b21d7a885759bdf5d77759093924aea4a8f4f30988bccb3a58ecfb80fda51963f92d577c316d891993c94af22743e6a35a33
7
- data.tar.gz: 1edeb1283d906844a18b74f9e0d5319ee34e74dcf46b48b1bb4f1d2ed13a73c8ca07881ea1daa4f6e7f643fb6b7ba12b8c6444f97e00408b26c6dfc9cdf81597
6
+ metadata.gz: ad7e9344249dc1ee733b76c6141f94067337d34153206d96d65464ed929aebf86500cf171b06355ec0f3faafbf58f94e9b28db6e556b4675ec4b97d9ddc564bf
7
+ data.tar.gz: e1b242d78fb786ed5bbdfbb5b797197ada1777353a39406e0adc58e510dfc278ba182212ce270257d959b896e054f322dedfb45e137a6565f8dda0124081870b
data/.idea/workspace.xml CHANGED
@@ -2,18 +2,7 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="d99439b7-b1a3-4061-b705-a1be430494b3" name="Default" comment="">
5
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/app/assets/javascripts/sociality.coffee" />
6
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/app/assets/stylesheets/icons/social_icons_transp.svg" />
7
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/app/assets/stylesheets/sociality.scss" />
8
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/generators/sociality/install_generator.rb" />
9
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/generators/sociality/templates/config/initializers/sociality.rb" />
10
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/generators/sociality/templates/config/locales/sociality.en.yml" />
11
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/sociality/config.rb" />
12
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/sociality/engine.rb" />
13
- <change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/lib/sociality/helper.rb" />
14
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
15
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/sociality.rb" afterPath="$PROJECT_DIR$/lib/sociality.rb" />
16
- <change type="MODIFICATION" beforePath="$PROJECT_DIR$/sociality.gemspec" afterPath="$PROJECT_DIR$/sociality.gemspec" />
5
+ <change type="MODIFICATION" beforePath="$PROJECT_DIR$/lib/sociality/version.rb" afterPath="$PROJECT_DIR$/lib/sociality/version.rb" />
17
6
  </list>
18
7
  <ignored path="sociality.iws" />
19
8
  <ignored path=".idea/workspace.xml" />
@@ -47,28 +36,28 @@
47
36
  </provider>
48
37
  </entry>
49
38
  </file>
50
- <file leaf-file-name=".gitignore" pinned="false" current-in-tab="false">
51
- <entry file="file://$PROJECT_DIR$/.gitignore">
39
+ <file leaf-file-name="sociality.rb" pinned="false" current-in-tab="false">
40
+ <entry file="file://$PROJECT_DIR$/lib/sociality.rb">
52
41
  <provider selected="true" editor-type-id="text-editor">
53
42
  <state vertical-scroll-proportion="0.0">
54
- <caret line="8" column="5" selection-start-line="8" selection-start-column="5" selection-end-line="8" selection-end-column="5" />
43
+ <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
55
44
  <folding />
56
45
  </state>
57
46
  </provider>
58
47
  </entry>
59
48
  </file>
60
- <file leaf-file-name="sociality.rb" pinned="false" current-in-tab="false">
61
- <entry file="file://$PROJECT_DIR$/lib/sociality.rb">
49
+ <file leaf-file-name="sociality.en.yml" pinned="false" current-in-tab="false">
50
+ <entry file="file://$PROJECT_DIR$/lib/generators/sociality/templates/config/locales/sociality.en.yml">
62
51
  <provider selected="true" editor-type-id="text-editor">
63
52
  <state vertical-scroll-proportion="0.0">
64
- <caret line="0" column="18" selection-start-line="0" selection-start-column="9" selection-end-line="0" selection-end-column="18" />
53
+ <caret line="1" column="11" selection-start-line="1" selection-start-column="11" selection-end-line="1" selection-end-column="11" />
65
54
  <folding />
66
55
  </state>
67
56
  </provider>
68
57
  </entry>
69
58
  </file>
70
- <file leaf-file-name="install_generator.rb" pinned="false" current-in-tab="false">
71
- <entry file="file://$PROJECT_DIR$/lib/generators/sociality/install_generator.rb">
59
+ <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
60
+ <entry file="file://$PROJECT_DIR$/Gemfile">
72
61
  <provider selected="true" editor-type-id="text-editor">
73
62
  <state vertical-scroll-proportion="0.0">
74
63
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -77,28 +66,38 @@
77
66
  </provider>
78
67
  </entry>
79
68
  </file>
80
- <file leaf-file-name="sociality.en.yml" pinned="false" current-in-tab="false">
81
- <entry file="file://$PROJECT_DIR$/lib/generators/sociality/templates/config/locales/sociality.en.yml">
69
+ <file leaf-file-name="sociality.gemspec" pinned="false" current-in-tab="false">
70
+ <entry file="file://$PROJECT_DIR$/sociality.gemspec">
82
71
  <provider selected="true" editor-type-id="text-editor">
83
72
  <state vertical-scroll-proportion="0.0">
84
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
73
+ <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
85
74
  <folding />
86
75
  </state>
87
76
  </provider>
88
77
  </entry>
89
78
  </file>
90
- <file leaf-file-name="Rakefile" pinned="false" current-in-tab="false">
91
- <entry file="file://$PROJECT_DIR$/Rakefile">
79
+ <file leaf-file-name="sociality.coffee" pinned="false" current-in-tab="false">
80
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sociality.coffee">
92
81
  <provider selected="true" editor-type-id="text-editor">
93
82
  <state vertical-scroll-proportion="0.0">
94
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
83
+ <caret line="72" column="0" selection-start-line="72" selection-start-column="0" selection-end-line="72" selection-end-column="0" />
84
+ <folding />
85
+ </state>
86
+ </provider>
87
+ </entry>
88
+ </file>
89
+ <file leaf-file-name="sociality.scss" pinned="false" current-in-tab="false">
90
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/sociality.scss">
91
+ <provider selected="true" editor-type-id="text-editor">
92
+ <state vertical-scroll-proportion="-70.666664">
93
+ <caret line="106" column="1" selection-start-line="106" selection-start-column="1" selection-end-line="106" selection-end-column="1" />
95
94
  <folding />
96
95
  </state>
97
96
  </provider>
98
97
  </entry>
99
98
  </file>
100
- <file leaf-file-name="LICENSE.txt" pinned="false" current-in-tab="false">
101
- <entry file="file://$PROJECT_DIR$/LICENSE.txt">
99
+ <file leaf-file-name="sociality.rb" pinned="false" current-in-tab="false">
100
+ <entry file="file://$PROJECT_DIR$/lib/generators/sociality/templates/config/initializers/sociality.rb">
102
101
  <provider selected="true" editor-type-id="text-editor">
103
102
  <state vertical-scroll-proportion="0.0">
104
103
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -107,8 +106,8 @@
107
106
  </provider>
108
107
  </entry>
109
108
  </file>
110
- <file leaf-file-name="Gemfile" pinned="false" current-in-tab="false">
111
- <entry file="file://$PROJECT_DIR$/Gemfile">
109
+ <file leaf-file-name="install_generator.rb" pinned="false" current-in-tab="false">
110
+ <entry file="file://$PROJECT_DIR$/lib/generators/sociality/install_generator.rb">
112
111
  <provider selected="true" editor-type-id="text-editor">
113
112
  <state vertical-scroll-proportion="0.0">
114
113
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -117,11 +116,11 @@
117
116
  </provider>
118
117
  </entry>
119
118
  </file>
120
- <file leaf-file-name="sociality.gemspec" pinned="false" current-in-tab="true">
121
- <entry file="file://$PROJECT_DIR$/sociality.gemspec">
119
+ <file leaf-file-name="version.rb" pinned="false" current-in-tab="true">
120
+ <entry file="file://$PROJECT_DIR$/lib/sociality/version.rb">
122
121
  <provider selected="true" editor-type-id="text-editor">
123
- <state vertical-scroll-proportion="0.12195122">
124
- <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
122
+ <state vertical-scroll-proportion="0.048780486">
123
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
125
124
  <folding />
126
125
  </state>
127
126
  </provider>
@@ -138,6 +137,10 @@
138
137
  <option value="$PROJECT_DIR$/README.md" />
139
138
  <option value="$PROJECT_DIR$/.gitignore" />
140
139
  <option value="$PROJECT_DIR$/sociality.gemspec" />
140
+ <option value="$PROJECT_DIR$/lib/generators/sociality/templates/config/locales/sociality.en.yml" />
141
+ <option value="$PROJECT_DIR$/app/assets/stylesheets/sociality.scss" />
142
+ <option value="$PROJECT_DIR$/app/assets/javascripts/sociality.coffee" />
143
+ <option value="$PROJECT_DIR$/lib/sociality/version.rb" />
141
144
  </list>
142
145
  </option>
143
146
  </component>
@@ -317,6 +320,50 @@
317
320
  <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
318
321
  </PATH_ELEMENT>
319
322
  </PATH>
323
+ <PATH>
324
+ <PATH_ELEMENT>
325
+ <option name="myItemId" value="sociality" />
326
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
327
+ </PATH_ELEMENT>
328
+ <PATH_ELEMENT>
329
+ <option name="myItemId" value="sociality" />
330
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
331
+ </PATH_ELEMENT>
332
+ <PATH_ELEMENT>
333
+ <option name="myItemId" value="app" />
334
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
335
+ </PATH_ELEMENT>
336
+ <PATH_ELEMENT>
337
+ <option name="myItemId" value="assets" />
338
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
339
+ </PATH_ELEMENT>
340
+ <PATH_ELEMENT>
341
+ <option name="myItemId" value="stylesheets" />
342
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
343
+ </PATH_ELEMENT>
344
+ </PATH>
345
+ <PATH>
346
+ <PATH_ELEMENT>
347
+ <option name="myItemId" value="sociality" />
348
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
349
+ </PATH_ELEMENT>
350
+ <PATH_ELEMENT>
351
+ <option name="myItemId" value="sociality" />
352
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
353
+ </PATH_ELEMENT>
354
+ <PATH_ELEMENT>
355
+ <option name="myItemId" value="app" />
356
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
357
+ </PATH_ELEMENT>
358
+ <PATH_ELEMENT>
359
+ <option name="myItemId" value="assets" />
360
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
361
+ </PATH_ELEMENT>
362
+ <PATH_ELEMENT>
363
+ <option name="myItemId" value="javascripts" />
364
+ <option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode" />
365
+ </PATH_ELEMENT>
366
+ </PATH>
320
367
  </subPane>
321
368
  </pane>
322
369
  <pane id="Scratches" />
@@ -325,7 +372,7 @@
325
372
  <component name="PropertiesComponent">
326
373
  <property name="settings.editor.selected.configurable" value="configurable.group.editor" />
327
374
  <property name="settings.editor.splitter.proportion" value="0.2" />
328
- <property name="last_opened_file_path" value="$PROJECT_DIR$" />
375
+ <property name="last_opened_file_path" value="$PROJECT_DIR$/../../../kssda_test/socialbuttons (copy_for_testing_my_gem)" />
329
376
  <property name="WebServerToolWindowFactoryState" value="false" />
330
377
  <property name="ChangesBrowser.SHOW_FLATTEN" value="false" />
331
378
  </component>
@@ -397,7 +444,7 @@
397
444
  </state>
398
445
  </provider>
399
446
  </entry>
400
- <entry file="file://$PROJECT_DIR$/lib/generators/sociality/install_generator.rb">
447
+ <entry file="file://$PROJECT_DIR$/Rakefile">
401
448
  <provider selected="true" editor-type-id="text-editor">
402
449
  <state vertical-scroll-proportion="0.0">
403
450
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -405,7 +452,7 @@
405
452
  </state>
406
453
  </provider>
407
454
  </entry>
408
- <entry file="file://$PROJECT_DIR$/lib/generators/sociality/templates/config/locales/sociality.en.yml">
455
+ <entry file="file://$PROJECT_DIR$/LICENSE.txt">
409
456
  <provider selected="true" editor-type-id="text-editor">
410
457
  <state vertical-scroll-proportion="0.0">
411
458
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -413,7 +460,7 @@
413
460
  </state>
414
461
  </provider>
415
462
  </entry>
416
- <entry file="file://$PROJECT_DIR$/Rakefile">
463
+ <entry file="file://$PROJECT_DIR$/Gemfile">
417
464
  <provider selected="true" editor-type-id="text-editor">
418
465
  <state vertical-scroll-proportion="0.0">
419
466
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -421,15 +468,47 @@
421
468
  </state>
422
469
  </provider>
423
470
  </entry>
424
- <entry file="file://$PROJECT_DIR$/LICENSE.txt">
471
+ <entry file="file://$PROJECT_DIR$/README.md">
472
+ <provider selected="true" editor-type-id="text-editor">
473
+ <state vertical-scroll-proportion="-1.3846154">
474
+ <caret line="2" column="102" selection-start-line="2" selection-start-column="81" selection-end-line="2" selection-end-column="102" />
475
+ <folding />
476
+ </state>
477
+ </provider>
478
+ </entry>
479
+ <entry file="file://$PROJECT_DIR$/sociality.gemspec">
425
480
  <provider selected="true" editor-type-id="text-editor">
426
481
  <state vertical-scroll-proportion="0.0">
427
- <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
482
+ <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
428
483
  <folding />
429
484
  </state>
430
485
  </provider>
431
486
  </entry>
432
- <entry file="file://$PROJECT_DIR$/Gemfile">
487
+ <entry file="file://$PROJECT_DIR$/app/assets/stylesheets/sociality.scss">
488
+ <provider selected="true" editor-type-id="text-editor">
489
+ <state vertical-scroll-proportion="-70.666664">
490
+ <caret line="106" column="1" selection-start-line="106" selection-start-column="1" selection-end-line="106" selection-end-column="1" />
491
+ <folding />
492
+ </state>
493
+ </provider>
494
+ </entry>
495
+ <entry file="file://$PROJECT_DIR$/app/assets/javascripts/sociality.coffee">
496
+ <provider selected="true" editor-type-id="text-editor">
497
+ <state vertical-scroll-proportion="0.0">
498
+ <caret line="72" column="0" selection-start-line="72" selection-start-column="0" selection-end-line="72" selection-end-column="0" />
499
+ <folding />
500
+ </state>
501
+ </provider>
502
+ </entry>
503
+ <entry file="file://$PROJECT_DIR$/lib/generators/sociality/templates/config/locales/sociality.en.yml">
504
+ <provider selected="true" editor-type-id="text-editor">
505
+ <state vertical-scroll-proportion="0.0">
506
+ <caret line="1" column="11" selection-start-line="1" selection-start-column="11" selection-end-line="1" selection-end-column="11" />
507
+ <folding />
508
+ </state>
509
+ </provider>
510
+ </entry>
511
+ <entry file="file://$PROJECT_DIR$/lib/generators/sociality/templates/config/initializers/sociality.rb">
433
512
  <provider selected="true" editor-type-id="text-editor">
434
513
  <state vertical-scroll-proportion="0.0">
435
514
  <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
@@ -437,26 +516,26 @@
437
516
  </state>
438
517
  </provider>
439
518
  </entry>
440
- <entry file="file://$PROJECT_DIR$/lib/sociality.rb">
519
+ <entry file="file://$PROJECT_DIR$/lib/generators/sociality/install_generator.rb">
441
520
  <provider selected="true" editor-type-id="text-editor">
442
521
  <state vertical-scroll-proportion="0.0">
443
- <caret line="0" column="18" selection-start-line="0" selection-start-column="9" selection-end-line="0" selection-end-column="18" />
522
+ <caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
444
523
  <folding />
445
524
  </state>
446
525
  </provider>
447
526
  </entry>
448
- <entry file="file://$PROJECT_DIR$/README.md">
527
+ <entry file="file://$PROJECT_DIR$/lib/sociality.rb">
449
528
  <provider selected="true" editor-type-id="text-editor">
450
- <state vertical-scroll-proportion="-1.3846154">
451
- <caret line="2" column="102" selection-start-line="2" selection-start-column="81" selection-end-line="2" selection-end-column="102" />
529
+ <state vertical-scroll-proportion="0.0">
530
+ <caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
452
531
  <folding />
453
532
  </state>
454
533
  </provider>
455
534
  </entry>
456
- <entry file="file://$PROJECT_DIR$/sociality.gemspec">
535
+ <entry file="file://$PROJECT_DIR$/lib/sociality/version.rb">
457
536
  <provider selected="true" editor-type-id="text-editor">
458
- <state vertical-scroll-proportion="0.12195122">
459
- <caret line="11" column="25" selection-start-line="11" selection-start-column="25" selection-end-line="11" selection-end-column="25" />
537
+ <state vertical-scroll-proportion="0.048780486">
538
+ <caret line="1" column="18" selection-start-line="1" selection-start-column="18" selection-end-line="1" selection-end-column="18" />
460
539
  <folding />
461
540
  </state>
462
541
  </provider>
@@ -25,21 +25,21 @@ window.Sociality =
25
25
  when "twitter"
26
26
  via_str = ''
27
27
  via_str = "&via=#{via}" if via.length > 0
28
- SocialShareButton.openUrl("https://twitter.com/intent/tweet?url=#{url}&text=#{title}#{via_str}",popup)
28
+ Sociality.openUrl("https://twitter.com/intent/tweet?url=#{url}&text=#{title}#{via_str}",popup)
29
29
  when "facebook"
30
- SocialShareButton.openUrl("http://www.facebook.com/sharer.php?u=#{url}",popup)
30
+ Sociality.openUrl("http://www.facebook.com/sharer.php?u=#{url}",popup)
31
31
  when "google_plus"
32
- SocialShareButton.openUrl("https://plus.google.com/share?url=#{url}", popup)
32
+ Sociality.openUrl("https://plus.google.com/share?url=#{url}", popup)
33
33
  when "google_bookmark"
34
- SocialShareButton.openUrl("https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=#{url}&title=#{title}", popup)
34
+ Sociality.openUrl("https://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk=#{url}&title=#{title}", popup)
35
35
  when "delicious"
36
- SocialShareButton.openUrl("http://www.delicious.com/save?url=#{url}&title=#{title}&jump=yes&pic=#{img}", popup)
36
+ Sociality.openUrl("http://www.delicious.com/save?url=#{url}&title=#{title}&jump=yes&pic=#{img}", popup)
37
37
  when "plurk"
38
- SocialShareButton.openUrl("http://www.plurk.com/?status=#{title}: #{url}&qualifier=shares", popup)
38
+ Sociality.openUrl("http://www.plurk.com/?status=#{title}: #{url}&qualifier=shares", popup)
39
39
  when "pinterest"
40
- SocialShareButton.openUrl("http://www.pinterest.com/pin/create/button/?url=#{url}&media=#{img}&description=#{title}", popup)
40
+ Sociality.openUrl("http://www.pinterest.com/pin/create/button/?url=#{url}&media=#{img}&description=#{title}", popup)
41
41
  when "linkedin"
42
- SocialShareButton.openUrl("https://www.linkedin.com/shareArticle?mini=true&url=#{url}&title=#{title}&summary=#{desc}&source=", popup)
42
+ Sociality.openUrl("https://www.linkedin.com/shareArticle?mini=true&url=#{url}&title=#{title}&summary=#{desc}&source=", popup)
43
43
  when "tumblr"
44
44
  get_tumblr_extra = (param) ->
45
45
  cutom_data = $(el).attr("data-#{param}")
@@ -1,7 +1,7 @@
1
1
  /*======================= NEW ICONS, NEW STYLES ==================================*/
2
2
  /* --------------- TWITTER */
3
3
 
4
- .social-share-button-twitter {
4
+ .sociality-twitter {
5
5
  display: inline-block;
6
6
  position: relative;
7
7
  text-indent: -9999px;
@@ -10,7 +10,7 @@
10
10
  background:url(icons/social_icons_transp.svg) no-repeat;
11
11
  }
12
12
 
13
- .social-share-button-twitter span {
13
+ .sociality-twitter span {
14
14
  position: absolute;
15
15
  top: 0; left: 0; bottom: 0; right: 0;
16
16
  background:url(icons/social_icons_transp.svg) no-repeat;
@@ -21,13 +21,13 @@
21
21
  -o-transition: opacity 0.5s;
22
22
  }
23
23
 
24
- .social-share-button-twitter:hover span {
24
+ .sociality-twitter:hover span {
25
25
  opacity: 1;
26
26
  }
27
27
 
28
28
  /* --------------- Facebook */
29
29
 
30
- .social-share-button-facebook {
30
+ .sociality-facebook {
31
31
  display: inline-block;
32
32
  position: relative;
33
33
  text-indent: -9999px;
@@ -37,7 +37,7 @@
37
37
  background-position:0 -180px;
38
38
  }
39
39
 
40
- .social-share-button-facebook span {
40
+ .sociality-facebook span {
41
41
  position: absolute;
42
42
  top: 0; left: 0; bottom: 0; right: 0;
43
43
  background:url(icons/social_icons_transp.svg) no-repeat;
@@ -48,13 +48,13 @@
48
48
  -o-transition: opacity 0.5s;
49
49
  }
50
50
 
51
- .social-share-button-facebook:hover span {
51
+ .sociality-facebook:hover span {
52
52
  opacity: 1;
53
53
  }
54
54
 
55
55
  /* --------------- Google plus */
56
56
 
57
- .social-share-button-google_plus{
57
+ .sociality-google_plus{
58
58
  display: inline-block;
59
59
  position: relative;
60
60
  text-indent: -9999px;
@@ -64,7 +64,7 @@
64
64
  background-position:0 -270px;
65
65
  }
66
66
 
67
- .social-share-button-google_plus span {
67
+ .sociality-google_plus span {
68
68
  position: absolute;
69
69
  top: 0; left: 0; bottom: 0; right: 0;
70
70
  background:url(icons/social_icons_transp.svg) no-repeat;
@@ -75,13 +75,13 @@
75
75
  -o-transition: opacity 0.5s;
76
76
  }
77
77
 
78
- .social-share-button-google_plus:hover span {
78
+ .sociality-google_plus:hover span {
79
79
  opacity: 1;
80
80
  }
81
81
 
82
82
  /* --------------- LINKEDIN */
83
83
 
84
- .social-share-button-linkedin {
84
+ .sociality-linkedin {
85
85
  display: inline-block;
86
86
  position: relative;
87
87
  text-indent: -9999px;
@@ -91,7 +91,7 @@
91
91
  background-position:0 -30px;
92
92
  }
93
93
 
94
- .social-share-button-linkedin span {
94
+ .sociality-linkedin span {
95
95
  position: absolute;
96
96
  top: 0; left: 0; bottom: 0; right: 0;
97
97
  background:url(icons/social_icons_transp.svg) no-repeat;
@@ -102,6 +102,6 @@
102
102
  -o-transition: opacity 0.5s;
103
103
  }
104
104
 
105
- .social-share-button-linkedin:hover span {
105
+ .sociality-linkedin:hover span {
106
106
  opacity: 1;
107
107
  }
@@ -1,5 +1,5 @@
1
1
  en:
2
- social_share_button:
2
+ sociality:
3
3
  share_to: Share to %{name}
4
4
  twitter: Twitter
5
5
  facebook: Facebook
@@ -1,3 +1,3 @@
1
1
  module Sociality
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sociality
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amirkhan Mullabaev