view_assets 1.0.3 → 1.0.4

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.
@@ -59,6 +59,7 @@ module ViewAssets
59
59
  ##
60
60
  # Check out whether all assets is existed or not
61
61
  # It is better to be turned off in production
62
+ # TODO: add Rspec Examples
62
63
  def verify
63
64
  all_assets.each do |asset|
64
65
  raise AssetNotFound.new("File #{asset} DOEST EXIST") unless FileTest.exist?(asset.abs)
@@ -0,0 +1,24 @@
1
+ module ViewAssets
2
+ module Manager
3
+ require 'view_assets'
4
+ require 'view_assets/finder/core'
5
+
6
+ class Manager
7
+ def create(instruction)
8
+
9
+ end
10
+
11
+ def read(asset)
12
+
13
+ end
14
+
15
+ def update(old_asset, new_asset)
16
+
17
+ end
18
+
19
+ def remove(asset)
20
+
21
+ end
22
+ end
23
+ end
24
+ end
@@ -2,8 +2,6 @@ module ViewAssets
2
2
  class Railtie < Rails::Railtie
3
3
  initializer "view_assets' initialzer" do
4
4
  require 'view_assets/action_view'
5
- # ViewAssets::ENV = Rails.env
6
- # ViewAssets::APP_ROOT = Rails.public_path
7
5
  end
8
6
 
9
7
  rake_tasks do
@@ -1,3 +1,3 @@
1
1
  module ViewAssets
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-13 00:00:00.000000000 Z
12
+ date: 2013-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -140,6 +140,7 @@ files:
140
140
  - lib/view_assets/finder/directive.rb
141
141
  - lib/view_assets/finder/finder.rb
142
142
  - lib/view_assets/finder/js_finder.rb
143
+ - lib/view_assets/manager/manager.rb
143
144
  - lib/view_assets/packager/actions_map.rb
144
145
  - lib/view_assets/packager/core.rb
145
146
  - lib/view_assets/packager/packager.rb