d4-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/d4-rails.gemspec ADDED
@@ -0,0 +1,20 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'd4-rails/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "d4-rails"
7
+ spec.version = D4Rails::VERSION::STRING
8
+ spec.authors = ["Ankit Gupta", "Gourav Tiwari"]
9
+ spec.email = ["ankit8898@gmail.com", "gouravtiwari21@gmail.com"]
10
+ spec.homepage = "https://github.com/gouravtiwari/d4-rail"
11
+ spec.summary = "Wrapper for awesome d4"
12
+ spec.description = "D4-Rails allows easy integration of d4 DSL with Rails App"
13
+ spec.license = "MIT"
14
+ spec.files = `git ls-files`.split($/)
15
+ spec.require_paths = ["lib"]
16
+
17
+ spec.add_dependency "rails", "> 3.2", "< 5"
18
+ spec.add_development_dependency "bundler", "~> 1.3"
19
+ spec.add_development_dependency "rake"
20
+ end
data/lib/d4-rails.rb ADDED
@@ -0,0 +1,12 @@
1
+ require "d4-rails/version"
2
+
3
+ module D4Rails
4
+ module Rails
5
+ class Engine < ::Rails::Engine
6
+
7
+ initializer "precompile", :group => :all do |app|
8
+ app.config.assets.precompile << Proc.new{|path| path == "d4.js" }
9
+ end
10
+ end
11
+ end
12
+ end
@@ -0,0 +1,11 @@
1
+ module D4Rails
2
+ # Returns the version of the currently loaded Contineo as a Gem::Version
3
+ def self.version
4
+ Gem::Version.new "0.0.1"
5
+ end
6
+
7
+ module VERSION #:nodoc:
8
+ MAJOR, MINOR, TINY = D4Rails.version.segments
9
+ STRING = D4Rails.version.to_s
10
+ end
11
+ end
metadata ADDED
@@ -0,0 +1,102 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: d4-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ankit Gupta
8
+ - Gourav Tiwari
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2014-02-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - '>'
19
+ - !ruby/object:Gem::Version
20
+ version: '3.2'
21
+ - - <
22
+ - !ruby/object:Gem::Version
23
+ version: '5'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - '>'
29
+ - !ruby/object:Gem::Version
30
+ version: '3.2'
31
+ - - <
32
+ - !ruby/object:Gem::Version
33
+ version: '5'
34
+ - !ruby/object:Gem::Dependency
35
+ name: bundler
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '1.3'
41
+ type: :development
42
+ prerelease: false
43
+ version_requirements: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '1.3'
48
+ - !ruby/object:Gem::Dependency
49
+ name: rake
50
+ requirement: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ description: D4-Rails allows easy integration of d4 DSL with Rails App
63
+ email:
64
+ - ankit8898@gmail.com
65
+ - gouravtiwari21@gmail.com
66
+ executables: []
67
+ extensions: []
68
+ extra_rdoc_files: []
69
+ files:
70
+ - .gitignore
71
+ - Gemfile
72
+ - README.md
73
+ - Rakefile
74
+ - app/assets/javascripts/d4.js
75
+ - d4-rails.gemspec
76
+ - lib/d4-rails.rb
77
+ - lib/d4-rails/version.rb
78
+ homepage: https://github.com/gouravtiwari/d4-rail
79
+ licenses:
80
+ - MIT
81
+ metadata: {}
82
+ post_install_message:
83
+ rdoc_options: []
84
+ require_paths:
85
+ - lib
86
+ required_ruby_version: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '>='
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ required_rubygems_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ requirements: []
97
+ rubyforge_project:
98
+ rubygems_version: 2.0.6
99
+ signing_key:
100
+ specification_version: 4
101
+ summary: Wrapper for awesome d4
102
+ test_files: []