active_metadata 0.8.2 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -13,7 +13,7 @@ module ActiveMetadata
13
13
  end
14
14
 
15
15
  def sort_stream stream, order_by
16
- stream.sort { |a, b| a.send(order_by) <=> b.send(order_by) }
16
+ stream.sort { |b, a| a.send(order_by) <=> b.send(order_by) }
17
17
  end
18
18
 
19
19
  def collect_stream_items_by_group group, options
@@ -1,3 +1,3 @@
1
1
  module ActiveMetadata
2
- VERSION = "0.8.2"
2
+ VERSION = "0.8.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_metadata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-21 00:00:00.000000000 Z
13
+ date: 2012-10-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
@@ -165,6 +165,7 @@ files:
165
165
  - config/cucumber.yml
166
166
  - config/database.yml
167
167
  - config/routes.rb
168
+ - db/development.sqlite3
168
169
  - db/migrate/01_active_metadata_migrations.rb
169
170
  - lib/active_metadata/base.rb
170
171
  - lib/active_metadata/engine.rb
@@ -261,7 +262,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
261
262
  version: '0'
262
263
  segments:
263
264
  - 0
264
- hash: 2514822335632258370
265
+ hash: -1787503777472158194
265
266
  required_rubygems_version: !ruby/object:Gem::Requirement
266
267
  none: false
267
268
  requirements:
@@ -270,10 +271,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
271
  version: '0'
271
272
  segments:
272
273
  - 0
273
- hash: 2514822335632258370
274
+ hash: -1787503777472158194
274
275
  requirements: []
275
276
  rubyforge_project: active_metadata
276
- rubygems_version: 1.8.19
277
+ rubygems_version: 1.8.24
277
278
  signing_key:
278
279
  specification_version: 3
279
280
  summary: Add metadata to fields in an active record model