nrb 1.0.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 6eac69428b7b2b07970348f68f630fe0ab775275
4
+ data.tar.gz: 76f0bff634dae9df1a549e3f33bf7614f51a98f5
5
+ SHA512:
6
+ metadata.gz: 49c0a03296a4ac0ff1ff61a793a307ce122534382757069b5fbbae6406bdd38d327660d1d0b04e02178abbdc835f0deb22c552955dbdd603a26d4b3ea3535d33
7
+ data.tar.gz: b375a8ced1fa678b520df29e69b6cd6b8f15c9f456daf35d40143e783e9eeb4d32a87b5ea57ddb369e813552e4930f0a384e0765ee13605307fec6ec7be53db3
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Stefan Rotariu
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,60 @@
1
+ # Ninja Ruby - Nrb
2
+
3
+ Ninja Ruby scripts with easy persistence for your experimenting needs
4
+
5
+ # Idea
6
+
7
+ **TLDR**: `$ nrb new <idea-name>`
8
+
9
+ Say you want to validate some idea. Maybe crawl some page, API, or process some file. Whatever scratches your itch.
10
+
11
+ > Cool, I can get all this data from there. But what do I do with it?
12
+
13
+ So you want some kind of persistence?
14
+
15
+ > I'll just dump the data in memory into some array or object, then do some stuff to it later.
16
+
17
+ But maybe you want to show it to some colleague or your boss.
18
+
19
+ > Ok I'll dump it into some file.
20
+
21
+ Now we're getting somewhere. But it's hard to analyze later. Or you don't want to hit the API again when you run your script.
22
+
23
+ > Hmm, I'll just dump it in some database!
24
+
25
+ And 5 minutes later you realize it's just a simple script. You don't want to mess with all the boilerplate required to setup the db and query it with ugly SQL.
26
+
27
+ Also, as you hit more and more edge cases with your idea, you realize you just have a big `.rb` file with no structure and your idea is hidden inside loops and control structures instead.
28
+
29
+ > I'll add some structure then: extract some methods into classes and classes into files and...
30
+
31
+ And now you have to do boilerplate for requiring files..
32
+
33
+ > Fuck it, I'll just do a Rails App!
34
+
35
+ Or you could just use `$ nrb new <idea-name>` and not worry about anything!
36
+
37
+ ## Installation
38
+
39
+ $ gem install nrb
40
+
41
+ ## Usage
42
+
43
+ $ nrb help
44
+
45
+ ## TODO
46
+
47
+ ## Development
48
+
49
+ Run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
50
+
51
+ 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).
52
+
53
+ ## Contributing
54
+
55
+ Bug reports and pull requests are welcome on GitHub at https://github.com/shuriu/nrb.
56
+
57
+ ## License
58
+
59
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
60
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
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 :default => :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "nrb"
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/nrb ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+
5
+ if %w(-v --version).include?(ARGV.first)
6
+ require 'nrb/version'
7
+ puts Nrb::VERSION
8
+ exit
9
+ end
10
+
11
+ require 'nrb'
12
+ Nrb::CLI.start(ARGV)
data/lib/nrb.rb ADDED
@@ -0,0 +1,37 @@
1
+ require 'ostruct'
2
+ require 'pry'
3
+ require 'binding_of_caller'
4
+ require 'pry-byebug'
5
+ require 'standalone_migrations'
6
+ require 'sqlite3'
7
+ require 'nrb/version'
8
+
9
+ module Nrb
10
+ class Configuration < OpenStruct; end
11
+
12
+ class << self
13
+ def config
14
+ @config ||= Configuration.new
15
+ yield @config if block_given?
16
+ @config
17
+ end
18
+ alias_method :configure, :config
19
+
20
+ def root
21
+ config.root || Dir.pwd
22
+ end
23
+
24
+ def inside?
25
+ gemfile = File.join(Dir.pwd, 'Gemfile')
26
+ return false unless File.exist? gemfile
27
+
28
+ !!(File.read(gemfile) =~ /gem\s+['"]nrb['"]/)
29
+ end
30
+ end
31
+ end
32
+
33
+ Nrb.configure do |config|
34
+ config.directories = %w(models services)
35
+ end
36
+
37
+ require 'nrb/cli'
data/lib/nrb/cli.rb ADDED
@@ -0,0 +1,32 @@
1
+ require 'pry'
2
+ require 'binding_of_caller'
3
+ require 'thor'
4
+ require 'nrb/commands/script'
5
+ require 'nrb/commands/starter'
6
+ require 'nrb/commands/console'
7
+ require 'nrb/commands/generate'
8
+ require 'nrb/commands/destroy'
9
+
10
+ module Nrb
11
+ class CLI < Thor
12
+ register Nrb::Commands::Script, 'new', 'new <name-or-path> [OPTIONS]',
13
+ Nrb::Commands::Script.desc
14
+ tasks['new'].options = Nrb::Commands::Script.class_options
15
+
16
+ register Nrb::Commands::Starter, 'start', '[s]tart',
17
+ Nrb::Commands::Starter.desc
18
+ map 's' => :start
19
+
20
+ register Nrb::Commands::Console, 'console', '[c]onsole',
21
+ Nrb::Commands::Console.desc
22
+ map 'c' => :console
23
+
24
+ register Nrb::Commands::Generate, 'generate', '[g]enerate <resource> <name>',
25
+ Nrb::Commands::Generate.desc
26
+ map 'g' => :generate
27
+
28
+ register Nrb::Commands::Destroy, 'destroy', '[d]estroy <resource> <name>',
29
+ Nrb::Commands::Destroy.desc
30
+ map 'd' => :destroy
31
+ end
32
+ end
@@ -0,0 +1,14 @@
1
+ require 'nrb/commands/inside_group'
2
+
3
+ module Nrb
4
+ module Commands
5
+ class Console < InsideGroup
6
+ desc_with_warning 'Jump into a Pry console with your project loaded'
7
+
8
+ def start
9
+ require_main_file
10
+ Pry.start
11
+ end
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,42 @@
1
+ require 'nrb/commands/inside_group'
2
+
3
+ module Nrb
4
+ module Commands
5
+ class Destroy < InsideGroup
6
+ desc_with_warning "Destroy a generated resource"
7
+
8
+ argument :resource, type: :string, required: true,
9
+ desc: 'resource to destroy',
10
+ banner: 'RESOURCE',
11
+ enum: Nrb.config.directories.map(&:singularize)
12
+
13
+
14
+ argument :name, type: :string, required: true,
15
+ desc: 'name of the resource',
16
+ banner: 'NAME'
17
+
18
+ def valid_resource?
19
+ valid_resources = Nrb.config.directories.map(&:singularize)
20
+ return if valid_resources.include? resource
21
+ say "RESOURCE must be one of: #{valid_resources.join(', ')}."
22
+ exit
23
+ end
24
+
25
+ def generate_resource
26
+ remove_file target("#{name.underscore}.rb")
27
+
28
+ # Also remove the *_create_resource migration
29
+ if resource == 'model'
30
+ migration_file = Dir["db/migrate/*create_#{name.underscore.pluralize}.rb"].first
31
+ remove_file migration_file if migration_file
32
+ end
33
+ end
34
+
35
+ private
36
+
37
+ def target(final = nil)
38
+ File.join(File.expand_path(resource.pluralize), final.to_s)
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,48 @@
1
+ require 'nrb/commands/inside_group'
2
+
3
+ module Nrb
4
+ module Commands
5
+ class Generate < InsideGroup
6
+ desc_with_warning "Generate a resource (#{Nrb.config.directories.join(', ')})"
7
+
8
+ argument :resource, type: :string, required: true,
9
+ desc: 'resource to generate',
10
+ banner: 'RESOURCE',
11
+ enum: Nrb.config.directories.map(&:singularize)
12
+
13
+
14
+ argument :name, type: :string, required: true,
15
+ desc: 'name of the resource',
16
+ banner: 'NAME'
17
+
18
+ def valid_resource?
19
+ valid_resources = Nrb.config.directories.map(&:singularize)
20
+ return if valid_resources.include? resource
21
+ say "RESOURCE must be one of: #{valid_resources.join(', ')}."
22
+ exit
23
+ end
24
+
25
+ def generate_resource
26
+ template "templates/#{resource}.rb.tt", target("#{name.underscore}.rb"),
27
+ name: name.camelize
28
+ end
29
+
30
+ def create_table
31
+ return unless resource == 'model'
32
+
33
+ migration_name = "create_#{name.underscore.pluralize}"
34
+ options = args.join(' ')
35
+
36
+ inside Nrb.root do
37
+ run "rake db:new_migration name=#{migration_name} options='#{options}'"
38
+ end
39
+ end
40
+
41
+ private
42
+
43
+ def target(final = nil)
44
+ File.join(File.expand_path(resource.pluralize), final.to_s)
45
+ end
46
+ end
47
+ end
48
+ end
@@ -0,0 +1,40 @@
1
+ module Nrb
2
+ module Commands
3
+ class InsideGroup < Thor::Group
4
+ include Thor::Actions
5
+
6
+ def self.warning
7
+ 'NOTE: Available inside a NinjaRuby project' unless Nrb.inside?
8
+ end
9
+
10
+ def self.desc_with_warning(description)
11
+ self.desc [description, warning].compact.join('. ')
12
+ end
13
+
14
+ def self.source_root
15
+ File.expand_path('..', __dir__)
16
+ end
17
+
18
+ def check_inside?
19
+ return if Nrb.inside?
20
+ klass_name = self.class.to_s.split('::').last
21
+ say "You need to be inside a NinjaRuby folder to run the #{klass_name} command."
22
+ exit
23
+ end
24
+
25
+ private
26
+
27
+ def require_main_file
28
+ assumed_file_name = "#{Nrb.root.split('/').last}.rb"
29
+ assumed_file_path = File.join(Nrb.root, assumed_file_name)
30
+
31
+ if File.exist?(assumed_file_path)
32
+ require File.join(Nrb.root, assumed_file_name)
33
+ else
34
+ say 'Could not load file :(.'
35
+ exit
36
+ end
37
+ end
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,92 @@
1
+ module Nrb
2
+ module Commands
3
+ class Script < Thor::Group
4
+ include Thor::Actions
5
+
6
+ desc 'Creates a Ninja Ruby Script at the given path'
7
+
8
+ argument :path_or_folder_name, type: :string, required: true,
9
+ desc: 'The name of the project, or the path.'
10
+
11
+ class_option :init_repo, default: true, type: :boolean,
12
+ desc: 'Initialize a repository at the target location',
13
+ aliases: '-r'
14
+ class_option :bundle_install, default: true, type: :boolean,
15
+ desc: 'Run bundle install after generating the skeleton',
16
+ aliases: '-b'
17
+
18
+ def self.source_root
19
+ File.expand_path('..', __dir__)
20
+ end
21
+
22
+ def gitignore
23
+ template 'templates/.gitignore.tt', target('.gitignore')
24
+ end
25
+
26
+ def readme
27
+ template 'templates/README.md.tt', target('README.md'),
28
+ title: name,
29
+ version: Nrb::VERSION
30
+ end
31
+
32
+ def gemfile
33
+ template 'templates/Gemfile.tt', target('Gemfile'),
34
+ version: Nrb::VERSION
35
+ end
36
+
37
+ def rakefile
38
+ template 'templates/Rakefile.tt', target('Rakefile')
39
+ end
40
+
41
+ def config_nrb
42
+ template 'templates/config/nrb.rb.tt', target('config/nrb.rb'),
43
+ directories: Nrb.config.directories
44
+ end
45
+
46
+ def directories
47
+ Nrb.config.directories.each do |dir|
48
+ create_file target("#{dir}/.keep")
49
+ end
50
+ end
51
+
52
+ def boot
53
+ template 'templates/config/boot.rb.tt', target('config/boot.rb')
54
+ end
55
+
56
+ def db_config
57
+ template 'templates/db/config.yml.tt', target('db/config.yml'),
58
+ db: name
59
+ end
60
+
61
+ def script_file
62
+ template 'templates/script.rb.tt', "#{target(name)}.rb"
63
+ end
64
+
65
+ def initialize_repo
66
+ return unless options[:repo]
67
+
68
+ inside target, verbose: true do
69
+ run 'git init'
70
+ end
71
+ end
72
+
73
+ def bundle_install
74
+ return unless options[:bundle]
75
+
76
+ inside target, verbose: true do
77
+ run 'bundle install'
78
+ end
79
+ end
80
+
81
+ private
82
+
83
+ def target(final = nil)
84
+ File.join(File.expand_path(path_or_folder_name), final.to_s)
85
+ end
86
+
87
+ def name
88
+ File.basename(path_or_folder_name)
89
+ end
90
+ end
91
+ end
92
+ end
@@ -0,0 +1,13 @@
1
+ require 'nrb/commands/inside_group'
2
+
3
+ module Nrb
4
+ module Commands
5
+ class Starter < InsideGroup
6
+ desc_with_warning "Require the main file"
7
+
8
+ def start
9
+ require_main_file
10
+ end
11
+ end
12
+ end
13
+ end
@@ -0,0 +1,6 @@
1
+ # Ignore bundler config.
2
+ /.bundle
3
+
4
+ # Ignore the default SQLite database.
5
+ /db/*.sqlite3
6
+ /db/*.sqlite3-journal
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ ruby '2.3.0'
4
+
5
+ gem 'nrb', '<%= config[:version] %>'
@@ -0,0 +1,3 @@
1
+ # <%= config[:title] %>
2
+
3
+ ###### Generated with `nrb` v.<%= config[:version] %>
@@ -0,0 +1,3 @@
1
+ require File.join(__dir__, 'config/boot')
2
+
3
+ StandaloneMigrations::Tasks.load_tasks
@@ -0,0 +1,25 @@
1
+ # Setup the listed gems in the gemfile
2
+ require 'bundler/setup'
3
+ <%# TODO: Maybe add gemfile groups? %>
4
+ # Actually require the gems
5
+ Bundler.require(:default)
6
+
7
+ # Set the project root
8
+ Nrb.config.root = File.expand_path('..', __dir__)
9
+
10
+ # Add the root to the load path
11
+ $:.unshift(Nrb.root)
12
+
13
+ # Require other configurations from the config/nrb.rb file
14
+ require 'config/nrb'
15
+
16
+ # Setup ActiveRecord
17
+ require 'logger'
18
+ ActiveRecord::Base.configurations = YAML.load_file('db/config.yml')
19
+ ActiveRecord::Base.establish_connection(:development)
20
+ ActiveRecord::Base.logger = Logger.new(STDOUT)
21
+
22
+ # Finally require files inside config.directories
23
+ Nrb.config.directories.each do |dir|
24
+ Dir[File.join(dir, '*.rb')].each { |f| require(f) }
25
+ end
@@ -0,0 +1,7 @@
1
+ Nrb.configure do |config|
2
+ # Root of the script folder
3
+ config.root = File.expand_path('..', __dir__)
4
+
5
+ # Default directories to autoload
6
+ # config.directories = %w(<%= config[:directories].join(' ') %>)
7
+ end
@@ -0,0 +1,5 @@
1
+ development:
2
+ adapter: sqlite3
3
+ pool: 5
4
+ timeout: 5000
5
+ database: db/<%= config[:db] %>.sqlite3
@@ -0,0 +1,3 @@
1
+ class <%= config[:name] %> < ActiveRecord::Base
2
+
3
+ end
@@ -0,0 +1,3 @@
1
+ require File.join(__dir__, 'config/boot')
2
+
3
+ puts 'do the monkey with me!'
@@ -0,0 +1,3 @@
1
+ class <%= config[:name] %>
2
+
3
+ end
@@ -0,0 +1,3 @@
1
+ module Nrb
2
+ VERSION = "1.0.0"
3
+ end
data/nrb.gemspec ADDED
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'nrb/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "nrb"
8
+ spec.version = Nrb::VERSION
9
+ spec.authors = ["shuriu"]
10
+ spec.email = ["stefan.rotariu@gmail.com"]
11
+
12
+ spec.summary = %q{Ninja Ruby scripts with easy persistence for your experimenting needs.}
13
+ spec.homepage = "https://github.com/shuriu/nrb"
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "bin"
18
+ spec.executables = ["nrb"]
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.11"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "minitest", "~> 5.0"
24
+ spec.add_dependency "thor", "~> 0.19.1"
25
+ spec.add_dependency "pry"
26
+ spec.add_dependency "pry-byebug"
27
+ spec.add_dependency "binding_of_caller"
28
+ spec.add_dependency "standalone_migrations", "~> 4.0.3"
29
+ spec.add_dependency "sqlite3", "~> 1.3.11"
30
+ end
metadata ADDED
@@ -0,0 +1,199 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nrb
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - shuriu
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-03-08 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.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '5.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: thor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.19.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.19.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: pry-byebug
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: binding_of_caller
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: standalone_migrations
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 4.0.3
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 4.0.3
125
+ - !ruby/object:Gem::Dependency
126
+ name: sqlite3
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 1.3.11
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.3.11
139
+ description:
140
+ email:
141
+ - stefan.rotariu@gmail.com
142
+ executables:
143
+ - nrb
144
+ extensions: []
145
+ extra_rdoc_files: []
146
+ files:
147
+ - ".gitignore"
148
+ - ".travis.yml"
149
+ - Gemfile
150
+ - LICENSE.txt
151
+ - README.md
152
+ - Rakefile
153
+ - bin/console
154
+ - bin/nrb
155
+ - lib/nrb.rb
156
+ - lib/nrb/cli.rb
157
+ - lib/nrb/commands/console.rb
158
+ - lib/nrb/commands/destroy.rb
159
+ - lib/nrb/commands/generate.rb
160
+ - lib/nrb/commands/inside_group.rb
161
+ - lib/nrb/commands/script.rb
162
+ - lib/nrb/commands/starter.rb
163
+ - lib/nrb/templates/.gitignore.tt
164
+ - lib/nrb/templates/Gemfile.tt
165
+ - lib/nrb/templates/README.md.tt
166
+ - lib/nrb/templates/Rakefile.tt
167
+ - lib/nrb/templates/config/boot.rb.tt
168
+ - lib/nrb/templates/config/nrb.rb.tt
169
+ - lib/nrb/templates/db/config.yml.tt
170
+ - lib/nrb/templates/model.rb.tt
171
+ - lib/nrb/templates/script.rb.tt
172
+ - lib/nrb/templates/service.rb.tt
173
+ - lib/nrb/version.rb
174
+ - nrb.gemspec
175
+ homepage: https://github.com/shuriu/nrb
176
+ licenses:
177
+ - MIT
178
+ metadata: {}
179
+ post_install_message:
180
+ rdoc_options: []
181
+ require_paths:
182
+ - lib
183
+ required_ruby_version: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - ">="
186
+ - !ruby/object:Gem::Version
187
+ version: '0'
188
+ required_rubygems_version: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0'
193
+ requirements: []
194
+ rubyforge_project:
195
+ rubygems_version: 2.6.1
196
+ signing_key:
197
+ specification_version: 4
198
+ summary: Ninja Ruby scripts with easy persistence for your experimenting needs.
199
+ test_files: []