grape-rabl 0.0.6 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -4
- data/README.md +3 -3
- data/grape-rabl.gemspec +22 -21
- data/lib/grape-rabl/version.rb +1 -1
- metadata +19 -3
data/Gemfile
CHANGED
@@ -1,12 +1,9 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
# Specify your gem's dependencies in grape-rabl.gemspec
|
4
3
|
gemspec
|
5
4
|
|
6
|
-
gem "grape", :git => "git://github.com/intridea/grape.git"
|
7
|
-
|
8
5
|
group :test do
|
9
|
-
gem "rspec", "~> 2.
|
6
|
+
gem "rspec", "~> 2.12.0"
|
10
7
|
gem "rack-test"
|
11
8
|
gem "rake"
|
12
9
|
end
|
data/README.md
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
# Grape::Rabl
|
2
2
|
|
3
|
-
Use Rabl templates in [Grape](https://github.com/intridea/grape)!
|
3
|
+
Use [Rabl](https://github.com/nesquena/rabl) templates in [Grape](https://github.com/intridea/grape)!
|
4
4
|
|
5
5
|
[![Build Status](https://secure.travis-ci.org/LTe/grape-rabl.png)](http://travis-ci.org/LTe/grape-rabl) [![Dependency Status](https://gemnasium.com/LTe/grape-rabl.png)](https://gemnasium.com/LTe/grape-rabl)
|
6
6
|
|
7
7
|
|
8
8
|
## Installation
|
9
9
|
|
10
|
-
Add the `grape` and `grape-rabl` gems to Gemfile.
|
10
|
+
Add the `grape` and `grape-rabl` gems to Gemfile.
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
gem 'grape',
|
13
|
+
gem 'grape', "~> 0.2.3"
|
14
14
|
gem 'grape-rabl'
|
15
15
|
```
|
16
16
|
|
data/grape-rabl.gemspec
CHANGED
@@ -1,21 +1,22 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
require File.expand_path('../lib/grape-rabl/version', __FILE__)
|
3
|
-
|
4
|
-
Gem::Specification.new do |gem|
|
5
|
-
gem.authors = ["Piotr Niełacny"]
|
6
|
-
gem.email = ["piotr.nielacny@gmail.com"]
|
7
|
-
gem.description = %q{Use rabl in grape}
|
8
|
-
gem.summary = %q{Use rabl in grape}
|
9
|
-
gem.homepage = ""
|
10
|
-
|
11
|
-
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
|
-
gem.files = `git ls-files`.split("\n")
|
13
|
-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
|
-
gem.name = "grape-rabl"
|
15
|
-
gem.require_paths = ["lib"]
|
16
|
-
gem.version = Grape::Rabl::VERSION
|
17
|
-
|
18
|
-
gem.add_dependency "
|
19
|
-
gem.add_dependency "
|
20
|
-
gem.add_dependency "
|
21
|
-
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
require File.expand_path('../lib/grape-rabl/version', __FILE__)
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.authors = ["Piotr Niełacny"]
|
6
|
+
gem.email = ["piotr.nielacny@gmail.com"]
|
7
|
+
gem.description = %q{Use rabl in grape}
|
8
|
+
gem.summary = %q{Use rabl in grape}
|
9
|
+
gem.homepage = "https://github.com/LTe/grape-rabl"
|
10
|
+
|
11
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
12
|
+
gem.files = `git ls-files`.split("\n")
|
13
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
|
+
gem.name = "grape-rabl"
|
15
|
+
gem.require_paths = ["lib"]
|
16
|
+
gem.version = Grape::Rabl::VERSION
|
17
|
+
|
18
|
+
gem.add_dependency "grape", "~> 0.2.3"
|
19
|
+
gem.add_dependency "rabl"
|
20
|
+
gem.add_dependency "tilt"
|
21
|
+
gem.add_dependency "i18n"
|
22
|
+
end
|
data/lib/grape-rabl/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grape-rabl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,8 +9,24 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: grape
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.2.3
|
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: 0.2.3
|
14
30
|
- !ruby/object:Gem::Dependency
|
15
31
|
name: rabl
|
16
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,7 +98,7 @@ files:
|
|
82
98
|
- spec/grape_rabl_spec.rb
|
83
99
|
- spec/spec_helper.rb
|
84
100
|
- spec/views/user.rabl
|
85
|
-
homepage:
|
101
|
+
homepage: https://github.com/LTe/grape-rabl
|
86
102
|
licenses: []
|
87
103
|
post_install_message:
|
88
104
|
rdoc_options: []
|