transender 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/transender.rb +9 -1
- data/transender.gemspec +1 -1
- metadata +2 -2
data/VERSION.yml
CHANGED
data/lib/transender.rb
CHANGED
@@ -62,10 +62,18 @@ module Transender
|
|
62
62
|
out_file
|
63
63
|
end
|
64
64
|
|
65
|
+
#for 67_PennyStocksFree/KitschBlogFree/Classes/Tests/ResourceTest.h"
|
66
|
+
#result is: ResurceTest.h
|
65
67
|
def self.extract_name(url)
|
66
68
|
url.split('/').last.split('.').first
|
67
69
|
end
|
68
|
-
|
70
|
+
|
71
|
+
#for 67_PennyStocksFree/KitschBlogFree/Classes/Tests/ResourceTest.h"
|
72
|
+
#result is: 67_PennyStocksFree/KitschBlogFree/Classes/Tests
|
73
|
+
def self.extract_path(url)
|
74
|
+
url.split('/')[0..-2].join('/')
|
75
|
+
end
|
76
|
+
|
69
77
|
#Transender - Ji
|
70
78
|
class Ji
|
71
79
|
attr_accessor :options, :app_title, :app_path, :transform, :transform_title, :ji_path, :abowl_path, :abowl_yml, :id
|
data/transender.gemspec
CHANGED