o2webappizer 0.1.0
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 +7 -0
- data/.gitignore +13 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +1 -0
- data/bin/console +14 -0
- data/bin/o2webappizer +18 -0
- data/bin/setup +7 -0
- data/lib/o2webappizer/app_builder.rb +4 -0
- data/lib/o2webappizer/generators/app_generator.rb +7 -0
- data/lib/o2webappizer/version.rb +5 -0
- data/lib/o2webappizer.rb +6 -0
- data/o2webappizer.gemspec +29 -0
- data/templates/dot_gitignore +77 -0
- metadata +114 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: f827145c752dc541e689af955856bc88b7d42b8b
|
|
4
|
+
data.tar.gz: 5c990c20b28d0097bbbc622f9ad329dad162ebd7
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 15fc25cfc7fb2fd4f9e4a06dc468b5531cc1d52467f79cfba94055caf9bce0226480c46e230237344cd5b59ca946c52676a02548ae91b5019447b98520d5342e
|
|
7
|
+
data.tar.gz: fe53c2eb39e291af9cc3e24ad95ecaf95cd63bb36c9fadae92fa21446c51e6652f90ed44c4efd367234ba462e15f8cb13dfbccc73d98a6936f556167514ebb7d
|
data/.gitignore
ADDED
data/.ruby-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.3
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2016 Patrice Lebel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# O2webappizer
|
|
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/o2webappizer`. 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
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
Add this line to your application's Gemfile:
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
gem 'o2webappizer'
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
And then execute:
|
|
16
|
+
|
|
17
|
+
$ bundle
|
|
18
|
+
|
|
19
|
+
Or install it yourself as:
|
|
20
|
+
|
|
21
|
+
$ gem install o2webappizer
|
|
22
|
+
|
|
23
|
+
## Usage
|
|
24
|
+
|
|
25
|
+
TODO: Write usage instructions here
|
|
26
|
+
|
|
27
|
+
## Development
|
|
28
|
+
|
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
|
30
|
+
|
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
|
32
|
+
|
|
33
|
+
## Contributing
|
|
34
|
+
|
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/o2webappizer.
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## License
|
|
39
|
+
|
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
41
|
+
|
data/Rakefile
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/console
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
|
|
3
|
+
require "bundler/setup"
|
|
4
|
+
require "o2webappizer"
|
|
5
|
+
|
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
|
8
|
+
|
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
|
10
|
+
# require "pry"
|
|
11
|
+
# Pry.start
|
|
12
|
+
|
|
13
|
+
require "irb"
|
|
14
|
+
IRB.start
|
data/bin/o2webappizer
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
require 'pathname'
|
|
3
|
+
|
|
4
|
+
source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path
|
|
5
|
+
$LOAD_PATH << source_path
|
|
6
|
+
|
|
7
|
+
require 'o2webappizer'
|
|
8
|
+
|
|
9
|
+
if ['-v', '--version'].include? ARGV[0]
|
|
10
|
+
puts O2webappizer::VERSION
|
|
11
|
+
exit 0
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
templates_root = File.expand_path(File.join("..", "templates"), File.dirname(__FILE__))
|
|
15
|
+
O2webappizer::AppGenerator.source_root templates_root
|
|
16
|
+
O2webappizer::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root
|
|
17
|
+
|
|
18
|
+
O2webappizer::AppGenerator.start
|
data/bin/setup
ADDED
data/lib/o2webappizer.rb
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'o2webappizer/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.required_ruby_version = ">= #{O2webappizer::RUBY_VERSION}"
|
|
8
|
+
|
|
9
|
+
spec.name = "o2webappizer"
|
|
10
|
+
spec.version = O2webappizer::VERSION
|
|
11
|
+
spec.authors = ["Patrice Lebel"]
|
|
12
|
+
spec.email = ["patrice@lebel.com"]
|
|
13
|
+
|
|
14
|
+
spec.summary = "Project Boilerplate Builder used by O2Web"
|
|
15
|
+
spec.description = "Project Boilerplate Builder used by O2Web"
|
|
16
|
+
spec.homepage = "https://github.com/o2web/o2webappizer"
|
|
17
|
+
spec.license = "MIT"
|
|
18
|
+
|
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
20
|
+
spec.bindir = "bin"
|
|
21
|
+
spec.executables = ["o2webappizer"]
|
|
22
|
+
spec.require_paths = ["lib"]
|
|
23
|
+
|
|
24
|
+
spec.add_dependency 'rails', "~> #{O2webappizer::RAILS_VERSION}", ">= #{O2webappizer::RAILS_VERSION}.0"
|
|
25
|
+
|
|
26
|
+
spec.add_runtime_dependency 'bundler', '~> 1.10', '~> 1.3'
|
|
27
|
+
|
|
28
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
|
29
|
+
end
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
|
|
2
|
+
#
|
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
|
5
|
+
# git config --global core.excludesfile '~/.gitignore_global'
|
|
6
|
+
|
|
7
|
+
# Ignore bundler config.
|
|
8
|
+
/.bundle
|
|
9
|
+
|
|
10
|
+
# Ignore the default SQLite database.
|
|
11
|
+
/db/*.sqlite3
|
|
12
|
+
/db/*.sqlite3-journal
|
|
13
|
+
/db/data.dev.yml
|
|
14
|
+
|
|
15
|
+
# Ignore all logfiles and tempfiles.
|
|
16
|
+
/log/*
|
|
17
|
+
!/log/.keep
|
|
18
|
+
/tmp
|
|
19
|
+
|
|
20
|
+
/public/assets/*
|
|
21
|
+
/public/spree/*
|
|
22
|
+
/public/system/*
|
|
23
|
+
/public/images/*
|
|
24
|
+
!/public/images/mini
|
|
25
|
+
!/public/images/thumb
|
|
26
|
+
!/public/images/small
|
|
27
|
+
!/public/images/medium
|
|
28
|
+
!/public/images/large
|
|
29
|
+
!/public/images/full
|
|
30
|
+
!/public/images/huge
|
|
31
|
+
!/public/images/original
|
|
32
|
+
!/public/images/loading.gif
|
|
33
|
+
/private/*
|
|
34
|
+
|
|
35
|
+
# Ignore uploads folder
|
|
36
|
+
uploads/*
|
|
37
|
+
cache/pictures/*
|
|
38
|
+
|
|
39
|
+
#default stuff
|
|
40
|
+
.DS_Store
|
|
41
|
+
.sass-cache
|
|
42
|
+
|
|
43
|
+
tools/bower/vendor/*
|
|
44
|
+
|
|
45
|
+
.vagrant/*
|
|
46
|
+
|
|
47
|
+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
|
|
48
|
+
*.iml
|
|
49
|
+
|
|
50
|
+
## Directory-based project format:
|
|
51
|
+
.idea/
|
|
52
|
+
|
|
53
|
+
# if you remove the above rule, at least ignore the following:
|
|
54
|
+
|
|
55
|
+
# User-specific stuff:
|
|
56
|
+
# .idea/workspace.xml
|
|
57
|
+
# .idea/tasks.xml
|
|
58
|
+
# .idea/dictionaries
|
|
59
|
+
# .idea/shelf
|
|
60
|
+
|
|
61
|
+
# Sensitive or high-churn files:
|
|
62
|
+
# .idea/dataSources.ids
|
|
63
|
+
# .idea/dataSources.xml
|
|
64
|
+
# .idea/sqlDataSources.xml
|
|
65
|
+
# .idea/dynamic.xml
|
|
66
|
+
# .idea/uiDesigner.xml
|
|
67
|
+
|
|
68
|
+
# Gradle:
|
|
69
|
+
# .idea/gradle.xml
|
|
70
|
+
# .idea/libraries
|
|
71
|
+
|
|
72
|
+
# Mongo Explorer plugin:
|
|
73
|
+
# .idea/mongoSettings.xml
|
|
74
|
+
|
|
75
|
+
## File-based project format:
|
|
76
|
+
*.ipr
|
|
77
|
+
*.iws
|
metadata
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: o2webappizer
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Patrice Lebel
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-01-06 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: rails
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '4.2'
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 4.2.0
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '4.2'
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 4.2.0
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: bundler
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.10'
|
|
40
|
+
- - "~>"
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: '1.3'
|
|
43
|
+
type: :runtime
|
|
44
|
+
prerelease: false
|
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
46
|
+
requirements:
|
|
47
|
+
- - "~>"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '1.10'
|
|
50
|
+
- - "~>"
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: '1.3'
|
|
53
|
+
- !ruby/object:Gem::Dependency
|
|
54
|
+
name: rake
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '10.0'
|
|
60
|
+
type: :development
|
|
61
|
+
prerelease: false
|
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
63
|
+
requirements:
|
|
64
|
+
- - "~>"
|
|
65
|
+
- !ruby/object:Gem::Version
|
|
66
|
+
version: '10.0'
|
|
67
|
+
description: Project Boilerplate Builder used by O2Web
|
|
68
|
+
email:
|
|
69
|
+
- patrice@lebel.com
|
|
70
|
+
executables:
|
|
71
|
+
- o2webappizer
|
|
72
|
+
extensions: []
|
|
73
|
+
extra_rdoc_files: []
|
|
74
|
+
files:
|
|
75
|
+
- ".gitignore"
|
|
76
|
+
- ".ruby-version"
|
|
77
|
+
- Gemfile
|
|
78
|
+
- LICENSE.txt
|
|
79
|
+
- README.md
|
|
80
|
+
- Rakefile
|
|
81
|
+
- bin/console
|
|
82
|
+
- bin/o2webappizer
|
|
83
|
+
- bin/setup
|
|
84
|
+
- lib/o2webappizer.rb
|
|
85
|
+
- lib/o2webappizer/app_builder.rb
|
|
86
|
+
- lib/o2webappizer/generators/app_generator.rb
|
|
87
|
+
- lib/o2webappizer/version.rb
|
|
88
|
+
- o2webappizer.gemspec
|
|
89
|
+
- templates/dot_gitignore
|
|
90
|
+
homepage: https://github.com/o2web/o2webappizer
|
|
91
|
+
licenses:
|
|
92
|
+
- MIT
|
|
93
|
+
metadata: {}
|
|
94
|
+
post_install_message:
|
|
95
|
+
rdoc_options: []
|
|
96
|
+
require_paths:
|
|
97
|
+
- lib
|
|
98
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
99
|
+
requirements:
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: 2.2.3
|
|
103
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
|
+
requirements:
|
|
105
|
+
- - ">="
|
|
106
|
+
- !ruby/object:Gem::Version
|
|
107
|
+
version: '0'
|
|
108
|
+
requirements: []
|
|
109
|
+
rubyforge_project:
|
|
110
|
+
rubygems_version: 2.4.5.1
|
|
111
|
+
signing_key:
|
|
112
|
+
specification_version: 4
|
|
113
|
+
summary: Project Boilerplate Builder used by O2Web
|
|
114
|
+
test_files: []
|