mtgen 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 1b73755c747fd3042bfbb858c1db77a459036814
4
+ data.tar.gz: f5a1c5b493d8b836aac1c9323b8556ac31123e09
5
+ SHA512:
6
+ metadata.gz: ca243cc5f683724950e4bb21f8b25c7cd2761ffdbfe0ff23fb0709d8c40a9bda5907085fcb6a5cbd45c2ab6465746135084a99541200592c24b9038ce19af63c
7
+ data.tar.gz: b1340b7188fa339febe04dfba416b7fb1697df0c92b2bc5c8dbbedd4057737e4d357efae8a28e54f6db758aa29ad3ba660a4bde4d58ed4b8b7ce3f55a7447e08
@@ -2,7 +2,7 @@ require 'thor'
2
2
  require 'fileutils'
3
3
 
4
4
  module MtGen
5
- VERSION = "0.1.2"
5
+ VERSION = "0.2.0"
6
6
 
7
7
  class CLI < Thor
8
8
  desc "test", "Generates minitest skeleton in current directory"
@@ -5,7 +5,7 @@ require(File.expand_path('../lib/mtgen', __FILE__))
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "mtgen"
7
7
  s.version = MtGen::VERSION
8
- s.authors = ["Richard Nystrom"]
8
+ s.authors = ["Richard Nyström"]
9
9
  s.email = ["ricny046@gmail.com"]
10
10
  s.homepage = "https://github.com/ricn/mtgen"
11
11
  s.summary = %q{Creates a minitest spec or test directory and some starter code on a blank project. Perfect for Ruby library development.}
data/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Mtgen
2
2
 
3
- mtgen creates a minitest test/spec directory and some starter code on a blank project. It's very similar to rspec --init. Perfect for Ruby library development.
3
+ mtgen creates a minitest test/spec directory and starter code on a blank Ruby project. It's very similar to rspec --init. Perfect for Ruby library development.
4
4
 
5
5
  ## Examples:
6
6
 
@@ -10,4 +10,34 @@ mtgen spec # generates a spec directory, spec_helper.rb and a sample_spec.rb wit
10
10
 
11
11
  ```bash
12
12
  mtgen test # generates a test directory, test_helper.rb and a sample_test.rb with a working test
13
- ```
13
+ ```
14
+
15
+ ## Fast gem creation with bundler and mtgen:
16
+ ```bash
17
+ bundle gem my-gem && cd my-gem && mtgen test
18
+ ```
19
+
20
+ ## MIT License
21
+
22
+ Copyright (c) 2013... Richard Nyström (@richardnystrom)
23
+
24
+ Permission is hereby granted, free of charge, to any person
25
+ obtaining a copy of this software and associated documentation
26
+ files (the "Software"), to deal in the Software without
27
+ restriction, including without limitation the rights to use,
28
+ copy, modify, merge, publish, distribute, sublicense, and/or sell
29
+ copies of the Software, and to permit persons to whom the
30
+ Software is furnished to do so, subject to the following
31
+ conditions:
32
+
33
+ The above copyright notice and this permission notice shall be
34
+ included in all copies or substantial portions of the Software.
35
+
36
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
37
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
38
+ OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
39
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40
+ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
41
+ WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
43
+ OTHER DEALINGS IN THE SOFTWARE.
@@ -1,4 +1,4 @@
1
- require 'spec_helper'
1
+ require_relative './spec_helper'
2
2
 
3
3
  describe MtGen::CLI do
4
4
 
metadata CHANGED
@@ -1,71 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtgen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
5
- prerelease:
4
+ version: 0.2.0
6
5
  platform: ruby
7
6
  authors:
8
- - Richard Nystrom
7
+ - Richard Nyström
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-03-01 00:00:00.000000000 Z
11
+ date: 2013-04-01 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: minitest
16
- requirement: &70320044736120 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
- version_requirements: *70320044736120
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '>='
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: rake
27
- requirement: &70320044735560 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - '>='
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *70320044735560
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: turn
38
- requirement: &70320044755340 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ! '>='
45
+ - - '>='
42
46
  - !ruby/object:Gem::Version
43
47
  version: '0'
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *70320044755340
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: thor
49
- requirement: &70320044754700 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ! '>='
59
+ - - '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :runtime
56
63
  prerelease: false
57
- version_requirements: *70320044754700
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: minitest
60
- requirement: &70320044754280 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
- - - ! '>='
73
+ - - '>='
64
74
  - !ruby/object:Gem::Version
65
75
  version: '0'
66
76
  type: :runtime
67
77
  prerelease: false
68
- version_requirements: *70320044754280
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  description: Creates a minitest spec or test directory and some starter code on a
70
84
  blank project. It's very similar to rspec --init. Perfect for Ruby library development.
71
85
  email:
@@ -90,27 +104,26 @@ files:
90
104
  - spec/spec_helper.rb
91
105
  homepage: https://github.com/ricn/mtgen
92
106
  licenses: []
107
+ metadata: {}
93
108
  post_install_message:
94
109
  rdoc_options: []
95
110
  require_paths:
96
111
  - lib
97
112
  required_ruby_version: !ruby/object:Gem::Requirement
98
- none: false
99
113
  requirements:
100
- - - ! '>='
114
+ - - '>='
101
115
  - !ruby/object:Gem::Version
102
116
  version: '0'
103
117
  required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
118
  requirements:
106
- - - ! '>='
119
+ - - '>='
107
120
  - !ruby/object:Gem::Version
108
121
  version: '0'
109
122
  requirements: []
110
123
  rubyforge_project: mtgen
111
- rubygems_version: 1.8.10
124
+ rubygems_version: 2.0.0
112
125
  signing_key:
113
- specification_version: 3
126
+ specification_version: 4
114
127
  summary: Creates a minitest spec or test directory and some starter code on a blank
115
128
  project. Perfect for Ruby library development.
116
129
  test_files: