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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cce9c8d9074416d20af2fa26b36156b1d7bfd976
4
- data.tar.gz: 2f839d0ed5cb39ba486cb1a94dfc95b869f86947
3
+ metadata.gz: c05bcd2387328a9cf771d91ff2fd3ef1b409a4b6
4
+ data.tar.gz: 1ad553a82ddd898f6eb5ac03cd2b6b1bf6d473db
5
5
  SHA512:
6
- metadata.gz: 522f3da3c97bde0bc7abb643bf159adc696c1fe905e99c2083400d20bdb86321079c645f18a4fec36f27afe055a95f1a5d1545e98cf5e775ec70ceca58729ef9
7
- data.tar.gz: c4c9034dfb91d1924630da4824ed61a91e84502d263693581bf973f3396e7e09383f6b8ee3c3e1bea85bc03c2ca846e7d89baa150a2348183c0bc8ffa49a363d
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
@@ -23,7 +23,7 @@ module Ruboty
23
23
 
24
24
  desc 'version', 'version'
25
25
  def version
26
- p Ruboty::VERSION
26
+ p Ruboty::Gen::VERSION
27
27
  end
28
28
  end
29
29
  end
@@ -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 githbu username'
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'
@@ -2,6 +2,6 @@
2
2
  module Ruboty
3
3
  # Gen
4
4
  module Gen
5
- VERSION = '0.0.1'
5
+ VERSION = '1.0.0'
6
6
  end
7
7
  end
data/sample/README.md CHANGED
@@ -54,6 +54,7 @@ Or install it yourself as:
54
54
 
55
55
  |Name|Description|
56
56
  |:--|:--|
57
+ |dependency1|dependency1 description|
57
58
  |dependency2|dependency2 description|
58
59
 
59
60
  ## Contributing
data/sample/Rubotyme CHANGED
@@ -16,6 +16,11 @@ env do |e|
16
16
  e.description "ENV2 desc"
17
17
  end
18
18
 
19
+ dependency do |d|
20
+ d.name "dependency1"
21
+ d.description "dependency1 description"
22
+ end
23
+
19
24
  dependency do |d|
20
25
  d.name "dependency2"
21
26
  d.description "dependency2 description"
@@ -1,9 +1,6 @@
1
1
  # encoding: utf-8
2
2
  require 'spec_helper'
3
3
  require 'ruboty/gen'
4
- # require 'ruboty/models/env'
5
- # require 'ruboty/models/dependency'
6
- # require 'ruboty/models/command'
7
4
 
8
5
  # rubocop:disable LineLength, UnusedMethodArgument
9
6
  describe Ruboty::Gen::Readme do
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.1
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-09 00:00:00.000000000 Z
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
@@ -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
@@ -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.