space2dot 0.0.1 → 0.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/README.md +19 -6
- data/lib/space2dot/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5155334a493af83c294dd7ce29627b4bac2ce962
|
|
4
|
+
data.tar.gz: 2518c13aeffdd012cdeedac834e9f1b951143bce
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 25c12014884afabf54a43a4c3f7c4f3e163e510be65fd4d295c60bc1040f0196b822eba2f839a0e01ad0ca731dd72077522c13c574c656f5372add7fd5017835
|
|
7
|
+
data.tar.gz: 15812eac2cd09f61936ba82088e51f30b5b967621ff68d09d81ec8d2405d56ff65efa74f4f95bece7769edc23d1a7f07ad431aa3b98288d77bc421939673a67c
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Space2dot
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
## What
|
|
3
|
+
Convert to underscore the space
|
|
4
4
|
|
|
5
5
|
## Installation
|
|
6
6
|
|
|
@@ -16,14 +16,27 @@ Or install it yourself as:
|
|
|
16
16
|
|
|
17
17
|
$ gem install space2dot
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
If your computer is linux
|
|
20
|
+
|
|
21
|
+
$ sudo apt-get install xclip
|
|
22
|
+
|
|
23
|
+
You need alias
|
|
24
|
+
|
|
25
|
+
$ alias pbcopy='xclip -selection clipboard'
|
|
26
|
+
|
|
27
|
+
$ alias pbpaste='xclip -selection clipboard -o'
|
|
28
|
+
|
|
29
|
+
## How to use
|
|
30
|
+
|
|
31
|
+
From the terminal:
|
|
20
32
|
|
|
21
|
-
|
|
33
|
+
$ space2dot target sentence
|
|
34
|
+
=> .target.sentence # copied to the clipboard
|
|
22
35
|
|
|
23
36
|
## Contributing
|
|
24
37
|
|
|
25
|
-
1. Fork it
|
|
38
|
+
1. Fork it
|
|
26
39
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
27
40
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
28
41
|
4. Push to the branch (`git push origin my-new-feature`)
|
|
29
|
-
5. Create
|
|
42
|
+
5. Create new Pull Request
|
data/lib/space2dot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: space2dot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sachin21
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-06-
|
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|