edifice 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock ADDED
@@ -0,0 +1,14 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ edifice (0.0.1)
5
+
6
+ GEM
7
+ remote: http://rubygems.org/
8
+ specs:
9
+
10
+ PLATFORMS
11
+ ruby
12
+
13
+ DEPENDENCIES
14
+ edifice!
data/README CHANGED
@@ -1,7 +1,7 @@
1
- Ediface
1
+ Edifice
2
2
  =======
3
3
 
4
- Ediface is a Javascript framework released as a rails plugin.
4
+ Edifice is a Javascript framework released as a rails plugin.
5
5
 
6
6
 
7
7
  framework.js + associated helpers
@@ -10,7 +10,7 @@ framework.js + associated helpers
10
10
  The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.
11
11
 
12
12
  All you need to do is add
13
- <%= ediface_meta_tags %>
13
+ <%= edifice_meta_tags %>
14
14
  to your layout, in the head.
15
15
 
16
16
  Then if you render an action, such as users/show, in the layout application, these functions[if they exist] will be fired on these js objects in the following order:
data/edifice.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |s|
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Tom Coleman", "Zoltan Olah", "Joe Dollard"]
10
10
  s.email = ["tom@thesnail.org", "zol@me.com", "jdollard@gmail.com"]
11
- s.homepage = ""
11
+ s.homepage = "http://github.com/tmeasday/edifice"
12
12
  s.summary = %q{Ediface is a Javascript framework released as a rails plugin.}
13
13
  s.description = %q{The idea here is to communicate which view is rendering to the javascript so that we can call the correct javascript files in an automagical way.}
14
14
 
@@ -1,3 +1,3 @@
1
1
  module Edifice
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
data/lib/edifice.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'edifice_helper'
2
+
1
3
  module Edifice
2
4
  def self.install_js_files
3
5
  install_dir = ::Rails.application.paths.public.javascripts.first
@@ -52,3 +54,7 @@ module Edifice
52
54
  end
53
55
  end
54
56
  end
57
+
58
+ ActionController::Base.send :include, Edifice::Controller
59
+ # ActionMailer::Base.send :include, Edifice::Controller
60
+ ActionView::Base.send :include, EdificeHelper
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edifice
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 3
10
- version: 0.0.3
9
+ - 4
10
+ version: 0.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Coleman
@@ -35,6 +35,7 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - .gitignore
37
37
  - Gemfile
38
+ - Gemfile.lock
38
39
  - MIT-LICENSE
39
40
  - README
40
41
  - Rakefile
@@ -46,7 +47,7 @@ files:
46
47
  - lib/public/javascripts/edifice/ajax_form.js
47
48
  - lib/public/javascripts/edifice/framework.js
48
49
  has_rdoc: true
49
- homepage: ""
50
+ homepage: http://github.com/tmeasday/edifice
50
51
  licenses: []
51
52
 
52
53
  post_install_message: