Titania 0.0.5 → 0.0.6

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: 55442b5d485a28dd31d53a5b2abf74b83a80077b
4
- data.tar.gz: f2c3269c189d0d86219a5a7648a56c1b13e658b0
3
+ metadata.gz: e1d1eedfd26394d190ab2561b1113e4efd1317fa
4
+ data.tar.gz: 931956f6a8662faee887cba4e5f938270fb7e9b0
5
5
  SHA512:
6
- metadata.gz: 94423f66d999e39839759a94c78a5b3bc26cb231c38c5def10c59deb82cee341ccce28ef3ec7f9e1819faf7ae3714e706fabc31fdbd5a75cc3c69607b0d83b39
7
- data.tar.gz: 585128f062981f1cec4da5bc80bf627828f444a86f42068abd9e446706571f3a816354bffb106cc7a8dded70712e6f2a3c3727ceb4971affc7395e176096efaf
6
+ metadata.gz: 155e0a94dcf248aadc2bc9e06e0e65c0775b437b562824b6558e9660500645a1751c3bf659e0d80d5da9a144e3a696d5bd770c0dae6570a837c827e92f338e2f
7
+ data.tar.gz: c71c853004f9edc13c30ef90ff9c02f2d037d580968d1cd99020209d9771fd531200d5ebb5594d9d8668d1b261e42ee29aad281b070fc42e04aeda3389f90db9
@@ -19,4 +19,4 @@ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
19
  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
20
  LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
21
  OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -18,7 +18,23 @@ Or install it yourself as:
18
18
 
19
19
  ## Usage
20
20
 
21
- TODO: Write usage instructions here
21
+ <pre>
22
+ # Connection
23
+ con = Titania::Connection.new(HOST,USERNAME,PASSWORD)
24
+ con.connect
25
+
26
+ con.get_list(PATH) # Get file list - Return array
27
+ con.current_dir # Get current dir
28
+ con.change_dir(PATH) # Change current dir
29
+ con.delete_file(FILE_PATH, FILE_NAME) # Delete file
30
+ con.create_dir(DIR_PATH, DIR_NAME) # Create dir
31
+ con.help(arg) # Get Help
32
+ con.change_name(CURRENT_NAME,NEW_NAME) # Change file or directory name
33
+ con.remove_dir(REMOVE_DIR) # Remove dir
34
+ con.file_size(FILE_NAME) # Get file size
35
+ con.connection_status # Get connection status
36
+ con.close # Close connection
37
+ </pre>
22
38
 
23
39
  ## Contributing
24
40
 
@@ -6,11 +6,11 @@ require 'Titania/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "Titania"
8
8
  spec.version = Titania::VERSION
9
- spec.authors = ["Sedat ÇİFTÇİ"]
9
+ spec.authors = ["Sedat Ciftci"]
10
10
  spec.email = ["iamcodegrab@gmail.com"]
11
- spec.description = %q{FTP Connection & Management System}
12
- spec.summary = %q{Ruby FTP Connection & Management System}
13
- spec.homepage = "https://github.com/sedatciftci/Titania"
11
+ spec.description = %q{FTP Connection & Management Gem}
12
+ spec.summary = %q{Ruby FTP Connection & Management Gem}
13
+ spec.homepage = ""
14
14
  spec.license = "MIT"
15
15
 
16
16
  spec.files = `git ls-files`.split($/)
@@ -1,3 +1,4 @@
1
- require 'net/ftp'
1
+ require "net/ftp"
2
2
  require "Titania/version"
3
- require "Titania/connection"
3
+ require "Titania/ftp"
4
+
@@ -1,3 +1,3 @@
1
1
  module Titania
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Titania
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
- - Sedat ÇİFTÇİ
7
+ - Sedat Ciftci
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
@@ -38,7 +38,7 @@ dependencies:
38
38
  - - '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- description: FTP Connection & Management System
41
+ description: FTP Connection & Management Gem
42
42
  email:
43
43
  - iamcodegrab@gmail.com
44
44
  executables: []
@@ -53,7 +53,7 @@ files:
53
53
  - Titania.gemspec
54
54
  - lib/Titania.rb
55
55
  - lib/Titania/version.rb
56
- homepage: https://github.com/sedatciftci/Titania
56
+ homepage: ''
57
57
  licenses:
58
58
  - MIT
59
59
  metadata: {}
@@ -76,5 +76,5 @@ rubyforge_project:
76
76
  rubygems_version: 2.2.0
77
77
  signing_key:
78
78
  specification_version: 4
79
- summary: Ruby FTP Connection & Management System
79
+ summary: Ruby FTP Connection & Management Gem
80
80
  test_files: []