itcss_cli 0.1.6 → 0.1.7

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: fa8bb4c55b9b868071c5f56890c6abd89e6fb4a9
4
- data.tar.gz: 3a14413e7bc8be23ac3ebf3074c9b8aed4610c64
3
+ metadata.gz: 56d2364f4e94f6e13110d59bc0927faeed63d7fd
4
+ data.tar.gz: d479b09a56b8d6457807baa22baacbb4e5967431
5
5
  SHA512:
6
- metadata.gz: 47d7c88a08e44818a4b9e3a095be75b563a7f5dab7c6972e885dcd1790f5be43df9e2cc7c23f660693401e8b0b915b0345fa041d32089c875037cfa347b3d51f
7
- data.tar.gz: e39efef60c4fc928723c71de42795edeea1649a9d61a173761081b34bd0b0076c88eeddd49244cfc80e964f30ca733b6cd02e0144312d3a37b407efaf2422bac
6
+ metadata.gz: 41c8d7a72ea35da1de57183b9d101a3806e00a86b383d54eb72b4fbd7dd6eb6bd93168dbb8ee00ffa93988a9c039a3efaedf0b897bfb6cb507401f43cc6b1c2f
7
+ data.tar.gz: 9b101de887937d3c2d754993fbcb2b39c3b26eab986248cfa2a6cac91f806f6e7f5cd364a857023f58a1a4d22d08ae89f5adea93aae6b6189df11bba1b4ee30c
Binary file
@@ -1,3 +1,3 @@
1
1
  module ItcssCli
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
data/lib/itcss_cli.rb CHANGED
@@ -17,7 +17,6 @@ module ItcssCli
17
17
  ITCSS_CONFIG = YAML.load_file(ITCSS_CONFIG_FILE)
18
18
  ITCSS_CONFIG['stylesheets_directory'].nil? ? ITCSS_DIR = nil : ITCSS_DIR = ITCSS_CONFIG['stylesheets_directory']
19
19
  ITCSS_CONFIG['stylesheets_import_file'].nil? ? ITCSS_BASE_FILE = nil : ITCSS_BASE_FILE = ITCSS_CONFIG['stylesheets_import_file']
20
- File.chmod(777, ITCSS_DIR)
21
20
  else
22
21
  ITCSS_CONFIG = nil
23
22
  end
@@ -87,6 +86,8 @@ module ItcssCli
87
86
  end
88
87
 
89
88
  def new_itcss_module(type, file)
89
+ File.chmod(0644, ITCSS_DIR)
90
+
90
91
  File.open ITCSS_MODULE_TEMPLATE do |io|
91
92
  template = ERB.new io.read
92
93
  new_itcss_file(type, file, template)
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.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kande Bonfim
@@ -75,6 +75,7 @@ files:
75
75
  - itcss_cli-0.1.3.gem
76
76
  - itcss_cli-0.1.4.gem
77
77
  - itcss_cli-0.1.5.gem
78
+ - itcss_cli-0.1.6.gem
78
79
  - itcss_cli.gemspec
79
80
  - lib/itcss_cli.rb
80
81
  - lib/itcss_cli/version.rb