makeki 0.1.52 → 0.1.60
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -7
- data/lib/makeki.rb +3 -2
- data/lib/makeki/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 104be6ec8572faf1af74ab5ae05c77464427ec85
|
4
|
+
data.tar.gz: 91a49c2fc59367cf7165da9f5612870f2302bae4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6188e2f4848449c9d2f5f707adc9cc2d9a9843e9a63fc9e6473de1d9cbcdafed314780b793c9a8be06e5b5b3cf6ea847b5b430d4b9c614c7cf33b61e6bc3ddff
|
7
|
+
data.tar.gz: 17aa43af2c7ee04868ee2bb53ffae98e4cc2d4ff439cab78a56f02ed343890e54b798ca208bc2c5f90dedede9e21733f896f9dc67c56b245526d1f51a0d633bf
|
data/README.md
CHANGED
@@ -1,9 +1,5 @@
|
|
1
1
|
# Makeki
|
2
|
-
|
3
|
-
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/makeki`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
-
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
|
-
|
2
|
+
A framework that feels familiar but simpler to navigate as you build your app. That's the goal. Navigating through multiple directories to complete a feature feels unnecessary. This is an experiment to see if it's possible to simplify some things that can take take away from focus while programming.
|
7
3
|
## Installation
|
8
4
|
|
9
5
|
Add this line to your application's Gemfile:
|
@@ -14,7 +10,7 @@ gem 'makeki'
|
|
14
10
|
|
15
11
|
And then execute:
|
16
12
|
|
17
|
-
$ bundle
|
13
|
+
$ bundle
|
18
14
|
|
19
15
|
Or install it yourself as:
|
20
16
|
|
@@ -46,7 +42,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
46
42
|
|
47
43
|
## Contributing
|
48
44
|
|
49
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
45
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/cronwel/makeki. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
50
46
|
|
51
47
|
## License
|
52
48
|
|
data/lib/makeki.rb
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
require "makeki/version"
|
2
2
|
require "makeki/array"
|
3
|
+
require "makeki/routing"
|
3
4
|
|
4
5
|
module Makeki
|
5
6
|
class Application
|
6
7
|
def call(env)
|
7
|
-
|
8
|
-
controller =
|
8
|
+
classic, act = get_controller_and_action(env)
|
9
|
+
controller = classic.new(env)
|
9
10
|
text = controller.send(act)
|
10
11
|
[200, {'Content-Type' => 'text/html'},
|
11
12
|
[text]]
|
data/lib/makeki/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: makeki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.60
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cronwel Irias
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|