dfb 1.1.2 → 1.1.7

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
  SHA256:
3
- metadata.gz: 7311bf42f116a7568837c8aa6bf2423c88bd8b9592fc636ff15eba8a1ddf1aca
4
- data.tar.gz: f87a7cd68f189e10aae17bb77bad0c8115f13144f0d1b82563fab5387a93dc8f
3
+ metadata.gz: f2784926a012e4974cd222f504eff6ed3c7b8d7f9c1798326ac7ad565ad3eecb
4
+ data.tar.gz: 67cca34a490dca6b7b8f7c52ae2e14f291e8987671e02ae733a69f09c8c9db40
5
5
  SHA512:
6
- metadata.gz: 2b1acfd76319125e4ee056d27bc0f0872235d1dfae1ce6e5ef00268c2fc1cdae51fd8696140cf156764e314fe439904c2f039a4e564a1da74d628ea41af10d22
7
- data.tar.gz: 7381b0865fe498ca74d860c9198d029137fb9724218fadec038d6055494802a693726bcf0e8a7d0e56795ab9dc26eb47c5bd975f5461ea2ddf7ebd3d125dc081
6
+ metadata.gz: 9290ed62244cea82f965eece3f0337b8932872452b1ed8875df0883703d08218693bd6c78a9721257f6f9c4945123c8a40eda4019bdf719f9c97c8cf00b7324a
7
+ data.tar.gz: 30dd9ff21e1575779ccd7bb7505f83c5760e921c4c9590045708b26cae467894998e32aa6bc294f099655dd045b8f3ecea2db8781d85b923eb4a03e9320538b0
data/bin/dfb CHANGED
@@ -47,19 +47,19 @@ class App
47
47
  end
48
48
  end
49
49
 
50
- desc '修改当前工程指向的目录'
50
+ desc '下载词典flutter工程'
51
51
  arg_name 'Describe arguments to complete here'
52
52
  command :clone do |c|
53
53
  c.action do |global_options,options,args|
54
- Dfb.changePath
54
+ Dfb.clone
55
55
  end
56
56
  end
57
57
 
58
- desc '下载词典flutter工程'
58
+ desc '修改当前工程指向的目录'
59
59
  arg_name 'Describe arguments to complete here'
60
- command :clone do |c|
60
+ command :change do |c|
61
61
  c.action do |global_options,options,args|
62
- Dfb.clone
62
+ Dfb.changePath
63
63
  end
64
64
  end
65
65
 
data/lib/dfb.rb CHANGED
@@ -16,7 +16,7 @@ module Dfb
16
16
 
17
17
  def self.clone
18
18
  puts "请输入您要放此工程的位置:"
19
- val = gets
19
+ val = STDIN.gets
20
20
  val = val.chop
21
21
  path = val + "/YDNativeFlutterBridge"
22
22
  puts "您的工程的路径为" + val + path
@@ -130,11 +130,13 @@ module Dfb
130
130
  puts "如果您的工程是YDNativeFlutterBridge 路径是 /Users/chedch/YDDictFlutter/YDNativeFlutterBridge,则输入此路径"
131
131
  puts "请输入您的新的YDNativeFlutterBridge工程路径:"
132
132
 
133
- val = gets
133
+ val = STDIN.gets
134
134
  if val =~ /(.*)\/YDNativeFlutterBridge/
135
135
  PathManager.inputPath(val.chop)
136
+ return
136
137
  else
137
138
  puts "'change path' fails"
139
+ return
138
140
  end
139
141
 
140
142
  end
@@ -167,7 +169,7 @@ module Dfb
167
169
  # Dfb.systemCDInProject
168
170
  # Dfb.attach
169
171
  # Dfb.systemCDInProject
170
- Dfb.changePath
172
+ # Dfb.changePath
171
173
  # Dfb.run_android
172
174
  # Dfb.cdPathWithFlutterModule
173
175
  # Dfb.cdPathWithAndroidExample
data/lib/dfb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dfb
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.7'
3
3
  end
data/lib/path_manager.rb CHANGED
@@ -7,7 +7,7 @@ module PathManager
7
7
  if self.containsPath
8
8
  puts "确定您的新路径?为" + path
9
9
  puts "y/n"
10
- val = gets
10
+ val = STDIN.gets
11
11
  if val =~ /Y|y/
12
12
  self.deletePathFile
13
13
  self.storagePathFile(path)
@@ -52,4 +52,4 @@ module PathManager
52
52
  def self.pathFileName
53
53
  return "dfb_path_file"
54
54
  end
55
- end
55
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dfb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - chedechao
@@ -80,27 +80,6 @@ files:
80
80
  - README.rdoc
81
81
  - Rakefile
82
82
  - bin/dfb
83
- - dfb-0.0.1.gem
84
- - dfb-0.0.2.gem
85
- - dfb-0.0.3.gem
86
- - dfb-0.0.4.gem
87
- - dfb-0.0.5.gem
88
- - dfb-0.0.6.gem
89
- - dfb-0.0.7.gem
90
- - dfb-0.0.8.gem
91
- - dfb-0.0.9.gem
92
- - dfb-1.0.0.gem
93
- - dfb-1.0.1.gem
94
- - dfb-1.0.2.gem
95
- - dfb-1.0.3.gem
96
- - dfb-1.0.4.gem
97
- - dfb-1.0.5.gem
98
- - dfb-1.0.6.gem
99
- - dfb-1.0.7.gem
100
- - dfb-1.0.8.gem
101
- - dfb-1.0.9.gem
102
- - dfb-1.1.0.gem
103
- - dfb-1.1.1.gem
104
83
  - dfb.gemspec
105
84
  - dfb.rdoc
106
85
  - features/dfb.feature
@@ -110,7 +89,6 @@ files:
110
89
  - lib/YDImage
111
90
  - lib/dfb.rb
112
91
  - lib/dfb/version.rb
113
- - lib/dfb_path_file
114
92
  - lib/path_manager.rb
115
93
  - test/default_test.rb
116
94
  - test/test_helper.rb
data/dfb-0.0.1.gem DELETED
Binary file
data/dfb-0.0.2.gem DELETED
Binary file
data/dfb-0.0.3.gem DELETED
Binary file
data/dfb-0.0.4.gem DELETED
Binary file
data/dfb-0.0.5.gem DELETED
Binary file
data/dfb-0.0.6.gem DELETED
Binary file
data/dfb-0.0.7.gem DELETED
Binary file
data/dfb-0.0.8.gem DELETED
Binary file
data/dfb-0.0.9.gem DELETED
Binary file
data/dfb-1.0.0.gem DELETED
Binary file
data/dfb-1.0.1.gem DELETED
Binary file
data/dfb-1.0.2.gem DELETED
Binary file
data/dfb-1.0.3.gem DELETED
Binary file
data/dfb-1.0.4.gem DELETED
Binary file
data/dfb-1.0.5.gem DELETED
Binary file
data/dfb-1.0.6.gem DELETED
Binary file
data/dfb-1.0.7.gem DELETED
Binary file
data/dfb-1.0.8.gem DELETED
Binary file
data/dfb-1.0.9.gem DELETED
Binary file
data/dfb-1.1.0.gem DELETED
Binary file
data/dfb-1.1.1.gem DELETED
Binary file
data/lib/dfb_path_file DELETED
@@ -1 +0,0 @@
1
- /Users/chedch/YDDictFlutter/YDNativeFlutterBridge