project_initializer 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/project_initializer.rb +21 -0
- metadata +45 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 788dc11470bcf005a872de74625413df4734a170
|
4
|
+
data.tar.gz: bca2f2b89fe416ea9c3ceb7e2a98cdcc3ca1a24d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: ed1d7218900e6513b84a49d3669ff6bc7847a36580dd230f56f9d3120ea430736d418adcf5186209867263ca7916ab6a04231459ba5229cc69a6b7c3ac42a0b9
|
7
|
+
data.tar.gz: 807ba685cc420bae81ca6ebb5288775151fba8b12360fb4e2b382d211bfb4cb9d88d4462b636a41f1cf6d3037ea9725f313c091914e40e72bd61e18957b80c73
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'yaml'
|
2
|
+
|
3
|
+
class ProjectInitializer
|
4
|
+
def self.call
|
5
|
+
puts 'CALLED'
|
6
|
+
# thing = YAML.load_file('files.yml')
|
7
|
+
# if ARGV.include?('init')
|
8
|
+
# thing.keys.each do |key|
|
9
|
+
# path = key.split('/')
|
10
|
+
# _path = './'
|
11
|
+
# path[0...-1].each do |folder|
|
12
|
+
# Dir.mkdir("#{_path}#{folder}")
|
13
|
+
# _path += "#{folder}/"
|
14
|
+
# end
|
15
|
+
# File.open(key, 'w') do |file_content|
|
16
|
+
# file_content.write(thing[key])
|
17
|
+
# end
|
18
|
+
# end
|
19
|
+
# end
|
20
|
+
end
|
21
|
+
end
|
metadata
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: project_initializer
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- sorefull
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-06-08 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Gem for initializing different projects, html for start. For a future
|
14
|
+
I want to add another templates.
|
15
|
+
email: olegh.cherednichenko@icloud.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- lib/project_initializer.rb
|
21
|
+
homepage: http://rubygems.org/gems/project_initializer
|
22
|
+
licenses:
|
23
|
+
- MIT
|
24
|
+
metadata: {}
|
25
|
+
post_install_message:
|
26
|
+
rdoc_options: []
|
27
|
+
require_paths:
|
28
|
+
- lib
|
29
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
requirements: []
|
40
|
+
rubyforge_project:
|
41
|
+
rubygems_version: 2.6.8
|
42
|
+
signing_key:
|
43
|
+
specification_version: 4
|
44
|
+
summary: Gem for initializing different projects
|
45
|
+
test_files: []
|