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 +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +17 -1
- data/Titania.gemspec +4 -4
- data/lib/Titania.rb +3 -2
- data/lib/Titania/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1d1eedfd26394d190ab2561b1113e4efd1317fa
|
4
|
+
data.tar.gz: 931956f6a8662faee887cba4e5f938270fb7e9b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 155e0a94dcf248aadc2bc9e06e0e65c0775b437b562824b6558e9660500645a1751c3bf659e0d80d5da9a144e3a696d5bd770c0dae6570a837c827e92f338e2f
|
7
|
+
data.tar.gz: c71c853004f9edc13c30ef90ff9c02f2d037d580968d1cd99020209d9771fd531200d5ebb5594d9d8668d1b261e42ee29aad281b070fc42e04aeda3389f90db9
|
data/LICENSE.txt
CHANGED
@@ -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
|
-
|
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
|
|
data/Titania.gemspec
CHANGED
@@ -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
|
9
|
+
spec.authors = ["Sedat Ciftci"]
|
10
10
|
spec.email = ["iamcodegrab@gmail.com"]
|
11
|
-
spec.description = %q{FTP Connection & Management
|
12
|
-
spec.summary = %q{Ruby FTP Connection & Management
|
13
|
-
spec.homepage = "
|
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($/)
|
data/lib/Titania.rb
CHANGED
data/lib/Titania/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Sedat
|
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
|
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:
|
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
|
79
|
+
summary: Ruby FTP Connection & Management Gem
|
80
80
|
test_files: []
|