rtrain 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rtrain.rb +5 -7
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 774c682c983fe2dac7e6348402fc5ace2b004206
4
- data.tar.gz: ee24573b3de64d400a4d544f61dac43822dbb7dd
3
+ metadata.gz: b428f7e815c417455e8e7df875933b84550503f4
4
+ data.tar.gz: 2b0568177ea28f6030dd786f22eac39dcf24a67e
5
5
  SHA512:
6
- metadata.gz: 86f457047efc787e919388bc7479d9a2de69c81f63b1c84ab03fb09740e29fe57b5db5cba31c000ec11eebc8964907d7401e5e7f5edb7706d327095634c5c250
7
- data.tar.gz: 7b3f3c46997eaa00aba6dc159ba0e2abb21d703427dd89337dceca67d20ad38d0b05a0c7465eeac596419b6c7ff83b63fd61306e4c8caa8ab762bdedee66d9c5
6
+ metadata.gz: 5266f9c567bb46770432ecc796319282451399bd2a90aaca3670ed3261cf703c74de7387b8d695ffa347a2ada7cb6af0b3276c5c4abacb9f517ea0938989a95b
7
+ data.tar.gz: 955f5de3ffe5d277e354682fa61584e91869a94d23a218b216ce11444636c6f1c1352992965cc326d12705cf1f2d0b1a2ebba73f67c5ae4ccc2c42f20fe30e89
@@ -1,14 +1,12 @@
1
- require 'pry'
2
-
3
1
  module RTrain
4
2
  def self.run
5
3
  home = Dir.home
6
- ##Go into versions folder, get all folders in there
7
- binding.pry
8
- new_css = open('generators/templates/rtrain_scaffold.scss').read
4
+ home = Dir.chdir(home)
5
+ new_css = File.join("**", "rtrain_scaffold.scss")
6
+ new_css = Dir.glob(new_css)[0]
7
+ new_css = open(new_css).read
9
8
  scaff = open('app/assets/stylesheets/scaffolds.scss', 'w')
10
9
  scaff.write(new_css)
11
10
  scaff.close
12
11
  end
13
- end
14
-
12
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rtrain
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Lynn