modularity-rails 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Rakefile CHANGED
@@ -1,2 +1,23 @@
1
1
  #!/usr/bin/env rake
2
- require "bundler/gem_tasks"
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
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 = 'ModularityRails'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ Bundler::GemHelper.install_tasks
@@ -1,7 +1,5 @@
1
- require "modularity-rails/version"
1
+ require 'modularity-rails/engine'
2
+ require 'modularity-rails/version'
2
3
 
3
- module Modularity
4
- module Rails
5
- # Your code goes here...
6
- end
4
+ module ModularityRails
7
5
  end
@@ -0,0 +1,4 @@
1
+ module ModularityRails
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -1,5 +1,3 @@
1
- module Modularity
2
- module Rails
3
- VERSION = "0.0.1"
4
- end
1
+ module ModularityRails
2
+ VERSION = "0.1.0"
5
3
  end
@@ -1,17 +1,18 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  require File.expand_path('../lib/modularity-rails/version', __FILE__)
3
3
 
4
- Gem::Specification.new do |gem|
5
- gem.authors = ["Kevin Goslar"]
6
- gem.email = ["kevin.goslar@gmail.com"]
7
- gem.description = %q{Provides the Modularity CoffeeScript library to Rails applications.}
8
- gem.summary = %q{Makes the Modularity CoffeeScript library available to the Asset Pipeline in modern Rails projects.}
9
- gem.homepage = "http://github.com/kevgo/modularity-rails"
4
+ Gem::Specification.new do |s|
5
+ s.name = "modularity-rails"
6
+ s.version = ModularityRails::VERSION
7
+ s.authors = ["Kevin Goslar"]
8
+ s.email = ["kevin.goslar@gmail.com"]
9
+ s.homepage = "http://github.com/kevgo/modularity-rails"
10
+ s.summary = "Summary of ModularityRails."
11
+ s.description = "Description of ModularityRails."
10
12
 
11
- gem.files = `git ls-files`.split($\)
12
- gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
- gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
- gem.name = "modularity-rails"
15
- gem.require_paths = ["lib"]
16
- gem.version = Modularity::Rails::VERSION
13
+ s.add_dependency "rails", ">= 3.1.0"
14
+
15
+ s.files = `git ls-files`.split("\n")
16
+ s.executables = `git ls-files`.split("\n").select{|f| f =~ /^bin/}
17
+ s.require_path = 'lib'
17
18
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modularity-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,8 +10,19 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
  date: 2012-03-17 00:00:00.000000000 Z
13
- dependencies: []
14
- description: Provides the Modularity CoffeeScript library to Rails applications.
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: &70149181084680 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 3.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *70149181084680
25
+ description: Description of ModularityRails.
15
26
  email:
16
27
  - kevin.goslar@gmail.com
17
28
  executables: []
@@ -24,6 +35,7 @@ files:
24
35
  - README.md
25
36
  - Rakefile
26
37
  - lib/modularity-rails.rb
38
+ - lib/modularity-rails/engine.rb
27
39
  - lib/modularity-rails/version.rb
28
40
  - modularity-rails.gemspec
29
41
  - vendor/assets/javascripts/modularity.js.coffee
@@ -50,6 +62,5 @@ rubyforge_project:
50
62
  rubygems_version: 1.8.10
51
63
  signing_key:
52
64
  specification_version: 3
53
- summary: Makes the Modularity CoffeeScript library available to the Asset Pipeline
54
- in modern Rails projects.
65
+ summary: Summary of ModularityRails.
55
66
  test_files: []