bones-rails 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d769748b8f85f8ea5867907435726a499470368a
4
- data.tar.gz: 490477f8d828119ce0c5848fad93d40a6ec02e0d
3
+ metadata.gz: d296d32b4283e0bce0431d0216d3e2595b3e3e40
4
+ data.tar.gz: 59a5a7073ae7809a97a626dc074fb270b91fab50
5
5
  SHA512:
6
- metadata.gz: 538a601109514a64c60338635dc9a5107886ce8f8e048376fbe1065e1602472f6e485bcf02b370cbd61a3fd76e3a7dca4a1ed6c51dc2d0dfb7c3af72354394e6
7
- data.tar.gz: 94a95b465b9ed7268e3b8e7d0a7232ab57d87dbcbfeb8d95ec65347061e66266a1004c623c76d99b37ea8dab136f2716f4760539e393935fcc9cafa27cb4c4b5
6
+ metadata.gz: 6f40f80a3c9d85036e8e93f7418e8b9ebbd300d187f35173dbb21823d08b47e6a013b2dff83c5427d0cd28721627a1ad55cef198a8085ee2b08895270ba4bdc8
7
+ data.tar.gz: a4bec526b1a33ac62f8ccef778caa28780f5a0f5fca2d7392cb6af563b709b6b4c4fe0724ce401c7389b623be502aa475c12639f332bfc1664f356d7fc3eea36
@@ -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/rails/version', __FILE__)
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 = Bones::VERSION
8
+ spec.version = BonesRails::VERSION
9
9
  spec.authors = ["Sean C Davis"]
10
- spec.email = ["sean@rocktree.us"]
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"
@@ -0,0 +1,8 @@
1
+ require 'bones-rails/engine'
2
+ require 'bones-rails/version'
3
+
4
+ # Make sure these gems are loaded in case they are missing
5
+ # from the Gemfile
6
+ require 'sass'
7
+ require 'sass-rails'
8
+ require 'bourbon'
@@ -0,0 +1,4 @@
1
+ module BonesRails
2
+ class Engine < Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module BonesRails
2
+ VERSION = "1.1.3"
3
+ end
@@ -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.2
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: 2014-12-15 00:00:00.000000000 Z
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
- - sean@rocktree.us
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/generators/install_generator.rb
133
- - lib/bones/rails.rb
134
- - lib/bones/rails/version.rb
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
@@ -1,7 +0,0 @@
1
- require "bones/rails/version"
2
- require "bones/generators/install_generator"
3
-
4
- module Bones
5
- class Engine < ::Rails::Engine
6
- end
7
- end
@@ -1,3 +0,0 @@
1
- module Bones
2
- VERSION = "1.1.2"
3
- end