nosweat 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/nosweat.rb +14 -5
  2. metadata +1 -1
data/lib/nosweat.rb CHANGED
@@ -1,7 +1,16 @@
1
- class Nosweat
2
- def self.hello
3
- puts "hello"
1
+ #class Nosweat
2
+ # def self.hello
3
+ # puts "hello"
4
+ # end
5
+ #end
6
+
7
+ #require 'nosweat/coder'
8
+
9
+ class Sort < ActiveRecord::Base
10
+ def self.articledesc
11
+ find(:all, :order => "article DESC")
12
+ end
13
+ def self.articleasc
14
+ find(:all, :order => "article")
4
15
  end
5
16
  end
6
-
7
- require 'nosweat/coder'
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nosweat
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.1
5
+ version: 0.0.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - jesse