bootstrap_actioncell 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/{LICENSE.txt → MIT-LICENSE} +1 -3
- data/README.rdoc +3 -0
- data/Rakefile +25 -10
- data/app/assets/javascripts/bootstrap_actioncell/application.js +15 -0
- data/app/assets/stylesheets/bootstrap_actioncell/application.css +18 -0
- data/app/controllers/bootstrap_actioncell/application_controller.rb +4 -0
- data/app/helpers/bootstrap_actioncell/application_helper.rb +4 -0
- data/app/views/layouts/bootstrap_actioncell/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/bootstrap_actioncell/engine.rb +9 -0
- data/lib/bootstrap_actioncell/version.rb +1 -1
- data/lib/bootstrap_actioncell.rb +3 -5
- data/lib/tasks/bootstrap_actioncell_tasks.rake +4 -0
- metadata +49 -20
- data/.gitignore +0 -17
- data/Gemfile +0 -4
- data/README.md +0 -29
- data/app/.DS_Store +0 -0
- data/app/assets/stylesheets/.DS_Store +0 -0
- data/app/assets/stylesheets/bootstrap_actioncell.css +0 -4
- data/bootstrap_actioncell.gemspec +0 -25
- data/test/lib/bootstrap_actioncell/version_test.rb +0 -9
- data/test/test_helper.rb +0 -3
data/{LICENSE.txt → MIT-LICENSE}
RENAMED
data/README.rdoc
ADDED
data/Rakefile
CHANGED
@@ -1,12 +1,27 @@
|
|
1
1
|
#!/usr/bin/env rake
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
Rake::TestTask.new do |t|
|
7
|
-
t.libs << 'lib/bootstrap_actioncell'
|
8
|
-
t.test_files = FileList['test/lib/bootstrap_actioncell/*_test.rb']
|
9
|
-
t.verbose = true
|
2
|
+
begin
|
3
|
+
require 'bundler/setup'
|
4
|
+
rescue LoadError
|
5
|
+
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
10
6
|
end
|
11
|
-
|
12
|
-
task
|
7
|
+
begin
|
8
|
+
require 'rdoc/task'
|
9
|
+
rescue LoadError
|
10
|
+
require 'rdoc/rdoc'
|
11
|
+
require 'rake/rdoctask'
|
12
|
+
RDoc::Task = Rake::RDocTask
|
13
|
+
end
|
14
|
+
|
15
|
+
RDoc::Task.new(:rdoc) do |rdoc|
|
16
|
+
rdoc.rdoc_dir = 'rdoc'
|
17
|
+
rdoc.title = 'BootstrapActioncell'
|
18
|
+
rdoc.options << '--line-numbers'
|
19
|
+
rdoc.rdoc_files.include('README.rdoc')
|
20
|
+
rdoc.rdoc_files.include('lib/**/*.rb')
|
21
|
+
end
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Bundler::GemHelper.install_tasks
|
27
|
+
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require_tree .
|
@@ -0,0 +1,18 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
14
|
+
|
15
|
+
.table .action-cell {
|
16
|
+
text-align:center;
|
17
|
+
white-space:nowrap;
|
18
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>BootstrapActioncell</title>
|
5
|
+
<%= stylesheet_link_tag "bootstrap_actioncell/application", :media => "all" %>
|
6
|
+
<%= javascript_include_tag "bootstrap_actioncell/application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
data/config/routes.rb
ADDED
data/lib/bootstrap_actioncell.rb
CHANGED
@@ -1,7 +1,5 @@
|
|
1
|
-
require_relative "bootstrap_actioncell/
|
2
|
-
require_relative 'bootstrap_actioncell/actioncell_helper'
|
1
|
+
require_relative "bootstrap_actioncell/engine"
|
3
2
|
|
4
3
|
module BootstrapActioncell
|
5
|
-
|
6
|
-
|
7
|
-
end
|
4
|
+
|
5
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap_actioncell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,6 +11,38 @@ bindir: bin
|
|
11
11
|
cert_chain: []
|
12
12
|
date: 2013-06-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.2.11
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 3.2.11
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: sqlite3
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :development
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
14
46
|
- !ruby/object:Gem::Dependency
|
15
47
|
name: bundler
|
16
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,24 +114,23 @@ executables: []
|
|
82
114
|
extensions: []
|
83
115
|
extra_rdoc_files: []
|
84
116
|
files:
|
85
|
-
- .
|
86
|
-
-
|
87
|
-
-
|
88
|
-
-
|
89
|
-
- Rakefile
|
90
|
-
- app/.DS_Store
|
91
|
-
- app/assets/stylesheets/.DS_Store
|
92
|
-
- app/assets/stylesheets/bootstrap_actioncell.css
|
117
|
+
- app/assets/javascripts/bootstrap_actioncell/application.js
|
118
|
+
- app/assets/stylesheets/bootstrap_actioncell/application.css
|
119
|
+
- app/controllers/bootstrap_actioncell/application_controller.rb
|
120
|
+
- app/helpers/bootstrap_actioncell/application_helper.rb
|
93
121
|
- app/views/bootstrap_actioncell/_buttons.html.haml
|
94
|
-
- bootstrap_actioncell.
|
95
|
-
-
|
122
|
+
- app/views/layouts/bootstrap_actioncell/application.html.erb
|
123
|
+
- config/routes.rb
|
96
124
|
- lib/bootstrap_actioncell/actioncell_helper.rb
|
125
|
+
- lib/bootstrap_actioncell/engine.rb
|
97
126
|
- lib/bootstrap_actioncell/version.rb
|
98
|
-
-
|
99
|
-
-
|
127
|
+
- lib/bootstrap_actioncell.rb
|
128
|
+
- lib/tasks/bootstrap_actioncell_tasks.rake
|
129
|
+
- MIT-LICENSE
|
130
|
+
- Rakefile
|
131
|
+
- README.rdoc
|
100
132
|
homepage: ''
|
101
|
-
licenses:
|
102
|
-
- MIT
|
133
|
+
licenses: []
|
103
134
|
post_install_message:
|
104
135
|
rdoc_options: []
|
105
136
|
require_paths:
|
@@ -112,7 +143,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
112
143
|
version: '0'
|
113
144
|
segments:
|
114
145
|
- 0
|
115
|
-
hash:
|
146
|
+
hash: -401097107365957796
|
116
147
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
148
|
none: false
|
118
149
|
requirements:
|
@@ -121,13 +152,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
121
152
|
version: '0'
|
122
153
|
segments:
|
123
154
|
- 0
|
124
|
-
hash:
|
155
|
+
hash: -401097107365957796
|
125
156
|
requirements: []
|
126
157
|
rubyforge_project:
|
127
158
|
rubygems_version: 1.8.25
|
128
159
|
signing_key:
|
129
160
|
specification_version: 3
|
130
161
|
summary: Adds helper for bootstrap-style actioncells in tables
|
131
|
-
test_files:
|
132
|
-
- test/lib/bootstrap_actioncell/version_test.rb
|
133
|
-
- test/test_helper.rb
|
162
|
+
test_files: []
|
data/.gitignore
DELETED
data/Gemfile
DELETED
data/README.md
DELETED
@@ -1,29 +0,0 @@
|
|
1
|
-
# BootstrapActioncell
|
2
|
-
|
3
|
-
TODO: Write a gem description
|
4
|
-
|
5
|
-
## Installation
|
6
|
-
|
7
|
-
Add this line to your application's Gemfile:
|
8
|
-
|
9
|
-
gem 'bootstrap_actioncell'
|
10
|
-
|
11
|
-
And then execute:
|
12
|
-
|
13
|
-
$ bundle
|
14
|
-
|
15
|
-
Or install it yourself as:
|
16
|
-
|
17
|
-
$ gem install bootstrap_actioncell
|
18
|
-
|
19
|
-
## Usage
|
20
|
-
|
21
|
-
TODO: Write usage instructions here
|
22
|
-
|
23
|
-
## Contributing
|
24
|
-
|
25
|
-
1. Fork it
|
26
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
27
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
28
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
29
|
-
5. Create new Pull Request
|
data/app/.DS_Store
DELETED
Binary file
|
Binary file
|
@@ -1,25 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path('../lib', __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require 'bootstrap_actioncell/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = "bootstrap_actioncell"
|
8
|
-
spec.version = BootstrapActioncell::VERSION
|
9
|
-
spec.authors = ["MacKinley Smith"]
|
10
|
-
spec.email = ["smit1625@msu.edu"]
|
11
|
-
spec.description = %q{Adds helper for bootstrap-style actioncells in tables}
|
12
|
-
spec.summary = %q{Adds helper for bootstrap-style actioncells in tables}
|
13
|
-
spec.homepage = ""
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = `git ls-files`.split($/)
|
17
|
-
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
-
spec.require_paths = ["lib"]
|
20
|
-
|
21
|
-
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
-
spec.add_development_dependency "rake"
|
23
|
-
spec.add_development_dependency "minitest"
|
24
|
-
spec.add_dependency "haml-rails"
|
25
|
-
end
|
data/test/test_helper.rb
DELETED