Skip to content

Commit c914c0b

Browse files
author
Chris Constantin
committed
initial commit for AngularUI Bootstrap 0.1.0
0 parents  commit c914c0b

10 files changed

+2841
-0
lines changed

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
*.gem
2+
*.rbc
3+
.bundle
4+
.config
5+
.yardoc
6+
Gemfile.lock
7+
InstalledFiles
8+
_yardoc
9+
coverage
10+
doc/
11+
lib/bundler/man
12+
pkg
13+
rdoc
14+
spec/reports
15+
test/tmp
16+
test/version_tmp
17+
tmp

Gemfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source 'https://rubygems.org'
2+
3+
# Specify your gem's dependencies in angular-ui-bootstrap-rails.gemspec
4+
gemspec

MIT-LICENSE

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Angular-UI-Bootstrap-Rails RubyGem Copyright (c) 2013 Chris Constantin
2+
3+
Angular.JS and related components Copyright (c) 2010-2013 Google Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# angular-ui-bootstrap-rails
2+
3+
angular-ui-bootstrap-rails wraps the [Angular.js UI Bootstrap](http://angular-ui.github.com/bootstrap) library for use in Rails 3.1 and above. Assets will minify automatically during production.
4+
5+
## Usage
6+
7+
Add the following to your gemfile:
8+
9+
gem 'angular-ui-bootstrap-rails'
10+
11+
Add the following directive to your Javascript manifest file (application.js):
12+
13+
//= require angular-ui-bootstrap
14+
15+
If you would like to use the default bootstrap templates, use the following directive instead
16+
17+
//= require angular-ui-bootstrap-tpls
18+
19+
Gem based on Angularjs-rails(https://github.com/confuseddesi/angularjs-rails) by Hirav Gandhi

Rakefile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env rake
2+
require "bundler/gem_tasks"

angular-ui-bootstrap-rails.gemspec

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
require File.expand_path('../lib/angular-ui-bootstrap-rails/version', __FILE__)
2+
3+
Gem::Specification.new do |s|
4+
s.name = 'angular-ui-bootstrap-rails'
5+
s.version = AngularUI::Bootstrap::Rails::VERSION
6+
s.summary = 'Angular.js UI Bootstrap on Rails'
7+
s.description = 'Injects Angular.js UI Bootstrap directives into your asset pipeline.'
8+
s.authors = ["Chris Constantin"]
9+
s.email = '[email protected]'
10+
s.files = Dir["{lib,vendor}/**/*"] + ["MIT-LICENSE", "README.md"]
11+
s.homepage = 'https://github.com/cconstantin/angular-ui-bootstrap-rails/'
12+
end

lib/angular-ui-bootstrap-rails.rb

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
require "angular-ui-bootstrap-rails/version"
2+
3+
module AngularUI
4+
module Bootstrap
5+
module Rails
6+
class Engine < ::Rails::Engine
7+
end
8+
end
9+
end
10+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module AngularUI
2+
module Bootstrap
3+
module Rails
4+
VERSION = "0.1.0"
5+
end
6+
end
7+
end

0 commit comments

Comments
 (0)