inesita 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +7 -1
- data/CHANGELOG.md +73 -33
- data/Gemfile +0 -5
- data/README.md +1 -4
- data/inesita.gemspec +7 -2
- data/lib/inesita/cli/template/Gemfile.tt +1 -1
- data/lib/inesita/server.rb +1 -1
- data/opal/inesita/component.rb +0 -5
- data/opal/inesita/store.rb +0 -5
- data/spec/opal/component_spec.rb +1 -1
- metadata +66 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a44e11d0c190bb12d48b6b885d12a914428f945
|
4
|
+
data.tar.gz: 96b1d4dccc510facd9ae462b89b81630f2f14bf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce02c2a6d3f600b8570d40fa1c18fb8bf3ddfcf2543afdde9a6c2d6a073035593cfd2dc0745079916e04a7751bc1245bcb680bc9e1e3618123c7038605f2ebc9
|
7
|
+
data.tar.gz: 7a67e137796f047fc8cea9de2f96c8ecd9b1b6da7826b2c9a79f4cbcd2392d8f77ddeb08dbaf5648f875156c23fe6f89289c21000405bbdf996096149646ac1c
|
data/.travis.yml
CHANGED
@@ -3,7 +3,13 @@ sudo: false
|
|
3
3
|
cache:
|
4
4
|
bundler: true
|
5
5
|
rvm:
|
6
|
-
- 2.
|
6
|
+
- 2.3.1
|
7
|
+
before_install:
|
8
|
+
- "export PATH=$PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64/bin:$PATH"
|
9
|
+
- "if [ $(phantomjs --version) != '2.1.1' ]; then rm -rf $PWD/travis_phantomjs; mkdir -p $PWD/travis_phantomjs; fi"
|
10
|
+
- "if [ $(phantomjs --version) != '2.1.1' ]; then wget https://assets.membergetmember.co/software/phantomjs-2.1.1-linux-x86_64.tar.bz2 -O $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2; fi"
|
11
|
+
- "if [ $(phantomjs --version) != '2.1.1' ]; then tar -xvf $PWD/travis_phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 -C $PWD/travis_phantomjs; fi"
|
12
|
+
- "phantomjs --version"
|
7
13
|
notifications:
|
8
14
|
webhooks:
|
9
15
|
urls: https://webhooks.gitter.im/e/04c689326f7cd8e4d499
|
data/CHANGELOG.md
CHANGED
@@ -1,33 +1,73 @@
|
|
1
|
-
## 0.4.
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
1
|
+
## [0.4.1] - 2016.07.15
|
2
|
+
|
3
|
+
### Added
|
4
|
+
- nice changelog
|
5
|
+
|
6
|
+
### Changed
|
7
|
+
- update `opal` to `0.10.0`
|
8
|
+
|
9
|
+
### Removed
|
10
|
+
- deprecated `update_dom`
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- prefix bug in opal 0.10
|
14
|
+
|
15
|
+
## [0.4.0] - 2016.05.02
|
16
|
+
|
17
|
+
### Added
|
18
|
+
- `router` is accessible from `store`
|
19
|
+
- `init` callback to `Store` and `Component`
|
20
|
+
- `Inesita::Browser` minimal browser support
|
21
|
+
- `router` support `*param` to catch rest of url
|
22
|
+
- `virtual-dom` hooks (instead of `after_render`)
|
23
|
+
|
24
|
+
### Changed
|
25
|
+
- rename `Router#handle_link` to `Router#go_to`
|
26
|
+
|
27
|
+
### Removed
|
28
|
+
- `Component#after_render`
|
29
|
+
- `opal-browser` is now optional
|
30
|
+
- extract livereload to `inesita-livereload`
|
31
|
+
|
32
|
+
|
33
|
+
## [0.3.5] - 2016.03.10
|
34
|
+
- add `inesita watch`
|
35
|
+
- add `inesita build` dir parameters
|
36
|
+
|
37
|
+
|
38
|
+
## [0.3.2] - 2016-03-05
|
39
|
+
|
40
|
+
### Added
|
41
|
+
- add `app_dist` and `app_dev` directory support
|
42
|
+
- add `redirect_to` to `route` options
|
43
|
+
|
44
|
+
|
45
|
+
## [0.3.1] - 2016-01-05
|
46
|
+
|
47
|
+
### Added
|
48
|
+
- `class_names` helper
|
49
|
+
- params hash in `Router#url_for`
|
50
|
+
|
51
|
+
### Fixed
|
52
|
+
- fix `router.current_url?`
|
53
|
+
|
54
|
+
|
55
|
+
## [0.3.0] - 2015-12-20
|
56
|
+
|
57
|
+
### Added
|
58
|
+
- live-reload
|
59
|
+
- `after_render` component method - executes after component is rendered
|
60
|
+
- specs
|
61
|
+
- static support - for serving images
|
62
|
+
- minification support
|
63
|
+
|
64
|
+
### Changed
|
65
|
+
- rename `update_dom` to `render!`
|
66
|
+
- use `opal-browser` instead of pure javascript
|
67
|
+
|
68
|
+
[Unreleased]: https://github.com/inesita-rb/inesita/compare/v0.4.0...HEAD
|
69
|
+
[0.4.0]: https://github.com/inesita-rb/inesita/compare/v0.3.5...v0.4.0
|
70
|
+
[0.3.5]: https://github.com/inesita-rb/inesita/compare/v0.3.2...v0.3.5
|
71
|
+
[0.3.2]: https://github.com/inesita-rb/inesita/compare/v0.3.1...v0.3.2
|
72
|
+
[0.3.1]: https://github.com/inesita-rb/inesita/compare/v0.3.0...v0.3.1
|
73
|
+
[0.3.0]: https://github.com/inesita-rb/inesita/compare/v0.0.0...v0.3.1
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -8,7 +8,4 @@ More detailed description [here](https://inesita-rb.github.io).
|
|
8
8
|
|
9
9
|
## Examples
|
10
10
|
|
11
|
-
|
12
|
-
- TodoMVC: [Live demo 👀](http://inesita-todomvc.netlify.com/) · [source code 📖](https://github.com/inesita-rb/todomvc)
|
13
|
-
- DBMonster: [Live demo 👀](http://inesita-dbmonster.netlify.com/) · [source code 📖](https://github.com/inesita-rb/dbmonster)
|
14
|
-
- Asciify Me: [Live demo 👀](https://inesita-asciify-me.netlify.com/) · [source code 📖](https://github.com/inesita-rb/asciify-me)
|
11
|
+
For list of examples go [here](https://github.com/inesita-rb/awesome-inesita)
|
data/inesita.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'inesita'
|
3
|
-
s.version = '0.4.
|
3
|
+
s.version = '0.4.1'
|
4
4
|
s.authors = ['Michał Kalbarczyk']
|
5
5
|
s.email = 'fazibear@gmail.com'
|
6
6
|
s.homepage = 'http://github.com/inesita-rb/inesita'
|
@@ -13,11 +13,16 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_dependency 'opal', '
|
16
|
+
s.add_dependency 'opal', '>= 0.9', '< 0.11'
|
17
17
|
s.add_dependency 'opal-virtual-dom', '~> 0.4.0'
|
18
18
|
s.add_dependency 'slim', '~> 3.0'
|
19
19
|
s.add_dependency 'sass', '~> 3.4'
|
20
20
|
s.add_dependency 'thor', '~> 0.19'
|
21
21
|
s.add_dependency 'rack-rewrite', '~> 1.5'
|
22
22
|
s.add_dependency 'listen', '~> 3.0'
|
23
|
+
|
24
|
+
s.add_development_dependency 'bundler', '~> 1.0'
|
25
|
+
s.add_development_dependency 'rspec', '~> 3.0'
|
26
|
+
s.add_development_dependency 'opal-rspec', '~> 0.6.0.beta'
|
27
|
+
s.add_development_dependency 'rake', '~> 11.0'
|
23
28
|
end
|
data/lib/inesita/server.rb
CHANGED
@@ -31,7 +31,7 @@ module Inesita
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def assets_code
|
34
|
-
assets_prefix = @dist ?
|
34
|
+
assets_prefix = @dist ? '' : Config::ASSETS_PREFIX
|
35
35
|
%(
|
36
36
|
<link rel="stylesheet" type="text/css" href="#{assets_prefix}/stylesheet.css">
|
37
37
|
#{Opal::Sprockets.javascript_include_tag('application', sprockets: @assets_app, prefix: assets_prefix, debug: !@dist)}
|
data/opal/inesita/component.rb
CHANGED
data/opal/inesita/store.rb
CHANGED
data/spec/opal/component_spec.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inesita
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michał Kalbarczyk
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: opal
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.9'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '0.11'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0.9'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '0.11'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: opal-virtual-dom
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +114,62 @@ dependencies:
|
|
108
114
|
- - "~>"
|
109
115
|
- !ruby/object:Gem::Version
|
110
116
|
version: '3.0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: bundler
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.0'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.0'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: rspec
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '3.0'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '3.0'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: opal-rspec
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: 0.6.0.beta
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: 0.6.0.beta
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: rake
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '11.0'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '11.0'
|
111
173
|
description: Frontent web framework for Opal
|
112
174
|
email: fazibear@gmail.com
|
113
175
|
executables:
|