Merge pull request #233 from fluent/release-alpha1

Release v1.0.0-alpha.1
This commit is contained in:
okkez 2018-05-22 12:14:04 +09:00 committed by GitHub
commit a1aefa4138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 24 additions and 113 deletions

View File

@ -1,3 +1,8 @@
## Release 1.0.0-alpha.1 - 2018/05/22
* [maintenance] Use Rails 5.2.0 [#223](https://github.com/fluent/fluentd-ui/pull/223)
* [maintenance] Use Fluentd 1.2.0 [#232](https://github.com/fluent/fluentd-ui/pull/232)
## Release 0.4.5 - 2018/04/20
* [maintenance] Use twilio instead of boundio [#212](https://github.com/fluent/fluentd-ui/pull/212)
@ -15,8 +20,8 @@
## Release 0.4.2 - 2015/05/28
* [maintenance] Update httpclient as 2.5.x [#193](https://github.com/fluent/fluentd-ui/pull/193)
* [fixed] Fix confused license [#192](https://github.com/fluent/fluentd-ui/pull/192)
* [maintenance] Update httpclient as 2.5.x [#193](https://github.com/fluent/fluentd-ui/pull/193)
* [fixed] Fix confused license [#192](https://github.com/fluent/fluentd-ui/pull/192)
## Release 0.4.1 - 2015/04/24

View File

@ -1,7 +1,7 @@
PATH
remote: .
specs:
fluentd-ui (0.4.5)
fluentd-ui (1.0.0.alpha.1)
addressable
bootsnap (>= 1.1.0)
bundler

View File

@ -47,8 +47,11 @@ NOTE: `chromedriver` executable binary should be located under your `$PATH`.
## Building fluentd-ui.gem
$ bundle exec rake build
fluentd-ui X.X.X built to pkg/fluentd-ui-X.X.X.gem.
# Generate pre-compiled assets
$ RAILS_ENV=production bin/rails assets:precompile
# fluentd-ui X.X.X built to pkg/fluentd-ui-X.X.X.gem.
$ RAILS_ENV=production bin/rails build
$ bundle exec rake release
# Push to rubygems.org
$ bin/rails release

View File

@ -1,13 +0,0 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require rails-ujs

View File

@ -1,22 +0,0 @@
<template>
<div id="app">
<p>{{ message }}</p>
</div>
</template>
<script>
export default {
data: function () {
return {
message: "Hello Vue!"
}
}
}
</script>
<style scoped>
p {
font-size: 2em;
text-align: center;
}
</style>

View File

@ -1,71 +0,0 @@
/* eslint no-console: 0 */
// Run this example by adding <%= javascript_pack_tag 'hello_vue' %> (and
// <%= stylesheet_pack_tag 'hello_vue' %> if you have styles in your component)
// to the head of your layout file,
// like app/views/layouts/application.html.erb.
// All it does is render <div>Hello Vue</div> at the bottom of the page.
import Vue from 'vue'
import App from '../app.vue'
document.addEventListener('DOMContentLoaded', () => {
const el = document.body.appendChild(document.createElement('hello'))
const app = new Vue({
el,
render: h => h(App)
})
console.log(app)
})
// The above code uses Vue without the compiler, which means you cannot
// use Vue to target elements in your existing html templates. You would
// need to always use single file components.
// To be able to target elements in your existing html/erb templates,
// comment out the above code and uncomment the below
// Add <%= javascript_pack_tag 'hello_vue' %> to your layout
// Then add this markup to your html template:
//
// <div id='hello'>
// {{message}}
// <app></app>
// </div>
// import Vue from 'vue/dist/vue.esm'
// import App from '../app.vue'
//
// document.addEventListener('DOMContentLoaded', () => {
// const app = new Vue({
// el: '#hello',
// data: {
// message: "Can you say hello?"
// },
// components: { App }
// })
// })
//
//
//
// If the using turbolinks, install 'vue-turbolinks':
//
// yarn add 'vue-turbolinks'
//
// Then uncomment the code block below:
//
// import TurbolinksAdapter from 'vue-turbolinks';
// import Vue from 'vue/dist/vue.esm'
// import App from '../app.vue'
//
// Vue.use(TurbolinksAdapter)
//
// document.addEventListener('turbolinks:load', () => {
// const app = new Vue({
// el: '#hello',
// data: {
// message: "Can you say hello?"
// },
// components: { App }
// })
// })

View File

@ -19,6 +19,15 @@ Gem::Specification.new do |spec|
# And spec.files required for building a .gem only.
# Thus git ls-files only invoked with `rake build` command
spec.files = `git ls-files`.split($/)
# Add pre-compiled assets
Dir.chdir(__dir__) do
Dir.glob("public/assets/.sprockets-manifest-*.json") do |file|
spec.files << file
end
Dir.glob("public/{assets,packs}/*") do |file|
spec.files << file
end
end
end
spec.executables = ["fluentd-ui"]
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})

View File

@ -1,3 +1,3 @@
module FluentdUI
VERSION = "0.4.5"
VERSION = "1.0.0.alpha.1"
end