rigit 0.1.8 → 0.1.9

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
  SHA256:
3
- metadata.gz: ae750bc5a6bcd7579e93397d0f493ba6c97f6fe7113f3300e4140889bdcf50ea
4
- data.tar.gz: 38d60e9d8e133bc5eaeaa88c1f3d66df767f1ce810cb1e840dd209a148846d13
3
+ metadata.gz: 0d4376ecf78831ccb63f15b993a69b585ea34dacd9de6f0340f3094f3a09aefc
4
+ data.tar.gz: ed06a35410a3b6045ad336f0e0ec80470bec5e735c4aa8f0d6d39bdb47f6d905
5
5
  SHA512:
6
- metadata.gz: 989498761d02c5066f1b897110bf30956991fbe5c3405add7af598bf325e12c885de0b63f80094c53c3ad689c588449bc03f8024c0e6cc1ca5e9ff7adfcf8786
7
- data.tar.gz: 6c86d9888bbe5c16da0c167bfc46b228dd1f28bb070a16b2e688f1cd56c56ee62b19d05b728279e1b43389782a78192850fe2f48bde9ca09168ca324706df5aa
6
+ metadata.gz: 70b34461b1528b28e3051c820562ec5ca25ee928b5d2d9ece8c285965a93a37567072fb3f724c53f93001143e10bfb059db86c9acaaa9bf5c8b45a4a30f8fd03
7
+ data.tar.gz: 9bc8dbb1bb780f7cffc40509c23de8bbec5030bbb4c7fdeda1437ea010f0248261e185ccdc5aec92980ccf3ec283feaa24bcfbc6a4e20ed5a57a2f5d51f3a24f
data/README.md CHANGED
@@ -4,7 +4,6 @@ Rigit
4
4
  [![Gem Version](https://badge.fury.io/rb/rigit.svg)](https://badge.fury.io/rb/rigit)
5
5
  [![Build Status](https://travis-ci.com/DannyBen/rigit.svg?branch=master)](https://travis-ci.com/DannyBen/rigit)
6
6
  [![Maintainability](https://api.codeclimate.com/v1/badges/d13abbe6f7601be78cf5/maintainability)](https://codeclimate.com/github/DannyBen/rigit/maintainability)
7
- [![Test Coverage](https://api.codeclimate.com/v1/badges/d13abbe6f7601be78cf5/test_coverage)](https://codeclimate.com/github/DannyBen/rigit/test_coverage)
8
7
 
9
8
  ---
10
9
 
@@ -156,7 +155,7 @@ The steps in creating a rig are:
156
155
  1. Start in a new, empty folder.
157
156
  2. Create a folder named `base`. Put all the files and folders of your
158
157
  project inside.
159
- 3. Rename files and folders, and files as needed to include dynamic tokens.
158
+ 3. Rename files and folders as needed to include dynamic tokens.
160
159
  4. If you want to add some of the files only in specific cases (for example
161
160
  only include a license file if the user wants to), you move the files to
162
161
  a folder with s special `parameter=value` folder.
@@ -139,7 +139,7 @@ module Rigit::Commands
139
139
 
140
140
  dirstring = target_dir == '.' ? 'Current directory' : "Directory '#{target_dir}'"
141
141
  options = { "Abort" => :abort, "Continue here" => :continue, "Continue in a sub directory" => :create }
142
- response = tty_prompt.select "#{dirstring} is not empty.", options, marker: '>'
142
+ response = tty_prompt.select "#{dirstring} is not empty.", options, symbols: { marker: '>' }
143
143
 
144
144
  case response
145
145
  when :abort
@@ -33,7 +33,7 @@ module Rigit::Commands
33
33
  def dirs
34
34
  files = Dir["#{basedir}/*"]
35
35
  files.select! { |f| File.directory? f }
36
- files.map { |f| File.basename f }
36
+ files.map { |f| File.basename f }.sort
37
37
  end
38
38
 
39
39
  def basedir
@@ -36,7 +36,7 @@ module Rigit
36
36
  when 'text'
37
37
  prompt.ask text, default: default
38
38
  when 'select'
39
- prompt.select text, param.list, marker: '>'
39
+ prompt.select text, param.list, symbols: { marker: '>' }
40
40
  when 'ruby'
41
41
  instance_eval param.code
42
42
  else
@@ -1,3 +1,3 @@
1
1
  module Rigit
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rigit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danny Ben Shitrit
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-03 00:00:00.000000000 Z
11
+ date: 2019-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: super_docopt
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0.15'
47
+ version: '0.19'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0.15'
54
+ version: '0.19'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: colsole
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -66,132 +66,6 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.5'
69
- - !ruby/object:Gem::Dependency
70
- name: byebug
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '9.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '9.0'
83
- - !ruby/object:Gem::Dependency
84
- name: rdoc
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '5.1'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '5.1'
97
- - !ruby/object:Gem::Dependency
98
- name: rspec
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '3.6'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '3.6'
111
- - !ruby/object:Gem::Dependency
112
- name: rspec_fixtures
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '0.3'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '0.3'
125
- - !ruby/object:Gem::Dependency
126
- name: runfile
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '0.10'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '0.10'
139
- - !ruby/object:Gem::Dependency
140
- name: runfile-tasks
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '0.4'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '0.4'
153
- - !ruby/object:Gem::Dependency
154
- name: simplecov
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '0.15'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '0.15'
167
- - !ruby/object:Gem::Dependency
168
- name: yard
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '0.9'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '0.9'
181
- - !ruby/object:Gem::Dependency
182
- name: github_changelog_generator
183
- requirement: !ruby/object:Gem::Requirement
184
- requirements:
185
- - - "~>"
186
- - !ruby/object:Gem::Version
187
- version: '1.14'
188
- type: :development
189
- prerelease: false
190
- version_requirements: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - "~>"
193
- - !ruby/object:Gem::Version
194
- version: '1.14'
195
69
  description: Build project templates with ease
196
70
  email: db@dannyben.com
197
71
  executables:
@@ -238,8 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
238
112
  - !ruby/object:Gem::Version
239
113
  version: '0'
240
114
  requirements: []
241
- rubyforge_project:
242
- rubygems_version: 2.7.6
115
+ rubygems_version: 3.0.3
243
116
  signing_key:
244
117
  specification_version: 4
245
118
  summary: Zero-coding project scaffolding