ruboty-megen 0.0.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/bin/ruboty-megen +1 -1
- data/lib/ruboty/dsl/dsl.rb +1 -1
- data/lib/ruboty/gen/version.rb +1 -1
- data/sample/README.md +1 -0
- data/sample/Rubotyme +5 -0
- data/spec/ruboty/gen/readme_spec.rb +0 -3
- metadata +2 -8
- data/lib/models/command.rb +0 -28
- data/lib/models/dependency.rb +0 -24
- data/lib/models/env.rb +0 -26
- data/tudu/doings +0 -1
- data/tudu/dones +0 -0
- data/tudu/todos +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c05bcd2387328a9cf771d91ff2fd3ef1b409a4b6
|
4
|
+
data.tar.gz: 1ad553a82ddd898f6eb5ac03cd2b6b1bf6d473db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e488f8c9f1c34df4d917b349d20b93b7923ea331ba13d765462d5676737e21858f3840d9f667820e1b28edd851de08d6a81ea7e8ee87131b4c403e7d52c576b
|
7
|
+
data.tar.gz: 7043af95e4069867ad73eb5146397c8cd60111a87bab3e19d88f71d018455b3997170367bd873fb70304aed990670476a38d373795d860525513dc37a625b466
|
data/README.md
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
Generate README.md for Ruboty Handler + Actions plugin.
|
4
4
|
|
5
|
+
[![Gem Version](https://badge.fury.io/rb/ruboty-megen.svg)](http://badge.fury.io/rb/ruboty-megen)
|
5
6
|
[![Build Status](https://travis-ci.org/tbpgr/ruboty-megen.png?branch=master)](https://travis-ci.org/tbpgr/ruboty-megen)
|
6
7
|
[![Coverage Status](https://coveralls.io/repos/tbpgr/ruboty-megen/badge.png)](https://coveralls.io/r/tbpgr/ruboty-megen)
|
7
8
|
|
data/bin/ruboty-megen
CHANGED
data/lib/ruboty/dsl/dsl.rb
CHANGED
@@ -35,7 +35,7 @@ module Ruboty
|
|
35
35
|
|
36
36
|
def initialize
|
37
37
|
@ruboty_megen = Ruboty::DslModel.new
|
38
|
-
@ruboty_megen.user_name = 'your
|
38
|
+
@ruboty_megen.user_name = 'your github username'
|
39
39
|
@ruboty_megen.gem_class_name = 'your_gem_class_name'
|
40
40
|
@ruboty_megen.gem_name = 'your_gem_name'
|
41
41
|
@ruboty_megen.title = 'title'
|
data/lib/ruboty/gen/version.rb
CHANGED
data/sample/README.md
CHANGED
data/sample/Rubotyme
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruboty-megen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tbpgr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -97,9 +97,6 @@ files:
|
|
97
97
|
- README.md
|
98
98
|
- Rakefile
|
99
99
|
- bin/ruboty-megen
|
100
|
-
- lib/models/command.rb
|
101
|
-
- lib/models/dependency.rb
|
102
|
-
- lib/models/env.rb
|
103
100
|
- lib/ruboty/dsl.rb
|
104
101
|
- lib/ruboty/dsl/dsl.rb
|
105
102
|
- lib/ruboty/dsl/dsl_model.rb
|
@@ -115,9 +112,6 @@ files:
|
|
115
112
|
- sample/Rubotyme
|
116
113
|
- spec/ruboty/gen/readme_spec.rb
|
117
114
|
- spec/spec_helper.rb
|
118
|
-
- tudu/doings
|
119
|
-
- tudu/dones
|
120
|
-
- tudu/todos
|
121
115
|
homepage: https://github.com/tbpgr/ruboty-megen
|
122
116
|
licenses:
|
123
117
|
- MIT
|
data/lib/models/command.rb
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module RubotyMegen
|
4
|
-
# Command
|
5
|
-
class Command
|
6
|
-
def initialize
|
7
|
-
@name, @pattern, @description = ''
|
8
|
-
end
|
9
|
-
|
10
|
-
def name(name)
|
11
|
-
@name = name
|
12
|
-
end
|
13
|
-
|
14
|
-
def pattern(pattern)
|
15
|
-
@pattern = pattern
|
16
|
-
end
|
17
|
-
|
18
|
-
def description(description)
|
19
|
-
@description = description
|
20
|
-
end
|
21
|
-
|
22
|
-
[:name, :pattern, :description].each do |m|
|
23
|
-
define_method :"read_#{m}" do
|
24
|
-
instance_variable_get("@#{m}")
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
data/lib/models/dependency.rb
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module RubotyMegen
|
4
|
-
# Dependency
|
5
|
-
class Dependency
|
6
|
-
def initialize
|
7
|
-
@name, @description = ''
|
8
|
-
end
|
9
|
-
|
10
|
-
def name(name)
|
11
|
-
@name = name
|
12
|
-
end
|
13
|
-
|
14
|
-
def description(description)
|
15
|
-
@description = description
|
16
|
-
end
|
17
|
-
|
18
|
-
[:name, :description].each do |m|
|
19
|
-
define_method :"read_#{m}" do
|
20
|
-
instance_variable_get("@#{m}")
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
data/lib/models/env.rb
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
|
-
module RubotyMegen
|
4
|
-
module Models
|
5
|
-
# Env
|
6
|
-
class Env
|
7
|
-
def initialize
|
8
|
-
@name, @description = ''
|
9
|
-
end
|
10
|
-
|
11
|
-
def name(name)
|
12
|
-
@name = name
|
13
|
-
end
|
14
|
-
|
15
|
-
def description(description)
|
16
|
-
@description = description
|
17
|
-
end
|
18
|
-
|
19
|
-
[:name, :description].each do |m|
|
20
|
-
define_method :"read_#{m}" do
|
21
|
-
instance_variable_get("@#{m}")
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
data/tudu/doings
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
implement 'ruboty_megen_core_spec.rb'.
|
data/tudu/dones
DELETED
File without changes
|
data/tudu/todos
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
implement 'ruboty_megen_core.rb' your main logic. pass rspec all specs.
|
2
|
-
implement bin 'bin/ruboty_megen'.
|
3
|
-
edit 'ruboty_megen.gemspec'.
|
4
|
-
edit 'README.md'.
|
5
|
-
edit 'LICENSE.txt'.
|
6
|
-
git add, commit.
|
7
|
-
rake install.
|
8
|
-
check gem(test using).
|
9
|
-
gem uninstall ruboty_megen.
|
10
|
-
rake release.
|
11
|
-
gem install ruboty_megen.
|
12
|
-
after release check.
|