itcss_cli 0.1.7 → 0.1.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56d2364f4e94f6e13110d59bc0927faeed63d7fd
4
- data.tar.gz: d479b09a56b8d6457807baa22baacbb4e5967431
3
+ metadata.gz: 82a29b1f44fa3e5ae792a462d6d65560cb6dcd5a
4
+ data.tar.gz: 217e544e7a25db81b999c8bdb3bf8211848e319a
5
5
  SHA512:
6
- metadata.gz: 41c8d7a72ea35da1de57183b9d101a3806e00a86b383d54eb72b4fbd7dd6eb6bd93168dbb8ee00ffa93988a9c039a3efaedf0b897bfb6cb507401f43cc6b1c2f
7
- data.tar.gz: 9b101de887937d3c2d754993fbcb2b39c3b26eab986248cfa2a6cac91f806f6e7f5cd364a857023f58a1a4d22d08ae89f5adea93aae6b6189df11bba1b4ee30c
6
+ metadata.gz: fcca14ce7482218e6cf44bb2bc3b98b0e04fcb90b766e5e97a4a19b634a6f2bda5f518bf3145f91b8c18565d40525033cf0c39d959031f5afccfd41dafafeed4
7
+ data.tar.gz: d8ed98df8d4c150391c93410a812b0e8b02a0b7b1c05852c0da8c7f67a277d4a4cd26e290286996fb1b3be658ec4a9ae307d4ac0a58360347a21f3bc311dc270
Binary file
@@ -1,3 +1,3 @@
1
1
  module ItcssCli
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
data/lib/itcss_cli.rb CHANGED
@@ -86,8 +86,6 @@ module ItcssCli
86
86
  end
87
87
 
88
88
  def new_itcss_module(type, file)
89
- File.chmod(0644, ITCSS_DIR)
90
-
91
89
  File.open ITCSS_MODULE_TEMPLATE do |io|
92
90
  template = ERB.new io.read
93
91
  new_itcss_file(type, file, template)
@@ -97,6 +95,7 @@ module ItcssCli
97
95
  def new_itcss_file(type, file, template)
98
96
  FileUtils.mkdir_p ITCSS_DIR
99
97
  FileUtils.mkdir_p "#{ITCSS_DIR}/#{type}"
98
+ FileUtils.chmod()
100
99
 
101
100
  file_path = "#{ITCSS_DIR}/#{type}/_#{type}.#{file}.sass"
102
101
  unless File.exist?(file_path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itcss_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kande Bonfim
@@ -76,6 +76,7 @@ files:
76
76
  - itcss_cli-0.1.4.gem
77
77
  - itcss_cli-0.1.5.gem
78
78
  - itcss_cli-0.1.6.gem
79
+ - itcss_cli-0.1.7.gem
79
80
  - itcss_cli.gemspec
80
81
  - lib/itcss_cli.rb
81
82
  - lib/itcss_cli/version.rb