c7decrypt 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml CHANGED
@@ -5,8 +5,6 @@ rvm:
5
5
  - 1.9.2
6
6
  - jruby-18mode
7
7
  - jruby-19mode
8
- - rbx-18mode
9
- - rbx-19mode
10
8
  - ruby-head
11
9
  - jruby-head
12
10
  - 1.8.7
data/README.md CHANGED
@@ -24,14 +24,26 @@ To install, type
24
24
  gem install c7decrypt
25
25
  ```
26
26
 
27
+ ## Example Command-Line Usage
28
+
29
+ Run `c7decrypt -h` to get this
30
+
31
+ `Usage: c7decrypt.rb [options] [hash/file]
32
+ -s, --string [HASH] A single encrypted hash string
33
+ -f, --file [FILE] A file containing multiple hashes
34
+ -h, --help Show this message
35
+
36
+ Example: ruby cdecrypt.rb -s 04480E051A33490E
37
+ Example: ruby cdecrypt.rb -f ../spec/example_configs/simple_canned_example.txt`
38
+
39
+ ## Example Library Usage(s)
40
+
27
41
  To use, just require
28
42
 
29
43
  ```ruby
30
44
  require 'c7decrypt'
31
45
  ```
32
46
 
33
- ## Example Usage(s)
34
-
35
47
  Decrypt A Single Encrypted Password
36
48
 
37
49
  ```ruby
@@ -92,8 +104,6 @@ This project is integrated with [travis-ci](http://about.travis-ci.org/) and is
92
104
  * [jruby-head](http://jruby.org/)
93
105
  * [jruby-19mode](http://jruby.org/)
94
106
  * [jruby-18mode](http://jruby.org/)
95
- * [rbx-19mode](http://rubini.us/)
96
- * [rbx-18mode](http://rubini.us/)
97
107
  * [ree](http://www.rubyenterpriseedition.com/)
98
108
 
99
109
  To checkout the current build status for these rubies, click [here](https://travis-ci.org/#!/claudijd/c7decrypt).
data/bin/c7decrypt CHANGED
@@ -12,7 +12,7 @@ options.string = nil
12
12
  options.file = nil
13
13
 
14
14
  opt_parser = OptionParser.new do |opts|
15
- opts.banner = "Usage: cdecrypt.rb [options] [hash/file]"
15
+ opts.banner = "Usage: c7decrypt [option] [hash/file]"
16
16
 
17
17
  opts.on("-s", "--string [HASH]", "A single encrypted hash string") do |v|
18
18
  options.string = v
@@ -26,8 +26,8 @@ opt_parser = OptionParser.new do |opts|
26
26
  puts ""
27
27
  puts opts
28
28
  puts ""
29
- puts "Example: ruby cdecrypt.rb -s 04480E051A33490E"
30
- puts "Example: ruby cdecrypt.rb -f ../spec/example_configs/simple_canned_example.txt"
29
+ puts "Example: c7decrypt -s 04480E051A33490E"
30
+ puts "Example: c7decrypt -f config.txt"
31
31
  puts ""
32
32
  exit
33
33
  end
@@ -41,8 +41,8 @@ if options.string.nil? &&
41
41
  puts ""
42
42
  puts opt_parser
43
43
  puts ""
44
- puts "Example: ruby cdecrypt.rb -s 04480E051A33490E"
45
- puts "Example: ruby cdecrypt.rb -f ../spec/example_configs/simple_canned_example.txt"
44
+ puts "Example: c7decrypt -s 04480E051A33490E"
45
+ puts "Example: c7decrypt -f config.txt"
46
46
  puts ""
47
47
  exit
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module C7Decrypt
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c7decrypt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: