dfb 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/bin/dfb +12 -12
  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: b9e0fc11f3033dfdc2c9aebadf9c6a7f5bf1c98b5384e522034f7744bc4f87b2
4
- data.tar.gz: 4ff783c7af5d9b93346fc0464c272938c0f1703e598c8f95284d88f433651fb4
3
+ metadata.gz: 47def1f61bf0ea2166e6fa815313f566b11d546a311726b03705497453f89337
4
+ data.tar.gz: c8e677dad65c005f682f8e40194c86a3dc763dc94741e400ecf7b333338d535e
5
5
  SHA512:
6
- metadata.gz: 94375d2febe96df071d0b472db37e702680326efe13896e977f1653115b51d325c2932f4d0204b8864172533afbfb69df6ff8404ea1efcb8386ba8b451c7c933
7
- data.tar.gz: 3886685a97ab9c512faa667d731a177f53b74b32c6ae545b3aae6fe142c0bb4c0b40a3b4dd980d344a1cb4c85ed0735d0b1b48e8034b97bd99429628f406dd04
6
+ metadata.gz: 75f7bdd4d19ce04ae7836cc3f9da1af070faa7b4e380a2378a5ae2b22f8ded5156749425ed45c227e51106588eade3a57a93c62ce427771b604d78dacf740afb
7
+ data.tar.gz: 6ee6725889b631efb70709af8c7b5d627e0ea0f52659d8d6668d52cbd78ee8ba96262db391131086a5fb30a92d2600e03a38d1bf892bfc019dfaa0282464a414
data/bin/dfb CHANGED
@@ -1,11 +1,11 @@
1
1
  #!/usr/bin/env ruby
2
2
  require 'gli'
3
3
  # begin # XXX: Remove this begin/rescue before distributing your app
4
- require 'DictFlutterCommand'
4
+ require 'dfb'
5
5
  # rescue LoadError
6
- # STDERR.puts "In development, you need to use `bundle exec bin/DictFlutterCommand` to run your app"
6
+ # STDERR.puts "In development, you need to use `bundle exec bin/dfb` to run your app"
7
7
  # STDERR.puts "At install-time, RubyGems will make sure lib, etc. are in the load path"
8
- # STDERR.puts "Feel free to remove this message from bin/DictFlutterCommand now"
8
+ # STDERR.puts "Feel free to remove this message from bin/dfb now"
9
9
  # exit 64
10
10
  # end
11
11
 
@@ -14,7 +14,7 @@ class App
14
14
 
15
15
  program_desc '词典flutter工程管理命令'
16
16
 
17
- version DictFlutterCommand::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
- DictFlutterCommand.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
- DictFlutterCommand.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
- DictFlutterCommand.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
- DictFlutterCommand.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
- DictFlutterCommand.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
- DictFlutterCommand.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
- DictFlutterCommand.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
- DictFlutterCommand.flutter_clean
110
+ dfb.flutter_clean
111
111
  end
112
112
  end
113
113
 
data/lib/dfb.rb CHANGED
@@ -1,8 +1,8 @@
1
- require 'DictFlutterCommand/version.rb'
1
+ 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 DictFlutterCommand
5
+ module dfb
6
6
  # Your code goes here...
7
7
  def self.hello
8
8
  p "hello world"
data/lib/dfb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dfb
2
- VERSION = '0.0.1'
2
+ VERSION = '0.0.2'
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.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Your Name Here