pureapi 0.2.4 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/pureapi.rb +9 -13
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9e9b3a5e0c3182cb226e18cab0a823d6e51007e
4
- data.tar.gz: cebc42765564908818d3f4f31429143aa6694474
3
+ metadata.gz: 04513fc90902a3fe0fb33d34312b7d73a741333f
4
+ data.tar.gz: c50754ff88d2863babdb95dafa6109369addeadc
5
5
  SHA512:
6
- metadata.gz: 6cf9f0e4ac2dcdde53808ac20f2e675236ccfd52fae55c1cf57c4db9ace98c942ddeb9002e0c7da2f99f3c280a4664a77f60ce2e4874dccd89c20e8e2f2fe51d
7
- data.tar.gz: e743cc09f7dc373191abc525ef1d0e7e5cc9e50746bb8547d9e621ee67e95d070c9624cfcb2d9c3e95f9b2728ff66b09b36952c766a7898abfba8b3fd65e3c06
6
+ metadata.gz: c7915efdc3dee1f11e9afc7ab2803ad1d581d70f44eb7cfb66ebeb2bd90fd9af4792b9a9459858900860030382d902b66e1fa23b7e09f929337601a750bf01ae
7
+ data.tar.gz: 4022dc3fa66e213c9a01c31dfc5ed13ce043ceb5c018eace3f4126bd0d7b356c5d2e50e20d27bea32e94e37430f3469745d925daccb80f439c75109bacca0335
data/lib/pureapi.rb CHANGED
@@ -1,16 +1,12 @@
1
- class Pureapi
2
- class << self
3
- # Say hi to you & talk about gem!
4
- #
5
- # Example:
6
- # >> Pureapi.about("spanish")
7
- # => hello spanish
8
- #
9
- # Arguments:
10
- # yourname: (String)
1
+ module Pureapi
2
+ autoload :Introduction, 'pureapi/introduction'
3
+ autoload :Controller, 'pureapi/controller'
4
+ # autoload :Model, 'pureapi/model'
5
+ # autoload :MongoidModel, 'pureapi/mongoid_model'
11
6
 
12
- def about yourname
13
- "hello #{yourname}. This is a library for pure api"
14
- end
7
+ # Default way to set up Jwtauth.
8
+ # a fresh initializer with all configuration values.
9
+ def self.setup
10
+ yield self
15
11
  end
16
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pureapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dieu Pham