rails-api 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5253c491976015f9cfbe4ed845107e35804473e0
4
- data.tar.gz: b74a7076b3aba37160e2b136c0207433a9f94d7c
3
+ metadata.gz: f2ba43cdee06ac56bfcff4cb92005713f164f3db
4
+ data.tar.gz: 3f5533c7e3dae082eaaf231fdd0141b963737bd0
5
5
  SHA512:
6
- metadata.gz: 1641fe3267a1137ade2ca4323350e8a70a43fde041ecd28e2179a406125796529e5b2ad5f56e80fb47b324213011c35d7b2a4e9eeba24309c38073fa1665ed30
7
- data.tar.gz: 44a72a3a29b7178023ada10e2eb6ede998322fcb1af61675c7f127e4a059be36a1d4ce8c8b67471478a931db838de5a0e3461debdda5193a74a32b01c27fbd67
6
+ metadata.gz: 8c8b3bcba2d10b1af75eed99f299ce893aad0c588c94a6f776530a908d1d9dc45d01a6d67f9220912ded69a2d2778d6aeefb2e69532bcf4a08d12787c8592c0d
7
+ data.tar.gz: 7ac43d93cad6f886c13128569d695b6566f8403f11f4b64feaec79d2cdc52cb9b64c271529191db2e3039896ccd3660a9990b2ed24203745936777d30ef6a038
@@ -1,16 +1,31 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- <%= rails_gemfile_entry -%>
3
+ <%- if rails_gemfile_entry.is_a? String -%>
4
+ <%= rails_gemfile_entry %>
5
+ <%- else -%>
6
+ <%- rails_gemfile_entry.each do |entry| -%>
7
+ gem '<%= entry.name -%>', '<%= entry.version -%>'
8
+ <%- end -%>
9
+ <%- end -%>
4
10
 
5
11
  gem 'rails-api'
6
12
 
7
- <%= database_gemfile_entry -%>
13
+ <%- if database_gemfile_entry.is_a? String -%>
14
+ <%= database_gemfile_entry %>
15
+ <%- else -%>
16
+ gem 'spring', :group => :development
17
+
18
+ <%- if database_gemfile_entry -%>
19
+ gem '<%= database_gemfile_entry.name -%>'
20
+ <%- end -%>
21
+ <%- end -%>
22
+
8
23
 
9
24
  <%= "gem 'jruby-openssl'\n" if defined?(JRUBY_VERSION) -%>
10
25
  <%= "gem 'json'\n" if RUBY_VERSION < "1.9.2" -%>
11
26
 
12
27
  # To use ActiveModel has_secure_password
13
- # gem 'bcrypt-ruby', '~> 3.0.0'
28
+ # gem 'bcrypt-ruby', '~> 3.1.2'
14
29
 
15
30
  # To use Jbuilder templates for JSON
16
31
  # gem 'jbuilder'
@@ -1,5 +1,5 @@
1
1
  module Rails
2
2
  module API
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Santiago Pastorino and Carlos Antonio da Silva
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-13 00:00:00.000000000 Z
11
+ date: 2014-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -115,7 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  version: 1.3.6
116
116
  requirements: []
117
117
  rubyforge_project:
118
- rubygems_version: 2.2.0
118
+ rubygems_version: 2.2.2
119
119
  signing_key:
120
120
  specification_version: 4
121
121
  summary: Rails for API only Applications