order_as_specified 1.0 → 1.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: aa46391db1a92ccc0095e732300f8ff9dff05219
4
- data.tar.gz: 54dc39bd5f341a8a0245c25cfbbdb56a72590b4e
3
+ metadata.gz: c3348c26ab12edd7c9a4066c710b0cc914974946
4
+ data.tar.gz: 10b274073cfa67a6237afe207f3df7ae7141fddf
5
5
  SHA512:
6
- metadata.gz: 92a5c23cd6dff0657c08cf71387b30fa8ce6ae4a1113c51f3aeb7ad8c6f75786f9449b49ebc1d8e445341bf65b3a9bd431febb00436c8d7c566a0c30247097e8
7
- data.tar.gz: d0ce1a2a19c3f1d03d80d4c2ef940551423ea3fb986b30685d99966ad1b71cc91d94c60881a61c068af8b6927e78cbb4d909f8b9df5ffc42f2d88dd3542e108b
6
+ metadata.gz: 4a8cb8f25341c51ede2a157a997c41bafe0f4c1ba2174e727f7c9f4b35ffb39f86c5d229cd614a25967eda34e731ae9704c2f372f12d77a9bda5a2261b67ea45
7
+ data.tar.gz: 92fce24b220e4a658da7eb7c6be5520f532935806793f2d145b190e4db7b85190d7b39bc14f4c6782e79b708ff1433c616623d760a56cd7d46f78438dd8c7a1e
@@ -1,6 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.1
3
+ - 2.2.5
4
+ - 2.3.1
4
5
  before_script:
5
6
  - psql -c 'create database order_as_specified_test;' -U postgres
6
7
  script: bundle exec rspec
@@ -8,6 +9,10 @@ addons:
8
9
  postgresql: "9.3"
9
10
  code_climate:
10
11
  repo_token: 781c439d68cbb928316deaec1c7136f98423e1db87238f99cbc95183de94df9e
12
+ env:
13
+ matrix:
14
+ - AR_VERSION="~> 4.2.0"
15
+ - AR_VERSION="~> 5.0.0"
11
16
  notifications:
12
17
  email: false
13
18
  hipchat:
@@ -0,0 +1,10 @@
1
+ # 1.0
2
+
3
+ We've hit our first major release! This release contains **no** breaking changes. The changes:
4
+
5
+ - Added `:distinct_on` option. [[#3](https://github.com/panorama-ed/order_as_specified/issues/3)]
6
+ - Improved error message for `nil` arguments. [[#8](https://github.com/panorama-ed/order_as_specified/pull/8)]
7
+
8
+ # 0.1.0
9
+
10
+ The initial release! All basic functionality is in here.
data/Gemfile CHANGED
@@ -2,3 +2,5 @@ source "https://rubygems.org"
2
2
 
3
3
  # Specify your gem's dependencies in order_as_specified.gemspec
4
4
  gemspec
5
+
6
+ gem "activerecord", ENV["AR_VERSION"] if ENV["AR_VERSION"]
@@ -1,3 +1,3 @@
1
1
  module OrderAsSpecified
2
- VERSION = "1.0"
2
+ VERSION = "1.1"
3
3
  end
@@ -1,6 +1,6 @@
1
1
  class TestSetupMigration < ActiveRecord::Migration
2
2
  def up
3
- return if ActiveRecord::Base.connection.table_exists? :test_classes
3
+ return if ActiveRecord::Base.connection.data_source_exists?(:test_classes)
4
4
 
5
5
  create_table :test_classes do |t|
6
6
  t.string :field
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: order_as_specified
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.0'
4
+ version: '1.1'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Evelyn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-20 00:00:00.000000000 Z
11
+ date: 2016-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -148,6 +148,7 @@ files:
148
148
  - .overcommit.yml
149
149
  - .rubocop.yml
150
150
  - .travis.yml
151
+ - CHANGELOG.md
151
152
  - Gemfile
152
153
  - LICENSE.txt
153
154
  - README.md