a_little_less 0.2.3 → 0.2.4

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: 87d1dd09eae07573407cf852f3f929a513c8d68f
4
- data.tar.gz: 062c37fcaf27975c768d0204fd3b9dc29f4c6d72
3
+ metadata.gz: 20cecf8c99ade40df6c0d183ff59c03a69a44fb7
4
+ data.tar.gz: 3f7e0697037b1adda7ddb79b3fbaac0f941f0747
5
5
  SHA512:
6
- metadata.gz: 4b58022560759c9b5e3566dd9186898efae103e6ca9612bdf8eba547fbd9895439a86650d7105d879bb8293335bf844b43c6069805245c02517898d039f540a1
7
- data.tar.gz: 8cfe7518e792b615a53f5cbe6eb05d284a2ab31db7d386e2e7f5a8e0fff5ef634bb261a9f4ff8abe9b30811bea60a1403d759cb2e5adf13d333dce6fbaa9c5aa
6
+ metadata.gz: 3871bf8fc745c94e4398dfc04e5d95b8b798d23757b3f231f4f5c2aef305dd5a830dbcd54cb8b05a625858537de86478350e226748356fe21de84d015e14ea16
7
+ data.tar.gz: 1d9cec388b3d74fa8d6744f87e0cda739bad57ed27d9bbe953279640e7b35bb4d346842128114b7d75130cb5c94e8adc570500c905fecd2adc17d0e0d763ba02
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/a_little_less.svg)](https://badge.fury.io/rb/a_little_less)
4
4
  [![Code Climate](https://codeclimate.com/github/tomlobato/little_less.svg)](https://codeclimate.com/github/tomlobato/little_less)
5
5
  ![](http://ruby-gem-downloads-badge.herokuapp.com/a_little_less?type=total&label=gem%20downloads)
6
-
6
+
7
7
  By [Bettercall.io](https://bettercall.io/).
8
8
 
9
9
  A web framework a little more simple.
@@ -36,7 +36,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
36
36
 
37
37
  ## Contributing
38
38
 
39
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/a_little_less.
39
+ Bug reports and pull requests are welcome on GitHub at https://github.com/tomlobato/a_little_less.
40
40
 
41
41
 
42
42
  ## License
@@ -1,3 +1,3 @@
1
1
  module ALittleLess
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -5,13 +5,14 @@ class Files < AlittleLess
5
5
  # Helpers
6
6
  # send_file path
7
7
  # not_found
8
+ # ... see https://github.com/tomlobato/little_less/blob/master/lib/a_little_less/util.rb
8
9
  redir_301 '/policy.html'
9
10
  end
10
11
  post 'upload' do
11
- if DoSome.thing
12
- break error_422 success: false
13
- else
12
+ if DoSome.new.thing
14
13
  {success: true}
14
+ else
15
+ error_422 success: false
15
16
  end
16
17
  end
17
18
  get 'users' do
@@ -0,0 +1,4 @@
1
+ class DoSome
2
+ def thing
3
+ end
4
+ end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: a_little_less
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Lobato
@@ -156,10 +156,10 @@ files:
156
156
  - sample_app/config.ru
157
157
  - sample_app/config/db.yml
158
158
  - sample_app/console
159
- - sample_app/lib/my_lib/my_lib.rb
160
- - sample_app/lib/my_other_lib.rb
159
+ - sample_app/lib/do_some.rb
161
160
  - sample_app/public/.keep
162
161
  - sample_app/public/index.html
162
+ - sample_app/public/policy.html
163
163
  homepage: https://tomlobato.github.io/a_little_less
164
164
  licenses:
165
165
  - MIT
@@ -1,3 +0,0 @@
1
- class MyLib
2
-
3
- end
@@ -1,3 +0,0 @@
1
- class MyOtherLib
2
-
3
- end