rft 0.1.1 → 0.1.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 +13 -21
- data/bin/rft +2 -2
- data/lib/rft/version.rb +1 -1
- data/rft-0.1.1.gem +0 -0
- data/rft.gemspec +2 -2
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7155f54b1f988643637888ddc21aeab32b18f9e6
|
|
4
|
+
data.tar.gz: 3050151e81c1f92168d575d6cc118cff39bf48a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0c6507be9a6a98b5e6639f98b2a5040db5309137eab8361b2ca8dc5643bee127ab4fbf93ca69efc15139bd47ace38d8f463899d236b86fa174f2cd7e23e6b520
|
|
7
|
+
data.tar.gz: f6d44b2fae97f495b9ebdeb1fca810cc163e07c6cb5cf4f3aee96d9e2674ad32d82e82f313a0f0eba1d43b82b0a9812fdde7d7c609e429e9654b53b7502cba71
|
data/README.md
CHANGED
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rft`. To experiment with that code, run `bin/console` for an interactive prompt.
|
|
4
4
|
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
|
6
|
-
|
|
7
5
|
## Installation
|
|
8
6
|
|
|
9
7
|
Add this line to your application's Gemfile:
|
|
@@ -22,25 +20,6 @@ Or install it yourself as:
|
|
|
22
20
|
|
|
23
21
|
## Usage
|
|
24
22
|
|
|
25
|
-
TODO: Write usage instructions here
|
|
26
|
-
|
|
27
|
-
## Development
|
|
28
|
-
|
|
29
|
-
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
|
-
|
|
31
|
-
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
|
-
|
|
33
|
-
## Contributing
|
|
34
|
-
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rft.
|
|
36
|
-
|
|
37
|
-
## License
|
|
38
|
-
|
|
39
|
-
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
40
|
-
|
|
41
|
-
# Ruby_Files_Tamer
|
|
42
|
-
Ruby project with File I/O handling.
|
|
43
|
-
|
|
44
23
|
### Options Commands with 1 parameter ###
|
|
45
24
|
$ rft -help # displays this info <br />
|
|
46
25
|
$ rft -folder # displays current working path <br />
|
|
@@ -77,3 +56,16 @@ $ rft filename.format -copy new_file.format # copies all content from file to ne
|
|
|
77
56
|
$ rft filename.format -rep from_phrase to_phrase # find/replace words in file by provided from_/to_ phrases <br />
|
|
78
57
|
$ rft --All -rep from_phrase to_phrase # find/replace words in all textlike files by provided from_/to_ phrases <br />
|
|
79
58
|
|
|
59
|
+
## Development
|
|
60
|
+
|
|
61
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
62
|
+
|
|
63
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
64
|
+
|
|
65
|
+
## Contributing
|
|
66
|
+
|
|
67
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rft.
|
|
68
|
+
|
|
69
|
+
## License
|
|
70
|
+
|
|
71
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
data/bin/rft
CHANGED
|
@@ -90,12 +90,12 @@ when 3
|
|
|
90
90
|
when 4
|
|
91
91
|
if File.file? ARGV[0]
|
|
92
92
|
case ARGV[1]
|
|
93
|
-
when '-rep' then replace($file_name, ARGV[3])
|
|
93
|
+
when '-rep' then Rft.replace($file_name, ARGV[3])
|
|
94
94
|
else Rft.syntax_error
|
|
95
95
|
end
|
|
96
96
|
elsif ARGV[0] == '--A'
|
|
97
97
|
case ARGV[1]
|
|
98
|
-
when '-rep' then replace(list, ARGV[3])
|
|
98
|
+
when '-rep' then Rft.replace(list, ARGV[3])
|
|
99
99
|
else Rft.syntax_error
|
|
100
100
|
end
|
|
101
101
|
end
|
data/lib/rft/version.rb
CHANGED
data/rft-0.1.1.gem
ADDED
|
Binary file
|
data/rft.gemspec
CHANGED
|
@@ -9,8 +9,8 @@ Gem::Specification.new do |spec|
|
|
|
9
9
|
spec.authors = ["WitoldSlawko"]
|
|
10
10
|
spec.email = ["witold.slawko@gmail.com"]
|
|
11
11
|
|
|
12
|
-
spec.summary = %q{
|
|
13
|
-
spec.description = %q{Ruby Files Tamer
|
|
12
|
+
spec.summary = %q{RFT is a command line app for text files.}
|
|
13
|
+
spec.description = %q{Ruby Files Tamer}
|
|
14
14
|
# spec.homepage = "TODO: Put your gem's website or public repo URL here."
|
|
15
15
|
spec.homepage = "https://github.com/WitoldSlawko/Ruby_Files_Tamer"
|
|
16
16
|
spec.license = "MIT"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rft
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- WitoldSlawko
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-08-
|
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -38,7 +38,7 @@ dependencies:
|
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '10.0'
|
|
41
|
-
description: Ruby Files Tamer
|
|
41
|
+
description: Ruby Files Tamer
|
|
42
42
|
email:
|
|
43
43
|
- witold.slawko@gmail.com
|
|
44
44
|
executables:
|
|
@@ -60,6 +60,7 @@ files:
|
|
|
60
60
|
- lib/rft/options.rb
|
|
61
61
|
- lib/rft/version.rb
|
|
62
62
|
- rft-0.1.0.gem
|
|
63
|
+
- rft-0.1.1.gem
|
|
63
64
|
- rft.gemspec
|
|
64
65
|
- rft_raw_files/RFT/modules_rft/access.rb
|
|
65
66
|
- rft_raw_files/RFT/modules_rft/mutation.rb
|
|
@@ -95,5 +96,5 @@ rubyforge_project:
|
|
|
95
96
|
rubygems_version: 2.6.12
|
|
96
97
|
signing_key:
|
|
97
98
|
specification_version: 4
|
|
98
|
-
summary:
|
|
99
|
+
summary: RFT is a command line app for text files.
|
|
99
100
|
test_files: []
|