birt-view 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.gitignore +6 -0
- data/Gemfile +19 -3
- data/README.rdoc +28 -0
- data/Rakefile +6 -1
- data/app/assets/images/.keep +0 -0
- data/app/assets/javascripts/application.js +16 -0
- data/app/assets/stylesheets/application.css +15 -0
- data/app/controllers/application_controller.rb +5 -0
- data/app/controllers/concerns/.keep +0 -0
- data/app/helpers/application_helper.rb +2 -0
- data/app/models/.keep +0 -0
- data/app/models/concerns/.keep +0 -0
- data/app/views/layouts/application.html.erb +14 -0
- data/bin/bundle +3 -0
- data/bin/rails +8 -0
- data/bin/rake +8 -0
- data/bin/setup +27 -5
- data/bin/spring +15 -0
- data/birt-view.gemspec +3 -2
- data/config.ru +4 -0
- data/lib/assets/.keep +0 -0
- data/lib/birt/view/version.rb +1 -1
- data/lib/tasks/.keep +0 -0
- metadata +34 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d518ff08d2fb771785b2d500b22d07c91e18c4f
|
4
|
+
data.tar.gz: ba5045daa59c6ff7fe1255f6bb8ada541c9a7693
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aab4e354fb2d5d599930248754cb8b7288f83eadeed3fcc96d9eb99614f3c34b81376a26111ca42a3e80077751713de8294f26504faf4bab50221335de7af5b3
|
7
|
+
data.tar.gz: 9055b834ed8f5fc87202966d631bb1d46c1a6f06a260832d5576f4a51b37fe5cb768179525acaf007a78cbb18d53c73c7a74473f91d84534f73f36d96a110200
|
data/.gitignore
CHANGED
data/Gemfile
CHANGED
@@ -1,4 +1,20 @@
|
|
1
|
-
source 'https://
|
1
|
+
source 'https://ruby.taobao.org'
|
2
|
+
|
3
|
+
gem 'rails', '4.2.3'
|
4
|
+
gem 'sqlite3'
|
5
|
+
gem 'mysql2'
|
6
|
+
gem 'sass-rails', '~> 5.0'
|
7
|
+
gem 'uglifier', '>= 1.3.0'
|
8
|
+
gem 'coffee-rails', '~> 4.1.0'
|
9
|
+
gem 'jquery-rails'
|
10
|
+
gem 'turbolinks'
|
11
|
+
gem 'jbuilder', '~> 2.0'
|
12
|
+
gem 'sdoc', '~> 0.4.0', group: :doc
|
13
|
+
gem 'birt-api', '~> 0.1.6'
|
14
|
+
|
15
|
+
group :development, :test do
|
16
|
+
gem 'byebug'
|
17
|
+
gem 'web-console', '~> 2.0'
|
18
|
+
gem 'spring'
|
19
|
+
end
|
2
20
|
|
3
|
-
# Specify your gem's dependencies in birt-view.gemspec
|
4
|
-
gemspec
|
data/README.rdoc
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
== README
|
2
|
+
|
3
|
+
This README would normally document whatever steps are necessary to get the
|
4
|
+
application up and running.
|
5
|
+
|
6
|
+
Things you may want to cover:
|
7
|
+
|
8
|
+
* Ruby version
|
9
|
+
|
10
|
+
* System dependencies
|
11
|
+
|
12
|
+
* Configuration
|
13
|
+
|
14
|
+
* Database creation
|
15
|
+
|
16
|
+
* Database initialization
|
17
|
+
|
18
|
+
* How to run the test suite
|
19
|
+
|
20
|
+
* Services (job queues, cache servers, search engines, etc.)
|
21
|
+
|
22
|
+
* Deployment instructions
|
23
|
+
|
24
|
+
* ...
|
25
|
+
|
26
|
+
|
27
|
+
Please feel free to use a different markup language if you do not plan to run
|
28
|
+
<tt>rake doc:app</tt>.
|
data/Rakefile
CHANGED
@@ -1 +1,6 @@
|
|
1
|
-
|
1
|
+
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
|
+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
|
+
|
4
|
+
require File.expand_path('../config/application', __FILE__)
|
5
|
+
|
6
|
+
Rails.application.load_tasks
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// compiled file.
|
9
|
+
//
|
10
|
+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require turbolinks
|
16
|
+
//= require_tree .
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
12
|
+
*
|
13
|
+
*= require_tree .
|
14
|
+
*= require_self
|
15
|
+
*/
|
File without changes
|
data/app/models/.keep
ADDED
File without changes
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>BirtView</title>
|
5
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
|
+
</head>
|
9
|
+
<body>
|
10
|
+
|
11
|
+
<%= yield %>
|
12
|
+
|
13
|
+
</body>
|
14
|
+
</html>
|
data/bin/bundle
ADDED
data/bin/rails
ADDED
data/bin/rake
ADDED
data/bin/setup
CHANGED
@@ -1,7 +1,29 @@
|
|
1
|
-
#!/bin/
|
2
|
-
|
3
|
-
IFS=$'\n\t'
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
require 'pathname'
|
4
3
|
|
5
|
-
|
4
|
+
# path to your application root.
|
5
|
+
APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
|
6
6
|
|
7
|
-
|
7
|
+
Dir.chdir APP_ROOT do
|
8
|
+
# This script is a starting point to setup your application.
|
9
|
+
# Add necessary setup steps to this file:
|
10
|
+
|
11
|
+
puts "== Installing dependencies =="
|
12
|
+
system "gem install bundler --conservative"
|
13
|
+
system "bundle check || bundle install"
|
14
|
+
|
15
|
+
# puts "\n== Copying sample files =="
|
16
|
+
# unless File.exist?("config/database.yml")
|
17
|
+
# system "cp config/database.yml.sample config/database.yml"
|
18
|
+
# end
|
19
|
+
|
20
|
+
puts "\n== Preparing database =="
|
21
|
+
system "bin/rake db:setup"
|
22
|
+
|
23
|
+
puts "\n== Removing old logs and tempfiles =="
|
24
|
+
system "rm -f log/*"
|
25
|
+
system "rm -rf tmp/cache"
|
26
|
+
|
27
|
+
puts "\n== Restarting application server =="
|
28
|
+
system "touch tmp/restart.txt"
|
29
|
+
end
|
data/bin/spring
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# This file loads spring without using Bundler, in order to be fast.
|
4
|
+
# It gets overwritten when you run the `spring binstub` command.
|
5
|
+
|
6
|
+
unless defined?(Spring)
|
7
|
+
require "rubygems"
|
8
|
+
require "bundler"
|
9
|
+
|
10
|
+
if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ (?: )*spring \((.*?)\)$.*?^$/m)
|
11
|
+
Gem.paths = { "GEM_PATH" => [Bundler.bundle_path.to_s, *Gem.path].uniq }
|
12
|
+
gem "spring", match[1]
|
13
|
+
require "spring/binstub"
|
14
|
+
end
|
15
|
+
end
|
data/birt-view.gemspec
CHANGED
@@ -6,7 +6,7 @@ require 'birt/view/version'
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "birt-view"
|
8
8
|
spec.version = Birt::View::VERSION
|
9
|
-
spec.authors = ["
|
9
|
+
spec.authors = ["Saxer"]
|
10
10
|
spec.email = ["15201280641@qq.com"]
|
11
11
|
|
12
12
|
spec.summary = %q{birt view}
|
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.homepage = "https://github.com/mumaoxi/birt-view"
|
15
15
|
spec.license = "MIT"
|
16
16
|
|
17
|
-
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(db|log|public|config|test|spec|features)/}) }
|
18
18
|
spec.bindir = "exe"
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
@@ -25,4 +25,5 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.9"
|
27
27
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_runtime_dependency "birt-api", "~> 0.1.6"
|
28
29
|
end
|
data/config.ru
ADDED
data/lib/assets/.keep
ADDED
File without changes
|
data/lib/birt/view/version.rb
CHANGED
data/lib/tasks/.keep
ADDED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: birt-view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Saxer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: birt-api
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.1.6
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.1.6
|
41
55
|
description: birt view includes csss javascript etc.
|
42
56
|
email:
|
43
57
|
- 15201280641@qq.com
|
@@ -50,12 +64,29 @@ files:
|
|
50
64
|
- Gemfile
|
51
65
|
- LICENSE
|
52
66
|
- README.md
|
67
|
+
- README.rdoc
|
53
68
|
- Rakefile
|
69
|
+
- app/assets/images/.keep
|
70
|
+
- app/assets/javascripts/application.js
|
71
|
+
- app/assets/stylesheets/application.css
|
72
|
+
- app/controllers/application_controller.rb
|
73
|
+
- app/controllers/concerns/.keep
|
74
|
+
- app/helpers/application_helper.rb
|
75
|
+
- app/models/.keep
|
76
|
+
- app/models/concerns/.keep
|
77
|
+
- app/views/layouts/application.html.erb
|
78
|
+
- bin/bundle
|
54
79
|
- bin/console
|
80
|
+
- bin/rails
|
81
|
+
- bin/rake
|
55
82
|
- bin/setup
|
83
|
+
- bin/spring
|
56
84
|
- birt-view.gemspec
|
85
|
+
- config.ru
|
86
|
+
- lib/assets/.keep
|
57
87
|
- lib/birt/view.rb
|
58
88
|
- lib/birt/view/version.rb
|
89
|
+
- lib/tasks/.keep
|
59
90
|
homepage: https://github.com/mumaoxi/birt-view
|
60
91
|
licenses:
|
61
92
|
- MIT
|