bookends 0.4.6 → 0.5.0

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: dd0fffbcc78a29de4fa977e958b7ad6b4a10b65f
4
- data.tar.gz: c6ca66c49272c70de0c36b979d4cc437e58506b3
3
+ metadata.gz: 6259769d6d962fca0601045c17df280bf3371398
4
+ data.tar.gz: 94648347d277a9728f3615d208345ad0a4c33141
5
5
  SHA512:
6
- metadata.gz: fdcce86aaebfb14ee3c2682f610cafee5b41efa7bf6dcf431f33f49f4f87783aa3d67be96a13af92f7c6b85435a9727661c6456393d6b36312014356be1d28f4
7
- data.tar.gz: 98067ab1f6e05d7360b8ee79290c9b053887a37508a5372c26943f262d70499adaaf166c7311165b0fc5b4bb39c46625c152d43dc0852ca5cbe561afffa38daa
6
+ metadata.gz: 49fb3afd72ddc5b92c2acaab838de3211879fe26e277f60c468a455e1783f5ec6e18a88a9a8daa2d056b341e5fb5924f8a064bd8090e566127f03770d9489a91
7
+ data.tar.gz: 3c0768dbd72d28b1bd5dde98bd1cb3c34a1ef217841ac4d0d71dfe44cb9f6f759145208026b01da3ddfc85245495f1a060529cfc60bd3366accf056ddabd1595
data/.gitignore CHANGED
@@ -9,3 +9,5 @@
9
9
  /tmp/
10
10
  .rbenv-gemsets
11
11
  .ruby-gemset
12
+ /spec/dummy/tmp/
13
+ /spec/dummy/log/
data/README.md CHANGED
@@ -6,7 +6,7 @@ Shared footer (and eventually header) for Heroku properties.
6
6
  Add this line to your application's Gemfile:
7
7
 
8
8
  ```ruby
9
- gem 'bookends', # path info coming soon
9
+ gem 'bookends'
10
10
  ```
11
11
 
12
12
  And then execute:
@@ -17,13 +17,41 @@ And then execute:
17
17
 
18
18
  * `rails g bookends:install`
19
19
  * add `@import 'bookends/footer';` to your application.css.scss
20
- * add `<%= render partial: "bookends/footer" %>` to your layout where you want the footer.
20
+ * add `<%= render 'bookends/footer' %>` to your layout where you want the footer.
21
21
 
22
22
  ## Development
23
23
 
24
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake rspec` to run the tests.
24
+ ### Spin up
25
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
26
+ `rake rspec` to run the tests.
25
27
 
26
- To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
28
+ ### Install and release
29
+ To install this gem onto your local machine, run `bundle exec rake install`. To
30
+ release a new version, update the version number in `version.rb`, and then run
31
+ `bundle exec rake release`, which will create a git tag for the version, push
32
+ git commits and tags, and push the `.gem` file to
33
+ [rubygems.org](https://rubygems.org).
34
+
35
+ See all rake tasks with `rake -T`
36
+
37
+ ### Working on the gem
38
+ ```
39
+ $ cd spec/dummy
40
+ $ rails s
41
+ $ open http://localhost:3000
42
+ ```
43
+ From there you can edit the files in
44
+ `lib/generators/bookends/install/templates`. Note that images will have to be
45
+ copied over to the dummy app in `/spec`. Also note
46
+ `spec/dummy/config/application.rb` adds directories from lib into the dummy
47
+ app's load path. Add more directories as needed.
48
+
49
+ ### Testing it in an app locally
50
+ 1. `gem 'bookends', path: 'path/to/local/copy` in the other application's Gemfile
51
+ 2. `bundle install` from the other application
52
+ 3. `rails g bookends:install` from the other application
53
+ 4. boot up the other application
54
+ 5. If you make changes to bookends, make sure to run the installer from step 3.
27
55
 
28
56
  ## Contributing
29
57
 
@@ -19,7 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
 
21
21
  spec.add_development_dependency "rails", ">= 3.2.22"
22
+ spec.add_development_dependency "sass-rails"
22
23
  spec.add_development_dependency "bundler", "~> 1.10"
23
24
  spec.add_development_dependency "rake", "~> 10.0"
24
25
  spec.add_development_dependency "rspec"
26
+ spec.add_development_dependency "sqlite3"
25
27
  end
@@ -1,3 +1,3 @@
1
1
  module Bookends
2
- VERSION = "0.4.6"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bookends
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marketing Web Ops at heroku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-28 00:00:00.000000000 Z
11
+ date: 2015-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 3.2.22
27
+ - !ruby/object:Gem::Dependency
28
+ name: sass-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -66,6 +80,20 @@ dependencies:
66
80
  - - ">="
67
81
  - !ruby/object:Gem::Version
68
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: sqlite3
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
69
97
  description: an engine to abstract common html/css elements across Heroku properties
70
98
  email:
71
99
  - max.beizer@gmail.com