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.
@@ -1,6 +1,4 @@
1
- Copyright (c) 2013 MacKinley Smith
2
-
3
- MIT License
1
+ Copyright 2013 YOURNAME
4
2
 
5
3
  Permission is hereby granted, free of charge, to any person obtaining
6
4
  a copy of this software and associated documentation files (the
data/README.rdoc ADDED
@@ -0,0 +1,3 @@
1
+ = BootstrapActioncell
2
+
3
+ This project rocks and uses MIT-LICENSE.
data/Rakefile CHANGED
@@ -1,12 +1,27 @@
1
1
  #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
3
-
4
- require 'rake/testtask'
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 :default => :test
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,4 @@
1
+ module BootstrapActioncell
2
+ class ApplicationController < ActionController::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module BootstrapActioncell
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -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
@@ -0,0 +1,2 @@
1
+ BootstrapActioncell::Engine.routes.draw do
2
+ end
@@ -0,0 +1,9 @@
1
+ require 'rails'
2
+ require 'bundler'
3
+ Bundler.require :default, :test
4
+
5
+ module BootstrapActioncell
6
+ class Engine < ::Rails::Engine
7
+ isolate_namespace BootstrapActioncell
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module BootstrapActioncell
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -1,7 +1,5 @@
1
- require_relative "bootstrap_actioncell/version"
2
- require_relative 'bootstrap_actioncell/actioncell_helper'
1
+ require_relative "bootstrap_actioncell/engine"
3
2
 
4
3
  module BootstrapActioncell
5
- # Your code goes here...
6
- ActionView::Base.send :include, ActioncellHelper
7
- end
4
+
5
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :bootstrap_actioncell do
3
+ # # Task goes here
4
+ # 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
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
- - .gitignore
86
- - Gemfile
87
- - LICENSE.txt
88
- - README.md
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.gemspec
95
- - lib/bootstrap_actioncell.rb
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
- - test/lib/bootstrap_actioncell/version_test.rb
99
- - test/test_helper.rb
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: 3671632830754158439
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: 3671632830754158439
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
@@ -1,17 +0,0 @@
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
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in bootstrap_actioncell.gemspec
4
- gemspec
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,4 +0,0 @@
1
- .table .action-cell {
2
- text-align:center;
3
- white-space:nowrap;
4
- }
@@ -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
@@ -1,9 +0,0 @@
1
- require_relative '../../test_helper'
2
-
3
- describe BootstrapActioncell do
4
-
5
- it "must be defined" do
6
- BootstrapActioncell::VERSION.wont_be_nil
7
- end
8
-
9
- end
data/test/test_helper.rb DELETED
@@ -1,3 +0,0 @@
1
- require 'minitest/autorun'
2
- require 'minitest/pride'
3
- require File.expand_path('../../lib/bootstrap_actioncell.rb', __FILE__)