shipd_style 0.2.1 → 0.2.2

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: 1b1b787376bbb5afd7ca911c186127d1165e8aec
4
- data.tar.gz: 904bf99fbac241c8c1330ec4831c57eeb70255ff
3
+ metadata.gz: 245b9e6e3c11bd847fd81df65b5a08d8fb9805dd
4
+ data.tar.gz: 68d7e22d6f450447b7b11ad9dac7b029639f5d48
5
5
  SHA512:
6
- metadata.gz: 0e36f286b19f8a8440cdbe5032fae18c35c9dffa522dc6ba76d57a28b5b0fe114e64556c2d5ef069f55db1c2209123f7984ce0086c7d654ea3cd1893bec7019c
7
- data.tar.gz: 3801f1f4142644d720837c39e01e3228f79bd03ca201ff6750deb64b4eb7aa7e5bfe2098bd928ce117a27cd52d2f8847d3feba79c8c059498a4a8399ae356547
6
+ metadata.gz: 275f2c4062961755f0975f25a35b1ad0a713cccbec022f6e7430edeba98678aa5b359b7939d0ef0188190af8200c1481151a6becf46a00e35d013d3a74ce0007
7
+ data.tar.gz: 7e756a5a92a4f70bc1e936b34d54a68593396594bee7d62c23cdf7067f41412737645242e76229b2266810e0cdf490ec186a94a9cdc76c54bc7d946c3d62a20b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shipd_style (0.2.1)
4
+ shipd_style (0.2.2)
5
5
  compass
6
6
 
7
7
  GEM
@@ -3,15 +3,11 @@ module ShipdStyle
3
3
  def perform
4
4
  make_directory
5
5
  # still using tick marks because of the * at the end of the path
6
- `cp -r #{source_directory} #{destination_directory}`
6
+ `cp -r #{source_directory} #{path}`
7
7
  end
8
8
 
9
9
  def make_directory
10
- FileUtils.mkdir_p(destination_directory) unless File.exist?(destination_directory)
11
- end
12
-
13
- def destination_directory
14
- "#{path}/#{directory_name}"
10
+ FileUtils.mkdir_p(path) unless File.exist?(path)
15
11
  end
16
12
 
17
13
  def source_directory
@@ -5,7 +5,7 @@ module ShipdStyle
5
5
  end
6
6
 
7
7
  def remove_namespace
8
- destination_directory = copier.destination_directory
8
+ destination_directory = "#{path}/sass"
9
9
  FileUtils.mv(destination_directory + "/shipd-mobile.scss", destination_directory + "/mobile.scss")
10
10
  FileUtils.mv(destination_directory + "/shipd-tablet.scss", destination_directory + "/tablet.scss")
11
11
  FileUtils.mv(destination_directory + "/shipd-desktop.scss", destination_directory + "/desktop.scss")
@@ -19,7 +19,7 @@ module ShipdStyle
19
19
  end
20
20
 
21
21
  def copier
22
- @copier ||= ShipdStyle::CopyDirectory.new(path, "sass")
22
+ @copier ||= ShipdStyle::CopyDirectory.new(path + "/sass", "sass")
23
23
  end
24
24
  end
25
25
  end
@@ -1,3 +1,3 @@
1
1
  module ShipdStyle
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipd_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kane Baccigalupi