railman 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 21b934154eb30ce876ffcbcea3cd6976b6b77934
4
+ data.tar.gz: 6d82e270adec1643519b39890e8264094c6c0c3b
5
+ SHA512:
6
+ metadata.gz: aa4ad784224b593d20124b0db44ebbcc46de631bf89cda5b77d45ad5f74f61b5a70d4fcdfa640a78343c32fe0224153bcb9128d867176c980b8795ef8d48a730
7
+ data.tar.gz: c4707fa7ad9dc57d9a06acb48e575b37a5c0bb53aafd98c948bd4f5e3704986cacab2a409d96d7ee8589d345b077849b7d9a397efd65e13270c3153a5d1cc5a7
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1 @@
1
+ 2.3.0
@@ -0,0 +1,6 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.1.5
4
+ - 2.2.3
5
+ - 2.3.0
6
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in railman.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Igor Jancev
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.
@@ -0,0 +1,56 @@
1
+ # Railman
2
+
3
+ [![Gem Version](http://img.shields.io/gem/v/railman.svg)][gem]
4
+ [![Build Status](http://img.shields.io/travis/igorj/railman.svg)][travis]
5
+ [![Dependency Status](http://img.shields.io/gemnasium/igorj/railman.svg)][gemnasium]
6
+ [![Code Climate](http://img.shields.io/codeclimate/github/igorj/railman.svg)][codeclimate]
7
+ [![Coverage Status](http://img.shields.io/coveralls/igorj/railman.svg)][coveralls]
8
+
9
+ [gem]: https://rubygems.org/gems/railman
10
+ [travis]: http://travis-ci.org/igorj/railman
11
+ [gemnasium]: https://gemnasium.com/igorj/railman
12
+ [codeclimate]: https://codeclimate.com/github/igorj/railman
13
+ [coveralls]: https://coveralls.io/r/igorj/railman
14
+
15
+ Railman generates new rails applications based on a customized template. Railman is currently work in progress.
16
+
17
+
18
+ ## Installation
19
+
20
+ Add this line to your application's Gemfile:
21
+
22
+ ```ruby
23
+ gem 'railman'
24
+ ```
25
+
26
+ And then execute:
27
+
28
+ $ bundle
29
+
30
+ Or install it yourself as:
31
+
32
+ $ gem install railman
33
+
34
+
35
+ ## Usage
36
+
37
+ TODO Describe railman usage
38
+
39
+
40
+ ## Development
41
+
42
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
43
+
44
+ To install this gem onto your local machine, run `bundle exec rake install`.
45
+
46
+ To release a new version, run `bundle exec rake release_patch`, `bundle exec rake release_minor`, oder `bundle exec rake release_major`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to https://rubygems.org.
47
+
48
+
49
+ ## Contributing
50
+
51
+ Bug reports and pull requests are welcome on github at https://github.com/igorj/railman.
52
+
53
+
54
+ ## License
55
+
56
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,38 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList['test/**/*_test.rb']
8
+ end
9
+
10
+ task :patch do
11
+ system "gem bump --tag"
12
+ end
13
+
14
+ task :minor do
15
+ system "gem bump --version minor --tag"
16
+ end
17
+
18
+ task :major do
19
+ system "gem bump --version major --tag"
20
+ end
21
+
22
+ task :publish => [:build] do
23
+ $VERBOSE = nil
24
+ load 'railman/version.rb'
25
+ system "gem push pkg/railman-#{Railman::VERSION}.gem"
26
+ end
27
+
28
+ desc "Bump patch version, create git tag, build the gem and release to geminabox (default)"
29
+ task :release_patch => [:test, :patch, :publish]
30
+
31
+ desc "Bump minor version, create git tag, build the gem and release to geminabox"
32
+ task :release_minor => [:test, :minor, :publish]
33
+
34
+ desc "Bump major version, create git tag, build the gem and release to geminabox"
35
+ task :release_major => [:test, :major, :publish]
36
+
37
+
38
+ task :default => :test
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "<%= @gem_name %>"
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
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require 'railman/cli'
3
+ Railman::CLI.start
@@ -0,0 +1,4 @@
1
+ require 'railman/version'
2
+
3
+ module Railman
4
+ end
@@ -0,0 +1,13 @@
1
+ require 'thor'
2
+ require 'railman'
3
+
4
+ module Railman
5
+ class CLI < Thor
6
+ include Thor::Actions
7
+
8
+ desc "new APPNAME", "Create new rails application named APPNAME"
9
+ def new(name)
10
+ puts "TODO create new rails application: #{name}"
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,3 @@
1
+ module Railman
2
+ VERSION = '0.0.1'
3
+ end
@@ -0,0 +1,28 @@
1
+ $LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
2
+ require 'railman/version'
3
+
4
+ Gem::Specification.new do |spec|
5
+ spec.name = "railman"
6
+ spec.version = Railman::VERSION
7
+ spec.authors = ["Igor Jancev"]
8
+ spec.email = ["igor@masterybits.com"]
9
+ spec.summary = %q{Rails application generator}
10
+ spec.description = %q{Rails application generator that speeds up develoment of new rails applications}
11
+ spec.homepage = "https://github.com/igorj/railman"
12
+ spec.license = "MIT"
13
+
14
+
15
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^test/}) }
16
+ spec.bindir = "exe"
17
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
18
+ spec.require_paths = ["lib"]
19
+
20
+ spec.add_development_dependency "bundler", "~> 1.11"
21
+ spec.add_development_dependency "rake", "~> 10.0"
22
+ spec.add_development_dependency "minitest", "~> 5.8"
23
+ spec.add_development_dependency "minitest-reporters", "~> 1.1"
24
+ spec.add_development_dependency "gem-release", "~> 0.7"
25
+ spec.add_development_dependency "geminabox", "~> 0.13"
26
+
27
+ spec.add_dependency "thor", "~> 0.19"
28
+ end
metadata ADDED
@@ -0,0 +1,157 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: railman
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Igor Jancev
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-04-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: minitest
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '5.8'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.8'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest-reporters
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.1'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.1'
69
+ - !ruby/object:Gem::Dependency
70
+ name: gem-release
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '0.7'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '0.7'
83
+ - !ruby/object:Gem::Dependency
84
+ name: geminabox
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.13'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.13'
97
+ - !ruby/object:Gem::Dependency
98
+ name: thor
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.19'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.19'
111
+ description: Rails application generator that speeds up develoment of new rails applications
112
+ email:
113
+ - igor@masterybits.com
114
+ executables:
115
+ - railman
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - ".gitignore"
120
+ - ".ruby-version"
121
+ - ".travis.yml"
122
+ - Gemfile
123
+ - LICENCE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - exe/railman
129
+ - lib/railman.rb
130
+ - lib/railman/cli.rb
131
+ - lib/railman/version.rb
132
+ - railman.gemspec
133
+ homepage: https://github.com/igorj/railman
134
+ licenses:
135
+ - MIT
136
+ metadata: {}
137
+ post_install_message:
138
+ rdoc_options: []
139
+ require_paths:
140
+ - lib
141
+ required_ruby_version: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
147
+ requirements:
148
+ - - ">="
149
+ - !ruby/object:Gem::Version
150
+ version: '0'
151
+ requirements: []
152
+ rubyforge_project:
153
+ rubygems_version: 2.5.1
154
+ signing_key:
155
+ specification_version: 4
156
+ summary: Rails application generator
157
+ test_files: []