simple-momentjs-rails 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: ab8449b138507d7ca63ec3adba31b84f96ce10f1
4
+ data.tar.gz: e2682711877c224a0216652a10fd60b4debf348e
5
+ SHA512:
6
+ metadata.gz: 43845b0232f0a1e534fef3b1e7acbb4b04cd9b6c7a6cd9770491e2722b80f6c48eb98a77976a6f5088b383b3ceb8cbf53dcd798c8fa971ea5b251a5c83dee5d1
7
+ data.tar.gz: 69921459b1eb3fe0f85a41b2aaa44f17b6d61bc1c81a73fac3aa663b354749f74b2ac4a58a6bc873e90d6964f9c3de1f0b84f1523f4748d0616b5f0871870321
data/.gitignore ADDED
@@ -0,0 +1,14 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ *.bundle
11
+ *.so
12
+ *.o
13
+ *.a
14
+ mkmf.log
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in simple-momentjs-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2015 Chris Gee
2
+
3
+ MIT License
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.
data/README.md ADDED
@@ -0,0 +1,26 @@
1
+ Simply a gem that makes [momentjs](http://momentjs.com/) available in the
2
+ pipeline with minimal dependencies (in this case, no other dependencies).
3
+
4
+ ## Installation
5
+
6
+ Add this line to your application's Gemfile:
7
+
8
+ ```ruby
9
+ gem 'simple-momentjs-rails'
10
+ ```
11
+
12
+ And then execute:
13
+
14
+ $ bundle
15
+
16
+ Or install it yourself as:
17
+
18
+ $ gem install simple-momentjs-rails
19
+
20
+ ## Usage
21
+
22
+ In your application JavaScript file add the following line:
23
+
24
+ ```ruby
25
+ //= require moment
26
+ ```
data/Rakefile ADDED
@@ -0,0 +1,2 @@
1
+ require "bundler/gem_tasks"
2
+
@@ -0,0 +1,7 @@
1
+ module Simple
2
+ module Momentjs
3
+ module Rails
4
+ VERSION = '1.0.0'
5
+ end
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ require 'simple/momentjs/rails/version'
2
+
3
+ module Simple
4
+ module Momentjs
5
+ module Rails
6
+ class Engine < ::Rails::Engine; end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,19 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'simple/momentjs/rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'simple-momentjs-rails'
8
+ spec.version = Simple::Momentjs::Rails::VERSION
9
+ spec.authors = ['Chris Gee']
10
+ spec.email = ['cgee@indigobio.com']
11
+ spec.summary = %q{Simply momentjs available through a gem}
12
+ spec.license = 'MIT'
13
+
14
+ spec.files = `git ls-files`.split("\n")
15
+ spec.require_paths = ['lib']
16
+
17
+ spec.add_development_dependency 'bundler', '~> 1.7'
18
+ spec.add_development_dependency 'rake', '~> 10.0'
19
+ end