subconvtr 0.0.0 → 0.0.1

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/subconvtr +4 -0
  3. data/lib/subconvtr.rb +12 -1
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b15c511c94180d16121fef4f066f942828dcf6f
4
- data.tar.gz: 56f07d5087a3bac8ed54e80bae43be759be45fd6
3
+ metadata.gz: b0dac68d4df02789adbf8826458537df606bcecd
4
+ data.tar.gz: 2cd1ccf308566c658cabebfa359989bd2d6e835b
5
5
  SHA512:
6
- metadata.gz: 05cc26f0348d39cbb8a858eaccabac34e3c3b42ca00eb290c5799ae33ed0b313d05e87b4c0bbe632efad334c6b2804547f7c437a37d38067e26555f3d2496067
7
- data.tar.gz: 96d6f50a466eaba4d3c7305ba528776ece36fe7d8a5880f94cd30d3355e22e6dae6a6a17ca90ed4553a31a5dcdd12809bb9b591d8f2ce189091248b50e3e16cb
6
+ metadata.gz: 658ea5451cc878d802129c6bb456fa70f714530234820e2a921a24a0dd47a892bbcae3c1d66884f4027ac8115a77bf0bf44209e4a7b6892e56ab5a0a1de37459
7
+ data.tar.gz: 05fdceb030828fcabe3b2633b019c2dc577e6f1c462dc8dfdd4d617a5acbc4a8154a08e962904c48a3dec3f8deb0e2692f79baeacaf4bc42d6ce8c16198720b3
data/bin/subconvtr ADDED
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'subconvtr'
4
+ puts Subconvtr.hi(ARGV[0])
data/lib/subconvtr.rb CHANGED
@@ -1,5 +1,16 @@
1
1
  class Subconvtr
2
- def self.hi
2
+ def self.hi(target_file_name)
3
3
  puts "merhaba!"
4
+
5
+
6
+
7
+ # subconv () {
8
+ # file = $1
9
+ # iconv -f windows-1254 -t utf-8 $1 > $2
10
+ # mv $2 $1
11
+ # }
12
+
13
+
14
+
4
15
  end
5
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: subconvtr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0
4
+ version: 0.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ardarda
@@ -12,10 +12,12 @@ date: 2016-12-12 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple hello world gem
14
14
  email: ardacck@gmail.com
15
- executables: []
15
+ executables:
16
+ - subconvtr
16
17
  extensions: []
17
18
  extra_rdoc_files: []
18
19
  files:
20
+ - bin/subconvtr
19
21
  - lib/subconvtr.rb
20
22
  homepage: http://rubygems.org/gems/subconvtr
21
23
  licenses: