mosaic-rails 0.0.1.alpha → 0.0.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.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # Mosaic::Rails
1
+ # mosiac-rails
2
2
 
3
- TODO: Write a gem description
3
+ Adds [jQuery Mosaic](http://buildinternet.com/project/mosaic/) by Sam Dunn to the Rails 3.1+ asset pipeline.
4
+
5
+ Will soon provide helpers to keep things dry when generating mosaics.
4
6
 
5
7
  ## Installation
6
8
 
@@ -19,6 +21,7 @@ Or install it yourself as:
19
21
  ## Usage
20
22
 
21
23
  TODO: Write usage instructions here
24
+ TODO: This section will come when the helpers are added
22
25
 
23
26
  ## Contributing
24
27
 
@@ -1,6 +1,9 @@
1
1
  module Mosaic
2
2
  module Rails
3
3
  class Engine < ::Rails::Engine
4
+ initializer "configure assets of mosaic-rails", :group => :all do |app|
5
+ app.config.assets.precompile += %w( mosaic-rails/*.js mosaic-rails/*.css )
6
+ end
4
7
  end
5
8
  end
6
9
  end
@@ -1,6 +1,6 @@
1
1
  module Mosaic
2
2
  module Rails
3
- VERSION = "0.0.1.alpha"
3
+ VERSION = "0.0.2"
4
4
  MOSAIC_VERSION = "1.0.1"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mosaic-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.alpha
5
- prerelease: 6
4
+ version: 0.0.2
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Mark McConachie
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-31 00:00:00.000000000 Z
12
+ date: 2012-04-03 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! '"Sliding boxes & captions for rails with Mosaic"'
15
15
  email:
@@ -24,19 +24,19 @@ files:
24
24
  - MIT-LICENSE.txt
25
25
  - README.md
26
26
  - Rakefile
27
- - app/assets/images/mosaic-rails/bg-black.png
28
- - app/assets/images/mosaic-rails/bg-grid.png
29
- - app/assets/images/mosaic-rails/hover-magnify.png
30
- - app/assets/images/mosaic-rails/progress.gif
31
- - app/assets/javascript/mosaic-rails/index.js
32
- - app/assets/javascript/mosaic-rails/mosaic.js
33
- - app/assets/stylesheets/mosaic-rails/circle.css.scss
34
- - app/assets/stylesheets/mosaic-rails/index.css
35
- - app/assets/stylesheets/mosaic-rails/mosaic-rails.css.scss
36
27
  - lib/mosaic-rails.rb
37
28
  - lib/mosaic-rails/engine.rb
38
29
  - lib/mosaic-rails/version.rb
39
30
  - mosaic-rails.gemspec
31
+ - vendor/assets/images/mosaic-rails/bg-black.png
32
+ - vendor/assets/images/mosaic-rails/bg-grid.png
33
+ - vendor/assets/images/mosaic-rails/hover-magnify.png
34
+ - vendor/assets/images/mosaic-rails/progress.gif
35
+ - vendor/assets/javascript/mosaic-rails/index.js
36
+ - vendor/assets/javascript/mosaic-rails/mosaic.js
37
+ - vendor/assets/stylesheets/mosaic-rails/circle.css.scss
38
+ - vendor/assets/stylesheets/mosaic-rails/index.css
39
+ - vendor/assets/stylesheets/mosaic-rails/mosaic-rails.css.scss
40
40
  homepage: ''
41
41
  licenses: []
42
42
  post_install_message:
@@ -52,9 +52,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
52
  required_rubygems_version: !ruby/object:Gem::Requirement
53
53
  none: false
54
54
  requirements:
55
- - - ! '>'
55
+ - - ! '>='
56
56
  - !ruby/object:Gem::Version
57
- version: 1.3.1
57
+ version: '0'
58
58
  requirements: []
59
59
  rubyforge_project:
60
60
  rubygems_version: 1.8.11