dfb 0.0.2 → 0.0.3

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dfb +9 -9
  3. data/lib/dfb.rb +2 -2
  4. data/lib/dfb/version.rb +1 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47def1f61bf0ea2166e6fa815313f566b11d546a311726b03705497453f89337
4
- data.tar.gz: c8e677dad65c005f682f8e40194c86a3dc763dc94741e400ecf7b333338d535e
3
+ metadata.gz: 26c105b0d2dd5525135a4a2007b0f59c743196ba9a4246da5eed0b7d8dc30888
4
+ data.tar.gz: c713cae6a0e85c2298e00cef448fa2f848316962bcf682483def5f0ef761b96d
5
5
  SHA512:
6
- metadata.gz: 75f7bdd4d19ce04ae7836cc3f9da1af070faa7b4e380a2378a5ae2b22f8ded5156749425ed45c227e51106588eade3a57a93c62ce427771b604d78dacf740afb
7
- data.tar.gz: 6ee6725889b631efb70709af8c7b5d627e0ea0f52659d8d6668d52cbd78ee8ba96262db391131086a5fb30a92d2600e03a38d1bf892bfc019dfaa0282464a414
6
+ metadata.gz: 7548c2d4f0234ba6bcbe6ca4cca4ab48861facfac03e2d6eb0a00349b416a7d3bbaa69174537961235b1402b5e32e7c010e7871c4237d0f74a3bf238e69e19c0
7
+ data.tar.gz: 6ee63054eeaeb65c361e04675a4a017be8c60a6236a008bc75b04cc1bf10fc1ae037434dc5dbc133c5c0d4a8068f6889bf54d3310510c9d743fe415be46503f1
data/bin/dfb CHANGED
@@ -14,7 +14,7 @@ class App
14
14
 
15
15
  program_desc '词典flutter工程管理命令'
16
16
 
17
- version dfb::VERSION
17
+ version Dfb::VERSION
18
18
 
19
19
  subcommand_option_handling :normal
20
20
  arguments :strict
@@ -51,7 +51,7 @@ class App
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.clone
54
+ Dfb.clone
55
55
  end
56
56
  end
57
57
 
@@ -59,7 +59,7 @@ class App
59
59
  arg_name 'Describe arguments to add here'
60
60
  command :init_flutter do |c|
61
61
  c.action do |global_options,options,args|
62
- dfb.init_flutter
62
+ Dfb.init_flutter
63
63
  end
64
64
  end
65
65
 
@@ -67,7 +67,7 @@ class App
67
67
  arg_name 'Describe arguments to add here'
68
68
  command :run_ios do |c|
69
69
  c.action do |global_options,options,args|
70
- dfb.run_ios
70
+ Dfb.run_ios
71
71
  end
72
72
  end
73
73
 
@@ -75,7 +75,7 @@ class App
75
75
  arg_name 'Describe arguments to add here'
76
76
  command :run_android do |c|
77
77
  c.action do |global_options,options,args|
78
- dfb.run_android
78
+ Dfb.run_android
79
79
  end
80
80
  end
81
81
 
@@ -83,7 +83,7 @@ class App
83
83
  arg_name 'Describe arguments to add here'
84
84
  command :attach do |c|
85
85
  c.action do |global_options,options,args|
86
- dfb.attach
86
+ Dfb.attach
87
87
  end
88
88
  end
89
89
 
@@ -91,7 +91,7 @@ class App
91
91
  arg_name 'Describe arguments to add here'
92
92
  command :create_package do |c|
93
93
  c.action do |global_options,options,args|
94
- dfb.create_package(args[0])
94
+ Dfb.create_package(args[0])
95
95
  end
96
96
  end
97
97
 
@@ -99,7 +99,7 @@ class App
99
99
  arg_name 'Describe arguments to add here'
100
100
  command :pub_get do |c|
101
101
  c.action do |global_options,options,args|
102
- dfb.pub_get
102
+ Dfb.pub_get
103
103
  end
104
104
  end
105
105
 
@@ -107,7 +107,7 @@ class App
107
107
  arg_name 'Describe arguments to add here'
108
108
  command :flutter_clean do |c|
109
109
  c.action do |global_options,options,args|
110
- dfb.flutter_clean
110
+ Dfb.flutter_clean
111
111
  end
112
112
  end
113
113
 
data/lib/dfb.rb CHANGED
@@ -2,7 +2,7 @@ require 'dfb/version.rb'
2
2
 
3
3
  # Add requires for other files you add to your project here, so
4
4
  # you just need to require this one file in your bin file
5
- module dfb
5
+ module Dfb
6
6
  # Your code goes here...
7
7
  def self.hello
8
8
  p "hello world"
@@ -57,4 +57,4 @@ module dfb
57
57
  system "cd ~/YDDictFlutter/dict-ios-flutter-bridge/Embed/flutter_module;flutter clean;"
58
58
  end
59
59
 
60
- end
60
+ end
data/lib/dfb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dfb
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  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: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here