dslable 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +178 -35
- data/lib/dslable/version.rb +1 -1
- data/lib/dslable_core.rb +2 -0
- data/lib/generators/settings/gemfile.rb +1 -0
- data/lib/generators/workflow.rb +76 -0
- data/spec/generators/workflow_spec.rb +80 -0
- metadata +19 -16
data/README.md
CHANGED
@@ -5,6 +5,7 @@ Dslable is generator for simple spec gem.
|
|
5
5
|
## Summary
|
6
6
|
* create gem template with DslSettingFile.
|
7
7
|
* you can get bin-executable gem.
|
8
|
+
* you can gem creation workflow.
|
8
9
|
* generated gem has 1-DslSettingFile.
|
9
10
|
* generated gem has 1-core logic class.
|
10
11
|
* generated gem has 1-dsl class.
|
@@ -84,6 +85,7 @@ Or install it yourself as:
|
|
84
85
|
~~~bash
|
85
86
|
1 2 fizz 3 4 buzz 5 fizz 7 8 fizz buzz 11 fizz 13 14 fizzbuzz
|
86
87
|
~~~
|
88
|
+
|
87
89
|
* you can choose output 'fizz/buzz/fizzbuzz' or 'FIZZ/BUZZ/FIZZBUZZ' by setting file.
|
88
90
|
* you can set fizzbuzz range by setting file.
|
89
91
|
|
@@ -186,9 +188,13 @@ fizz_buzz_gem
|
|
186
188
|
│ └─fizz_buzz_gem
|
187
189
|
│ version.rb
|
188
190
|
│
|
189
|
-
|
190
|
-
|
191
|
-
|
191
|
+
├─spec
|
192
|
+
│ fizz_buzz_gem_core_spec.rb
|
193
|
+
│ spec_helper.rb
|
194
|
+
└─tudu
|
195
|
+
todos
|
196
|
+
doings
|
197
|
+
dones
|
192
198
|
~~~
|
193
199
|
|
194
200
|
Gemfile Template
|
@@ -434,6 +440,35 @@ describe FizzBuzzGem::Core do
|
|
434
440
|
end
|
435
441
|
~~~
|
436
442
|
|
443
|
+
Workflow Template(tudu/todos, tudu/doings, tudu/dones). you can check by tudu gem.
|
444
|
+
~~~bash
|
445
|
+
$ tudu tasks -c
|
446
|
+
========TODOS========
|
447
|
+
implement 'fizz_buzz_gem_core.rb' your main logic. pass rspec all specs.
|
448
|
+
implement bin 'bin/your_bin'.
|
449
|
+
edit 'fizz_buzz_gem.gemspec'.
|
450
|
+
edit 'README.md'.
|
451
|
+
edit 'LICENSE.txt'.
|
452
|
+
git add, commit.
|
453
|
+
rake install.
|
454
|
+
check gem(test using).
|
455
|
+
gem uninstall fizz_buzz_gem.
|
456
|
+
rake release.
|
457
|
+
gem install fizz_buzz_gem.
|
458
|
+
after release check.
|
459
|
+
|
460
|
+
========DOINGS========
|
461
|
+
implement 'fizz_buzz_gem_core_spec.rb'.
|
462
|
+
|
463
|
+
========DONES========
|
464
|
+
~~~
|
465
|
+
|
466
|
+
### Steps: check todo by tudu now
|
467
|
+
~~~bash
|
468
|
+
$ tudu now
|
469
|
+
implement 'fizz_buzz_gem_core_spec.rb'.
|
470
|
+
~~~
|
471
|
+
|
437
472
|
### Steps: implement 'fizz_buzz_core_spec.rb' manually. (TDD step)
|
438
473
|
~~~ruby
|
439
474
|
# encoding: utf-8
|
@@ -582,6 +617,13 @@ rspec ./spec/fizz_buzz_gem_core_spec.rb:75 # FizzBuzzGem::Core execute |case_no=
|
|
582
617
|
Randomized with seed 63051
|
583
618
|
~~~
|
584
619
|
|
620
|
+
### Steps: after implement spec, execute 'tudu done'. and confirm next todo by 'todo now'
|
621
|
+
~~~bash
|
622
|
+
$ tudu done
|
623
|
+
$ tudu now
|
624
|
+
implement 'fizz_buzz_gem_core.rb' your main logic. pass rspec all specs.
|
625
|
+
~~~
|
626
|
+
|
585
627
|
### Steps: implement 'fizz_buzz_core.rb' manually.
|
586
628
|
~~~ruby
|
587
629
|
# encoding: utf-8
|
@@ -659,37 +701,11 @@ Finished in 0.011 seconds
|
|
659
701
|
Randomized with seed 29906
|
660
702
|
~~~
|
661
703
|
|
662
|
-
### Steps:
|
663
|
-
~~~
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
require 'fizz_buzz_gem/version'
|
668
|
-
|
669
|
-
Gem::Specification.new do |spec|
|
670
|
-
spec.name = "fizz_buzz_gem"
|
671
|
-
spec.version = FizzBuzzGem::VERSION
|
672
|
-
spec.authors = ["yourname"]
|
673
|
-
spec.email = ["your@mail.address"]
|
674
|
-
spec.description = %q{fizz buzz gem}
|
675
|
-
spec.summary = %q{fizz buzz gem}
|
676
|
-
spec.homepage = ""
|
677
|
-
spec.license = "MIT"
|
678
|
-
|
679
|
-
spec.files = `git ls-files`.split($/)
|
680
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
681
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
682
|
-
spec.require_paths = ["lib"]
|
683
|
-
|
684
|
-
spec.add_runtime_dependency "thor", "~> 0.18.1"
|
685
|
-
spec.add_runtime_dependency "activesupport", "~> 4.0.1"
|
686
|
-
spec.add_runtime_dependency "activemodel", "~> 4.0.2"
|
687
|
-
|
688
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
689
|
-
spec.add_development_dependency "rake"
|
690
|
-
spec.add_development_dependency "rspec", "~> 2.14.1"
|
691
|
-
spec.add_development_dependency "simplecov", "~> 0.8.2"
|
692
|
-
end
|
704
|
+
### Steps: after implement core.rb, execute 'tudu done'. and confirm next todo by 'todo now'
|
705
|
+
~~~bash
|
706
|
+
$ tudu done
|
707
|
+
$ tudu now
|
708
|
+
implement bin 'bin/your_bin'.
|
693
709
|
~~~
|
694
710
|
|
695
711
|
### Steps: Edit bin bin/fizzbuzzgem manually
|
@@ -727,6 +743,53 @@ end
|
|
727
743
|
FizzBuzzGem::CLI.start(ARGV)
|
728
744
|
~~~
|
729
745
|
|
746
|
+
### Steps: after implement bin, execute 'tudu done'. and confirm next todo by 'todo now'
|
747
|
+
~~~bash
|
748
|
+
$ tudu done
|
749
|
+
$ tudu now
|
750
|
+
edit 'fizz_buzz_gem.gemspec'.
|
751
|
+
~~~
|
752
|
+
|
753
|
+
### Steps: Edit fizz_buzz_gem.gemspec manually
|
754
|
+
~~~ruby
|
755
|
+
# coding: utf-8
|
756
|
+
lib = File.expand_path('../lib', __FILE__)
|
757
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
758
|
+
require 'fizz_buzz_gem/version'
|
759
|
+
|
760
|
+
Gem::Specification.new do |spec|
|
761
|
+
spec.name = "fizz_buzz_gem"
|
762
|
+
spec.version = FizzBuzzGem::VERSION
|
763
|
+
spec.authors = ["yourname"]
|
764
|
+
spec.email = ["your@mail.address"]
|
765
|
+
spec.description = %q{fizz buzz gem}
|
766
|
+
spec.summary = %q{fizz buzz gem}
|
767
|
+
spec.homepage = ""
|
768
|
+
spec.license = "MIT"
|
769
|
+
|
770
|
+
spec.files = `git ls-files`.split($/)
|
771
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
772
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
773
|
+
spec.require_paths = ["lib"]
|
774
|
+
|
775
|
+
spec.add_runtime_dependency "thor", "~> 0.18.1"
|
776
|
+
spec.add_runtime_dependency "activesupport", "~> 4.0.1"
|
777
|
+
spec.add_runtime_dependency "activemodel", "~> 4.0.2"
|
778
|
+
|
779
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
780
|
+
spec.add_development_dependency "rake"
|
781
|
+
spec.add_development_dependency "rspec", "~> 2.14.1"
|
782
|
+
spec.add_development_dependency "simplecov", "~> 0.8.2"
|
783
|
+
end
|
784
|
+
~~~
|
785
|
+
|
786
|
+
### Steps: after edit gemspec, execute 'tudu done'. and confirm next todo by 'todo now'
|
787
|
+
~~~bash
|
788
|
+
$ tudu done
|
789
|
+
$ tudu now
|
790
|
+
edit 'README.md'.
|
791
|
+
~~~
|
792
|
+
|
730
793
|
### Steps: Edit README.md manually
|
731
794
|
~~~ruby
|
732
795
|
# FizzBuzzGem
|
@@ -760,6 +823,23 @@ usage...
|
|
760
823
|
5. Create new Pull Request
|
761
824
|
~~~
|
762
825
|
|
826
|
+
### Steps: after edit README.md, execute 'tudu done'. and confirm next todo by 'todo now'
|
827
|
+
~~~bash
|
828
|
+
$ tudu done
|
829
|
+
$ tudu now
|
830
|
+
edit 'LICENSE.txt'.
|
831
|
+
~~~
|
832
|
+
|
833
|
+
### Steps: Edit LICENSE.txt
|
834
|
+
edit.
|
835
|
+
|
836
|
+
### Steps: after edit LICENSE.txt, execute 'tudu done'. and confirm next todo by 'todo now'
|
837
|
+
~~~bash
|
838
|
+
$ tudu done
|
839
|
+
$ tudu now
|
840
|
+
git add, commit.
|
841
|
+
~~~
|
842
|
+
|
763
843
|
### Steps: git add, commit
|
764
844
|
~~~bash
|
765
845
|
$ git add -A
|
@@ -767,6 +847,13 @@ $ git add -u
|
|
767
847
|
$ git commit -m "first commit"
|
768
848
|
~~~
|
769
849
|
|
850
|
+
### Steps: after git add/commit, execute 'tudu done'. and confirm next todo by 'todo now'
|
851
|
+
~~~bash
|
852
|
+
$ tudu done
|
853
|
+
$ tudu now
|
854
|
+
rake install.
|
855
|
+
~~~
|
856
|
+
|
770
857
|
### Steps: rake install
|
771
858
|
~~~bash
|
772
859
|
$ rake install
|
@@ -774,6 +861,13 @@ fizz_buzz_gem 0.0.1 built to pkg/fizz_buzz_gem-0.0.1.gem.
|
|
774
861
|
fizz_buzz_gem (0.0.1) installed.
|
775
862
|
~~~
|
776
863
|
|
864
|
+
### Steps: after rake install, execute 'tudu done'. and confirm next todo by 'todo now'
|
865
|
+
~~~bash
|
866
|
+
$ tudu done
|
867
|
+
$ tudu now
|
868
|
+
check gem(test using).
|
869
|
+
~~~
|
870
|
+
|
777
871
|
### Steps: test use fizzbuzzgem
|
778
872
|
show help
|
779
873
|
~~~bash
|
@@ -834,17 +928,66 @@ $ fizzbuzzgem e
|
|
834
928
|
1 2 fizz 4 buzz fizz 7 8 fizz buzz 11 fizz 13 14 fizzbuzz
|
835
929
|
~~~
|
836
930
|
|
931
|
+
### Steps: after test using, execute 'tudu done'. and confirm next todo by 'todo now'
|
932
|
+
~~~bash
|
933
|
+
$ tudu done
|
934
|
+
$ tudu now
|
935
|
+
gem uninstall fizz_buzz_gem.
|
936
|
+
~~~
|
937
|
+
|
938
|
+
### Steps: uninstall test installed gem.
|
939
|
+
~~~bash
|
940
|
+
gem uninstall fizz_buzz_gem
|
941
|
+
~~~
|
942
|
+
|
943
|
+
### Steps: after gem uninstall fizz_buzz_gem, execute 'tudu done'. and confirm next todo by 'todo now'
|
944
|
+
~~~bash
|
945
|
+
$ tudu done
|
946
|
+
$ tudu now
|
947
|
+
rake release.
|
948
|
+
~~~
|
949
|
+
|
837
950
|
### Steps: if test using is ok, release gem to RubyGems
|
838
|
-
~~~
|
951
|
+
~~~bash
|
839
952
|
$ rake release
|
840
953
|
~~~
|
841
954
|
|
955
|
+
### Steps: after rake release, execute 'tudu done'. and confirm next todo by 'todo now'
|
956
|
+
~~~bash
|
957
|
+
$ tudu done
|
958
|
+
$ tudu now
|
959
|
+
gem install fizz_buzz_gem.
|
960
|
+
~~~
|
961
|
+
|
962
|
+
### Steps: install gem
|
963
|
+
~~~bash
|
964
|
+
$ gem install fizz_buzz_gem
|
965
|
+
~~~
|
966
|
+
|
967
|
+
### Steps: after gem install fizz_buzz_gem, execute 'tudu done'. and confirm next todo by 'todo now'
|
968
|
+
~~~bash
|
969
|
+
$ tudu done
|
970
|
+
$ tudu now
|
971
|
+
after release check.
|
972
|
+
~~~
|
973
|
+
|
974
|
+
### Steps: check your gem.
|
975
|
+
check.
|
976
|
+
|
977
|
+
### Steps: after check your gem complete, execute 'tudu done'. all todo complete'
|
978
|
+
~~~bash
|
979
|
+
$ tudu done
|
980
|
+
All Tasks Finish!!
|
981
|
+
~~~
|
982
|
+
|
842
983
|
## Notes
|
843
984
|
* this gem uses 'bundle gem' command to create gem template. (bundler gem).
|
844
985
|
* this gem uses 'rspec --init' command to create RSpec template (rspec gem).
|
845
986
|
* this gem uses 'piccolo' command to create RSpec spec template (rspec_piccolo gem).
|
987
|
+
* this gem uses 'tudu' command to create Workflow (tudu gem).
|
846
988
|
|
847
989
|
## History
|
990
|
+
* version 0.0.2 : add workflow generation by 'tudu gem'.
|
848
991
|
* version 0.0.1 : first release.
|
849
992
|
|
850
993
|
## Contributing
|
data/lib/dslable/version.rb
CHANGED
data/lib/dslable_core.rb
CHANGED
@@ -3,6 +3,7 @@ require "dslable_field"
|
|
3
3
|
require "dslable_args"
|
4
4
|
require "dslable_dsl"
|
5
5
|
require "generators/gem_template"
|
6
|
+
require "generators/workflow"
|
6
7
|
require "generators/product_codes/cli"
|
7
8
|
require "generators/product_codes/core"
|
8
9
|
require "generators/product_codes/dsl"
|
@@ -62,6 +63,7 @@ end
|
|
62
63
|
dsl.instance_eval src
|
63
64
|
Dslable::Generators::GemTemplate.new(dsl).generate
|
64
65
|
Dslable::Generators::Settings::Gemfile.new(dsl).generate
|
66
|
+
Dslable::Generators::Workflow.new(dsl).generate
|
65
67
|
Dslable::Generators::ProductCodes::Core.new(dsl).generate
|
66
68
|
Dslable::Generators::ProductCodes::Dsl.new(dsl).generate
|
67
69
|
Dslable::Generators::ProductCodes::DslModel.new(dsl).generate
|
@@ -0,0 +1,76 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'generators/generators'
|
3
|
+
require 'fileutils'
|
4
|
+
require 'dslable_dsl'
|
5
|
+
require 'erb'
|
6
|
+
|
7
|
+
module Dslable::Generators
|
8
|
+
# =Dslable::Generators Gem Template Generator
|
9
|
+
class Workflow
|
10
|
+
# ==todos contents
|
11
|
+
TODOS_CONTENTS = <<-EOS
|
12
|
+
implement '<%=gem_name%>_core.rb' your main logic. pass rspec all specs.
|
13
|
+
implement bin 'bin/<%=bin_name%>'.
|
14
|
+
edit '<%=gem_name%>.gemspec'.
|
15
|
+
edit 'README.md'.
|
16
|
+
edit 'LICENSE.txt'.
|
17
|
+
git add, commit.
|
18
|
+
rake install.
|
19
|
+
check gem(test using).
|
20
|
+
gem uninstall <%=gem_name%>.
|
21
|
+
rake release.
|
22
|
+
gem install <%=gem_name%>.
|
23
|
+
after release check.
|
24
|
+
EOS
|
25
|
+
|
26
|
+
# ==doings contents
|
27
|
+
DOINGS_CONTENTS = <<-EOS
|
28
|
+
implement '<%=gem_name%>_core_spec.rb'.
|
29
|
+
EOS
|
30
|
+
|
31
|
+
# ==tudu file definitions
|
32
|
+
TUDU_FILES = {
|
33
|
+
:todos => {
|
34
|
+
:file_name => 'tudu/todos',
|
35
|
+
:contents => TODOS_CONTENTS
|
36
|
+
},
|
37
|
+
:doings => {
|
38
|
+
:file_name => 'tudu/doings',
|
39
|
+
:contents => DOINGS_CONTENTS
|
40
|
+
},
|
41
|
+
:dones => {
|
42
|
+
:file_name => 'tudu/dones',
|
43
|
+
:contents => ''
|
44
|
+
},
|
45
|
+
}
|
46
|
+
attr_accessor :dsl
|
47
|
+
|
48
|
+
#== initialize generate gem template
|
49
|
+
#=== Params
|
50
|
+
#- _dsl: input from dsl
|
51
|
+
def initialize(_dsl)
|
52
|
+
raise InvalidDslError.new('dsl not allow nil') if _dsl.nil?
|
53
|
+
@dsl = _dsl
|
54
|
+
end
|
55
|
+
|
56
|
+
#== generate gem template
|
57
|
+
def generate
|
58
|
+
Dir.mkdir('tudu')
|
59
|
+
gem_name = @dsl._gem_name
|
60
|
+
bin_name = @dsl._bin_name
|
61
|
+
TUDU_FILES.each do |key, file_definition|
|
62
|
+
File.open("./#{file_definition[:file_name]}", "w") do |f|
|
63
|
+
f.print adapt_template(gem_name, bin_name, file_definition[:contents])
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
68
|
+
private
|
69
|
+
|
70
|
+
def adapt_template(gem_name, bin_name, template)
|
71
|
+
erb = ERB.new(template)
|
72
|
+
erb.result(binding)
|
73
|
+
end
|
74
|
+
end
|
75
|
+
class InvalidDslError < StandardError;end
|
76
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require 'spec_helper'
|
3
|
+
require 'generators/workflow'
|
4
|
+
|
5
|
+
describe Dslable::Generators::Workflow do
|
6
|
+
|
7
|
+
context :generate do
|
8
|
+
OUTPUT_WORKFLOW_TMP_DIR = "workflow_tmp"
|
9
|
+
TODOS_CASE1 =<<-EOS
|
10
|
+
implement 'sample_gem_core.rb' your main logic. pass rspec all specs.
|
11
|
+
implement bin 'bin/samplegem'.
|
12
|
+
edit 'sample_gem.gemspec'.
|
13
|
+
edit 'README.md'.
|
14
|
+
edit 'LICENSE.txt'.
|
15
|
+
git add, commit.
|
16
|
+
rake install.
|
17
|
+
check gem(test using).
|
18
|
+
gem uninstall sample_gem.
|
19
|
+
rake release.
|
20
|
+
gem install sample_gem.
|
21
|
+
after release check.
|
22
|
+
EOS
|
23
|
+
|
24
|
+
DOINGS_CASE1 =<<-EOS
|
25
|
+
implement 'sample_gem_core_spec.rb'.
|
26
|
+
EOS
|
27
|
+
|
28
|
+
cases = [
|
29
|
+
{
|
30
|
+
case_no: 1,
|
31
|
+
case_title: "generate",
|
32
|
+
gem_name: "sample_gem",
|
33
|
+
bin_name: "samplegem",
|
34
|
+
expected: Dslable::Generators::Workflow::TUDU_FILES,
|
35
|
+
expected_contents: {
|
36
|
+
:todos => TODOS_CASE1,
|
37
|
+
:doings => DOINGS_CASE1,
|
38
|
+
:dones => ""
|
39
|
+
}
|
40
|
+
},
|
41
|
+
]
|
42
|
+
|
43
|
+
cases.each do |c|
|
44
|
+
it "|case_no=#{c[:case_no]}|case_title=#{c[:case_title]}" do
|
45
|
+
begin
|
46
|
+
case_before c
|
47
|
+
|
48
|
+
# -- given --
|
49
|
+
dsl = Dslable::Dsl.new
|
50
|
+
dsl.gem_name c[:gem_name]
|
51
|
+
dsl.bin_name c[:bin_name]
|
52
|
+
workflow = Dslable::Generators::Workflow.new(dsl)
|
53
|
+
|
54
|
+
# -- when --
|
55
|
+
workflow.generate
|
56
|
+
|
57
|
+
# -- then --
|
58
|
+
c[:expected].each do |key, file_definition|
|
59
|
+
actual = File.open(file_definition[:file_name]) {|f|f.read}
|
60
|
+
expect(actual).to eq(c[:expected_contents][key])
|
61
|
+
end
|
62
|
+
ensure
|
63
|
+
case_after c
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def case_before(c)
|
68
|
+
# implement each case before
|
69
|
+
Dir.mkdir(OUTPUT_WORKFLOW_TMP_DIR) unless Dir.exists? OUTPUT_WORKFLOW_TMP_DIR
|
70
|
+
Dir.chdir(OUTPUT_WORKFLOW_TMP_DIR)
|
71
|
+
end
|
72
|
+
|
73
|
+
def case_after(c)
|
74
|
+
# implement each case after
|
75
|
+
Dir.chdir("../")
|
76
|
+
FileUtils.rm_rf(OUTPUT_WORKFLOW_TMP_DIR) if Dir.exists? OUTPUT_WORKFLOW_TMP_DIR
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dslable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
16
|
-
requirement: &
|
16
|
+
requirement: &20762268 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.18.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *20762268
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: activesupport
|
27
|
-
requirement: &
|
27
|
+
requirement: &20761524 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 4.0.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *20761524
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec_piccolo
|
38
|
-
requirement: &
|
38
|
+
requirement: &20776596 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: 0.0.6
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *20776596
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: bundler
|
49
|
-
requirement: &
|
49
|
+
requirement: &20776104 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '1.3'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *20776104
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: rspec
|
60
|
-
requirement: &
|
60
|
+
requirement: &20775660 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ~>
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: 2.14.1
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *20775660
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
|
-
requirement: &
|
71
|
+
requirement: &20775168 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *20775168
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: simplecov
|
82
|
-
requirement: &
|
82
|
+
requirement: &20774232 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ~>
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: 0.8.2
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *20774232
|
91
91
|
description: Dslable is generator for simple gem-code template.
|
92
92
|
email:
|
93
93
|
- tbpgr@tbpgr.jp
|
@@ -118,6 +118,7 @@ files:
|
|
118
118
|
- lib/generators/rspec/spec_template.rb
|
119
119
|
- lib/generators/rspec/specs.rb
|
120
120
|
- lib/generators/settings/gemfile.rb
|
121
|
+
- lib/generators/workflow.rb
|
121
122
|
- spec/dslable_args_spec.rb
|
122
123
|
- spec/dslable_core_spec.rb
|
123
124
|
- spec/dslable_dsl_spec.rb
|
@@ -130,6 +131,7 @@ files:
|
|
130
131
|
- spec/generators/rspec/spec_template_spec.rb
|
131
132
|
- spec/generators/rspec/specs_spec.rb
|
132
133
|
- spec/generators/settings/gemfile_spec.rb
|
134
|
+
- spec/generators/workflow_spec.rb
|
133
135
|
- spec/spec_helper.rb
|
134
136
|
homepage: https://github.com/tbpgr/dslable
|
135
137
|
licenses:
|
@@ -169,5 +171,6 @@ test_files:
|
|
169
171
|
- spec/generators/rspec/spec_template_spec.rb
|
170
172
|
- spec/generators/rspec/specs_spec.rb
|
171
173
|
- spec/generators/settings/gemfile_spec.rb
|
174
|
+
- spec/generators/workflow_spec.rb
|
172
175
|
- spec/spec_helper.rb
|
173
176
|
has_rdoc:
|