grape-activerecord 2.1.0.pre.rc1 → 2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52fae3b0b15766403ba80d6a74c9bff1bac315b9
4
- data.tar.gz: 0f6f09e48b8bf41bb6b68adc37e04879bb6b528a
3
+ metadata.gz: 0d4ebcdc246743c4619c07e314e4db8552433f42
4
+ data.tar.gz: fee817f385ea83bc205c46dd07f7d91ae43aa0bf
5
5
  SHA512:
6
- metadata.gz: 05b77a6c52a9cf15497d2f2e591475c0d54d1b03260d74d68d264970fa968cf00bfa4f58d2b23984a83c6d8031f134a7a985c8c6bc51c98746a9f3bd15713f00
7
- data.tar.gz: 5c89319bc465ba39fab414d1cae69fcf30398057eb4b4a6717953cb4805d00d5838d18cf5fbc2856885c16837aa4ecb11c81e6442877dc6548eaa66affabbac5
6
+ metadata.gz: 1e88f06e2b181780f1d5ccd1847496a806079574bd37e7de641d2fa34f4ff60b9b244f953f100dc03f9ed5a69957b73971ee25c9e7bd13b3de6893a0f7cb2561
7
+ data.tar.gz: aeb141d99831ffe715b4db460fd1e4e3dc3b7fa7f828a85672717da695d2ee8ef1ce82fed5d6986699bf367d3314cbfd2eb0e91e2b9be42135f86976c18f8e7e
@@ -13,12 +13,12 @@ module Grape
13
13
 
14
14
  # All db migration dir paths
15
15
  def migrations_paths
16
- ::ActiveRecord::Migrator.migrations_paths
16
+ OTR::ActiveRecord.migrations_paths
17
17
  end
18
18
 
19
19
  # The dir in which to put new migrations
20
20
  def migrations_path
21
- ::ActiveRecord::Migrator.migrations_path
21
+ OTR::ActiveRecord.migrations_paths[0]
22
22
  end
23
23
 
24
24
  # Basename of migration classes
@@ -13,12 +13,12 @@ module Grape
13
13
 
14
14
  # All db migration dir paths
15
15
  def migrations_paths
16
- ::ActiveRecord::Migrator.migrations_paths
16
+ OTR::ActiveRecord.migrations_paths
17
17
  end
18
18
 
19
19
  # The dir in which to put new migrations
20
20
  def migrations_path
21
- ::ActiveRecord::Migrator.migrations_paths[0]
21
+ OTR::ActiveRecord.migrations_paths[0]
22
22
  end
23
23
 
24
24
  # Basename of migration classes
@@ -1,6 +1,6 @@
1
1
  module Grape
2
2
  module ActiveRecord
3
3
  # Gem version
4
- VERSION = '2.1.0-rc1'
4
+ VERSION = '2.1.0'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-activerecord
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0.pre.rc1
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jordan Hollinger
@@ -89,9 +89,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: 2.1.0
90
90
  required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements:
92
- - - ">"
92
+ - - ">="
93
93
  - !ruby/object:Gem::Version
94
- version: 1.3.1
94
+ version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
97
  rubygems_version: 2.4.5.1
@@ -99,3 +99,4 @@ signing_key:
99
99
  specification_version: 4
100
100
  summary: ActiveRecord integration for Grape
101
101
  test_files: []
102
+ has_rdoc: