jquery-benignware-rails 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NjA4MzA3YmE3MWFlODY4ZGU1Mjg0OTkwNTkxNjVkOWNjM2I2NGVhZg==
5
+ data.tar.gz: !binary |-
6
+ YTE1OTI1OGE4ZTQ3MTUxOTNmODEwZjE0Y2I0MWZjZDU1OWU4OTJjYg==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ OGY0NGFkN2E3YTY4MWZmN2E1OTc5ZTBkNWNmMzk3YjRkNTZkMWViZTNkNmZk
10
+ MzM5ZWMyNGZlMzkzNTA0MWUzNjhlZmRkNTk0NmU5Y2U2NWE4ODU5NTkxZjJl
11
+ MTUwMzEzMDQzNWRkZjU4MDAwOTM4YjdjYjJlZTdmMmY0YzQ2NTQ=
12
+ data.tar.gz: !binary |-
13
+ MGZmZTQzNmRhYTI5MmI4MmFlZDgzZDNmNGU3NjdiNzVjYzdhYzUyNmY5ZDgx
14
+ Mjg1NDY3NDRjZTc3MTBkZDc3NTVkNWUzZjIyZTIyYWE2NDk4ZjgwMjI5Y2Nm
15
+ MjZjZGVkMjEyMDFlZDVmNDE3NDcxNGM0ZTg2ZmUxOTk0MWFlYzE=
data/.gitignore ADDED
@@ -0,0 +1,18 @@
1
+ *.gem
2
+ *.rbc
3
+ .bundle
4
+ .config
5
+ .yardoc
6
+ .project
7
+ Gemfile.lock
8
+ InstalledFiles
9
+ _yardoc
10
+ coverage
11
+ doc/
12
+ lib/bundler/man
13
+ pkg
14
+ rdoc
15
+ spec/reports
16
+ test/tmp
17
+ test/version_tmp
18
+ tmp
data/.gitmodules ADDED
@@ -0,0 +1,3 @@
1
+ [submodule "submodules/jquery-checkview"]
2
+ path = submodules/jquery-checkview
3
+ url = https://github.com/benignware/jquery-checkview
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in benignware-jquery-rails.gemspec
4
+ gemspec
data/LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2013 Benignware
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,4 @@
1
+ jquery-benignware-rails
2
+ =======================
3
+
4
+ A rails gem for integrating benignware jquery-plugins with rails
data/Rakefile ADDED
@@ -0,0 +1,41 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ task :update do
4
+ Rake.rake_output_message 'update modules'
5
+ sh 'git submodule foreach git pull origin master'
6
+ end
7
+
8
+ desc "Remove the vendor directory"
9
+ task :clean do
10
+ rm_rf 'vendor'
11
+ end
12
+
13
+ desc "Generate the JavaScript assets"
14
+ task :assets => :update do
15
+ target_dir = "vendor/assets/javascripts/benignware"
16
+
17
+ mkdir_p target_dir
18
+
19
+ Dir.glob("checkview/src/js/*.js").each do |path|
20
+ basename = File.basename(path)
21
+ Rake.rake_output_message 'asset ' + basename
22
+ File.open("#{target_dir}/#{basename}", "w") do |out|
23
+ out.write("\n")
24
+ source_code = File.read(path)
25
+ out.write(source_code)
26
+ end
27
+ end
28
+ end
29
+
30
+
31
+ desc 'Builds the gem'
32
+ task :build => [:clean, :assets] do
33
+ sh "gem build jquery-benignware-rails.gemspec"
34
+ end
35
+
36
+ desc 'Tags version, pushes to remote, and pushes gem'
37
+ task :release => :build do
38
+ sh "gem push jquery-benignware-rails-#{Jquery::Benignware::Rails::VERSION}.gem"
39
+ end
40
+
41
+ task :default => :build
@@ -0,0 +1,24 @@
1
+ # -*- encoding: utf-8 -*-
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'jquery-benignware-rails/version'
5
+
6
+ Gem::Specification.new do |gem|
7
+ gem.name = "jquery-benignware-rails"
8
+ gem.version = Jquery::Benignware::Rails::VERSION
9
+ gem.authors = ["rexblack"]
10
+ gem.email = ["mail@benignware.com"]
11
+ gem.description = %q{gem description}
12
+ gem.summary = %q{gem summary}
13
+ gem.homepage = ""
14
+
15
+ gem.add_dependency "railties", ">= 3.2.0", "< 5.0"
16
+
17
+ gem.files = `git ls-files`.split($/)
18
+ #gem.files = `git ls-files`.split($/).reject { |f| f =~ /^jquery-checkview|^jquery-back-to-top|^jquery-responsive-text/ }
19
+ #gem.files = Dir["{lib,vendor}/**/*"]
20
+
21
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
22
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
23
+ gem.require_paths = ["lib"]
24
+ end
@@ -0,0 +1,7 @@
1
+ module Jquery
2
+ module Benignware
3
+ module Rails
4
+ VERSION = "0.0.1"
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,10 @@
1
+ require "jquery-benignware-rails/version"
2
+
3
+ module Jquery
4
+ module Benignware
5
+ module Rails
6
+ class Engine < ::Rails::Engine
7
+ end
8
+ end
9
+ end
10
+ end
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jquery-benignware-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - rexblack
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-10-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: railties
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ! '>='
18
+ - !ruby/object:Gem::Version
19
+ version: 3.2.0
20
+ - - <
21
+ - !ruby/object:Gem::Version
22
+ version: '5.0'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 3.2.0
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: '5.0'
33
+ description: gem description
34
+ email:
35
+ - mail@benignware.com
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
40
+ - .gitignore
41
+ - .gitmodules
42
+ - Gemfile
43
+ - LICENSE
44
+ - README.md
45
+ - Rakefile
46
+ - jquery-benignware-rails.gemspec
47
+ - lib/jquery-benignware-rails.rb
48
+ - lib/jquery-benignware-rails/version.rb
49
+ homepage: ''
50
+ licenses: []
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ! '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubyforge_project:
68
+ rubygems_version: 2.1.9
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: gem summary
72
+ test_files: []