bones-rails 1.1.2 → 1.1.3
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 +4 -4
- data/bones-rails.gemspec +6 -7
- data/lib/bones-rails.rb +8 -0
- data/lib/bones-rails/engine.rb +4 -0
- data/lib/bones-rails/version.rb +3 -0
- data/lib/{bones/generators → generators/bones}/install_generator.rb +5 -5
- metadata +8 -7
- data/lib/bones/rails.rb +0 -7
- data/lib/bones/rails/version.rb +0 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d296d32b4283e0bce0431d0216d3e2595b3e3e40
|
4
|
+
data.tar.gz: 59a5a7073ae7809a97a626dc074fb270b91fab50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f40f80a3c9d85036e8e93f7418e8b9ebbd300d187f35173dbb21823d08b47e6a013b2dff83c5427d0cd28721627a1ad55cef198a8085ee2b08895270ba4bdc8
|
7
|
+
data.tar.gz: a4bec526b1a33ac62f8ccef778caa28780f5a0f5fca2d7392cb6af563b709b6b4c4fe0724ce401c7389b623be502aa475c12639f332bfc1664f356d7fc3eea36
|
data/bones-rails.gemspec
CHANGED
@@ -1,23 +1,22 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
#lib = File.expand_path('../lib', __FILE__)
|
3
3
|
#$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require File.expand_path('../lib/bones
|
4
|
+
require File.expand_path('../lib/bones-rails/version', __FILE__)
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "bones-rails"
|
8
|
-
spec.version =
|
8
|
+
spec.version = BonesRails::VERSION
|
9
9
|
spec.authors = ["Sean C Davis"]
|
10
|
-
spec.email = ["
|
11
|
-
spec.description = ""
|
10
|
+
spec.email = ["scdavis41@gmail.com"]
|
11
|
+
spec.description = "Add Bones CSS framework to your rails app"
|
12
12
|
spec.summary = ""
|
13
13
|
spec.homepage = ""
|
14
14
|
spec.license = "MIT"
|
15
|
-
|
15
|
+
|
16
16
|
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
17
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
18
|
spec.require_paths = ["lib"]
|
20
|
-
|
19
|
+
|
21
20
|
spec.add_dependency "sass"
|
22
21
|
spec.add_dependency "sass-rails"
|
23
22
|
spec.add_dependency "bourbon"
|
data/lib/bones-rails.rb
ADDED
@@ -4,12 +4,12 @@ require 'rails/generators'
|
|
4
4
|
module Bones
|
5
5
|
module Generators
|
6
6
|
class InstallGenerator < Rails::Generators::Base
|
7
|
-
|
7
|
+
|
8
8
|
desc "Moves assets out of the gem directory and into the visible asset pipeline"
|
9
9
|
def add_assets
|
10
10
|
styles_dir = "#{Rails.root}/app/assets/stylesheets"
|
11
11
|
bones_dir = "#{File.dirname(__FILE__)}/../../../app/assets/stylesheets/bones"
|
12
|
-
|
12
|
+
|
13
13
|
# make sure application is scss file
|
14
14
|
if !File.exist?("#{styles_dir}/application.scss")
|
15
15
|
if File.exist?("#{styles_dir}/application.css")
|
@@ -20,7 +20,7 @@ module Bones
|
|
20
20
|
`touch #{styles_dir}/application.scss`
|
21
21
|
end
|
22
22
|
end
|
23
|
-
|
23
|
+
|
24
24
|
# add "@import 'bones/bones'; to application.scss"
|
25
25
|
prepend_to_file "app/assets/stylesheets/application.scss", "@import 'bones/bones';\n"
|
26
26
|
# make directory for bones files
|
@@ -32,11 +32,11 @@ module Bones
|
|
32
32
|
# copy main config file
|
33
33
|
`cp #{bones_dir}/config.scss #{styles_dir}/bones/bones.scss`
|
34
34
|
puts "--> copied main Bones configuration file into app/assets/stylesheets/bones"
|
35
|
-
|
35
|
+
|
36
36
|
# success!
|
37
37
|
puts "\n--> Bones is ready.\n\nHooray! Edit files in app/assets/stylesheets/bones/bones-config to your liking and watch your app change on the fly!"
|
38
38
|
end
|
39
|
-
|
39
|
+
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bones-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sean C Davis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -80,9 +80,9 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
-
description:
|
83
|
+
description: Add Bones CSS framework to your rails app
|
84
84
|
email:
|
85
|
-
-
|
85
|
+
- scdavis41@gmail.com
|
86
86
|
executables: []
|
87
87
|
extensions: []
|
88
88
|
extra_rdoc_files: []
|
@@ -129,9 +129,10 @@ files:
|
|
129
129
|
- app/assets/stylesheets/bones/styles/plugins/_syntax_highlighting.scss
|
130
130
|
- app/assets/stylesheets/bones/vendor/_normalize.scss
|
131
131
|
- bones-rails.gemspec
|
132
|
-
- lib/bones
|
133
|
-
- lib/bones/
|
134
|
-
- lib/bones
|
132
|
+
- lib/bones-rails.rb
|
133
|
+
- lib/bones-rails/engine.rb
|
134
|
+
- lib/bones-rails/version.rb
|
135
|
+
- lib/generators/bones/install_generator.rb
|
135
136
|
homepage: ''
|
136
137
|
licenses:
|
137
138
|
- MIT
|
data/lib/bones/rails.rb
DELETED
data/lib/bones/rails/version.rb
DELETED