kalendae_assets 0.0.1 → 0.1.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.
data/README.md CHANGED
@@ -1,24 +1,35 @@
1
1
  # KalendaeAssets
2
2
 
3
- TODO: Write a gem description
4
3
 
5
4
  ## Installation
6
5
 
7
- Add this line to your application's Gemfile:
6
+ **Step 1**
8
7
 
9
- gem 'kalendae_assets'
8
+ Load `kalendae_assets` in your `Gemfile` as part of the `assets` group
10
9
 
11
- And then execute:
10
+ group :assets do
11
+ gem 'kalendae_assets'
12
+ end
12
13
 
13
- $ bundle
14
+ **Step 2**
14
15
 
15
- Or install it yourself as:
16
+ Run 'bundle install'
16
17
 
17
- $ gem install kalendae_assets
18
+ **Step 3**
19
+
20
+ Require `kalendae.js` in your Javascript manifest (e.g. `application.js`)
21
+
22
+ //= require kalendae
23
+
24
+ **Step 4**
25
+
26
+ Require `kalendae.css` in your CSS manifest (e.g. `application.css`)
27
+
28
+ *= require kalendae
18
29
 
19
30
  ## Usage
20
31
 
21
- TODO: Write usage instructions here
32
+ See [Kalendae's Documentation](https://github.com/ChiperSoft/Kalendae)
22
33
 
23
34
  ## Contributing
24
35
 
@@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
14
14
  gem.name = "kalendae_assets"
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = KalendaeAssets::VERSION
17
+ gem.add_runtime_dependency 'rails', '~> 3.1'
18
+ gem.add_development_dependency 'rails', '~> 3.1'
17
19
  end
@@ -0,0 +1,7 @@
1
+ module KalendaeAssets
2
+ class Engine < ::Rails::Engine
3
+ initializer 'kalendae_assets.load_static_assets' do |app|
4
+ app.middleware.use ::ActionDispatch::Static, "#{root}/vendor"
5
+ end
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module KalendaeAssets
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,5 +1,5 @@
1
1
  require "kalendae_assets/version"
2
+ require "kalendae_assets/engine"
2
3
 
3
4
  module KalendaeAssets
4
- # Your code goes here...
5
5
  end
Binary file