ruby-import 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 37b3cf22591b27dc72a2c43117b18136275bdcc9666736a27b8a75ec93c9f5b1
4
+ data.tar.gz: 8e5122d4e52296360422cf7bb405e97099a5e75074aaf21961bb1cf5a19600ef
5
+ SHA512:
6
+ metadata.gz: 4fc60a97c362a142c1d30cb33c240d24adc2b9523a6bbbfbd413e9bfb852d96b00b683bacc1c837fe3271ae1290fe58a189f316b6cf025996b6ec0a5a61000c7
7
+ data.tar.gz: b8ef6728ed848a9eb79a490cf5744da4af353543f2a4b1ee729d502205ab37d0baa9c52e10f0688127cf88fbe75310b8f6e592352d86222fc881472c6eb49b0b
data/.gitignore ADDED
@@ -0,0 +1,61 @@
1
+ .DS_Store
2
+ .travis/id_rsa
3
+ yarn-error.log
4
+ .vscode
5
+ .envrc
6
+ .powenv
7
+ .byebug_history
8
+ config/chewy.yml
9
+ npm-debug.log
10
+ .smartgf*
11
+ node_modules/
12
+ *.pid
13
+ *.bak
14
+ *.swp
15
+ *.swo
16
+ *.todo
17
+ .buildpath
18
+ .project
19
+ .bundle
20
+ profiles/*
21
+ .yardoc
22
+ log/*
23
+ /tags
24
+ tmp/
25
+ .sass-cache/
26
+ gems.tags
27
+ coverage
28
+ spec/reports
29
+ .pt
30
+ gems.tags
31
+ public/uploads/
32
+ db/*.sqlite3
33
+ gems.tags
34
+ .sass-cache/
35
+ config/secrets.yml
36
+ .bash_history
37
+ .bashrc
38
+ .irb-history
39
+ .mysql_history
40
+ .ssh/
41
+ .vim/
42
+ .viminfo
43
+ .vimrc
44
+ .idea
45
+ .rvmrc
46
+ *~
47
+ config/application.local.yml
48
+ solr/data
49
+ solr/pids
50
+ sunspot-solr.pid
51
+ vendor/assets/components
52
+ ansible/librarian_roles/*
53
+ ansible/tmp/*
54
+ /db/www*.sql
55
+ /db/*.bz2
56
+ vendor/bundle
57
+
58
+ /certificates/*
59
+ !/certificates/.gitkeep
60
+ *.sql.gz
61
+ *.sql
data/.rubocop.yml ADDED
@@ -0,0 +1,12 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+
4
+ Metrics/LineLength:
5
+ Max: 120
6
+
7
+ Style/Copyright:
8
+ Notice: 'Copyright (\(c\) )?2[0-9]{3} .+'
9
+ AutocorrectNotice: "# Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>\n"
10
+ Description: 'Include a copyright notice in each file before any code.'
11
+ Enabled: true
12
+ VersionAdded: '0.30'
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.6.3
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ language: ruby
2
+ cache:
3
+ bundler: true
4
+ before_install:
5
+ - gem update --no-document --remote bundler
6
+ script:
7
+ - bundle exec rake
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at danil@brandymint.ru. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
2
+
3
+ # frozen_string_literal: true
4
+
5
+ source 'https://rubygems.org'
6
+
7
+ # Specify your gem's dependencies in ruby-import.gemspec
8
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,83 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ ruby-import (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.0)
10
+ coderay (1.1.2)
11
+ ffi (1.11.1)
12
+ formatador (0.2.5)
13
+ guard (2.15.1)
14
+ formatador (>= 0.2.4)
15
+ listen (>= 2.7, < 4.0)
16
+ lumberjack (>= 1.0.12, < 2.0)
17
+ nenv (~> 0.1)
18
+ notiffany (~> 0.0)
19
+ pry (>= 0.9.12)
20
+ shellany (~> 0.0)
21
+ thor (>= 0.18.1)
22
+ guard-compat (1.2.1)
23
+ guard-ctags-bundler (1.4.0)
24
+ guard (>= 2.0)
25
+ guard-compat (>= 0.1.0)
26
+ guard-minitest (2.4.6)
27
+ guard-compat (~> 1.2)
28
+ minitest (>= 3.0)
29
+ guard-rubocop (1.3.0)
30
+ guard (~> 2.0)
31
+ rubocop (~> 0.20)
32
+ jaro_winkler (1.5.3)
33
+ listen (3.1.5)
34
+ rb-fsevent (~> 0.9, >= 0.9.4)
35
+ rb-inotify (~> 0.9, >= 0.9.7)
36
+ ruby_dep (~> 1.2)
37
+ lumberjack (1.0.13)
38
+ method_source (0.9.2)
39
+ minitest (5.11.3)
40
+ nenv (0.3.0)
41
+ notiffany (0.1.3)
42
+ nenv (~> 0.1)
43
+ shellany (~> 0.0)
44
+ parallel (1.17.0)
45
+ parser (2.6.4.0)
46
+ ast (~> 2.4.0)
47
+ pry (0.12.2)
48
+ coderay (~> 1.1.0)
49
+ method_source (~> 0.9.0)
50
+ rainbow (3.0.0)
51
+ rake (10.5.0)
52
+ rb-fsevent (0.10.3)
53
+ rb-inotify (0.10.0)
54
+ ffi (~> 1.0)
55
+ rubocop (0.74.0)
56
+ jaro_winkler (~> 1.5.1)
57
+ parallel (~> 1.10)
58
+ parser (>= 2.6)
59
+ rainbow (>= 2.2.2, < 4.0)
60
+ ruby-progressbar (~> 1.7)
61
+ unicode-display_width (>= 1.4.0, < 1.7)
62
+ ruby-progressbar (1.10.1)
63
+ ruby_dep (1.5.0)
64
+ shellany (0.0.1)
65
+ thor (0.20.3)
66
+ unicode-display_width (1.6.0)
67
+
68
+ PLATFORMS
69
+ ruby
70
+
71
+ DEPENDENCIES
72
+ bundler (~> 2.0)
73
+ guard (~> 2.15)
74
+ guard-ctags-bundler (~> 1.4)
75
+ guard-minitest (~> 2.4)
76
+ guard-rubocop (~> 1.3)
77
+ minitest (~> 5.0)
78
+ rake (~> 10.0)
79
+ rubocop (~> 0.74.0)
80
+ ruby-import!
81
+
82
+ BUNDLED WITH
83
+ 2.0.2
data/Guardfile ADDED
@@ -0,0 +1,44 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
4
+
5
+ # A sample Guardfile
6
+ # More info at https://github.com/guard/guard#readme
7
+
8
+ ## Uncomment and set this to only include directories you want to watch
9
+ # directories %w(app lib config test spec features) \
10
+ # .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
11
+
12
+ ## Note: if you are using the `directories` clause above and you are not
13
+ ## watching the project directory ('.'), then you will want to move
14
+ ## the Guardfile to a watched dir and symlink it back, e.g.
15
+ #
16
+ # $ mkdir config
17
+ # $ mv Guardfile config/
18
+ # $ ln -s config/Guardfile .
19
+ #
20
+ # and, you'll have to watch "config/Guardfile" instead of "Guardfile"
21
+
22
+ guard 'ctags-bundler', src_path: ['app', 'lib', 'spec/support'] do
23
+ watch(%r{^(app|lib|spec/support)/.*\.rb$})
24
+ watch('Gemfile.lock')
25
+ end
26
+
27
+ group :red_green_refactor, halt_on_fail: true do
28
+ guard :minitest do
29
+ # with Minitest::Unit
30
+ watch(%r{^test/(.*)\/?(.*)_test\.rb$})
31
+ watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
32
+ watch(%r{^test/test_helper\.rb$}) { 'test' }
33
+
34
+ # with Minitest::Spec
35
+ # watch(%r{^spec/(.*)_spec\.rb$})
36
+ # watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
37
+ # watch(%r{^spec/spec_helper\.rb$}) { 'spec' }
38
+ end
39
+
40
+ guard :rubocop do
41
+ watch(/.+\.rb$/)
42
+ watch(%r{(?:.+/)?\.rubocop(?:_todo)?\.yml$}) { |m| File.dirname(m[0]) }
43
+ end
44
+ end
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2019 Danil Pismenny
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,50 @@
1
+ # ES7 style modules in Ruby.
2
+
3
+ [![Build Status](https://travis-ci.org/dapi/ruby-import.svg?branch=master)](https://travis-ci.org/dapi/ruby-import)
4
+
5
+ Use external module without mixins. No litter to global or local namespace.
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'ruby-import'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install ruby-import
22
+
23
+ ## Usage
24
+
25
+ ```ruby
26
+
27
+ # Import file found in $LOAD_PATH and return a bunch of defined methods
28
+ Utils = import 'utils'
29
+
30
+ # Invoke imported method
31
+ Utils.some_imported_method()
32
+ ```
33
+
34
+ ## Development
35
+
36
+ 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.
37
+
38
+ 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).
39
+
40
+ ## Contributing
41
+
42
+ Bug reports and pull requests are welcome on GitHub at https://github.com/dapi/ruby-import. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
43
+
44
+ ## License
45
+
46
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
47
+
48
+ ## Code of Conduct
49
+
50
+ Everyone interacting in the Ruby::Import project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/dapi/ruby-import/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,14 @@
1
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
2
+
3
+ # frozen_string_literal: true
4
+
5
+ require 'bundler/gem_tasks'
6
+ require 'rake/testtask'
7
+
8
+ Rake::TestTask.new(:test) do |t|
9
+ t.libs << 'test'
10
+ t.libs << 'lib'
11
+ t.test_files = FileList['test/**/*_test.rb']
12
+ end
13
+
14
+ task default: :test
data/bin/console ADDED
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
5
+
6
+ # frozen_string_literal: true
7
+
8
+ require 'bundler/setup'
9
+ require 'ruby_import'
10
+
11
+ # You can add fixtures and/or initialization code here to make experimenting
12
+ # with your gem easier. You can also use a different console, if you like.
13
+
14
+ # (If you use this, don't forget to add pry to your Gemfile!)
15
+ # require "pry"
16
+ # Pry.start
17
+
18
+ require 'irb'
19
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -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,53 @@
1
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
2
+
3
+ # frozen_string_literal: true
4
+
5
+ require 'ruby_import/version'
6
+
7
+ # Implement `import` method
8
+ #
9
+ # rubocop:disable Style/ClassVars
10
+ module RubyImport
11
+ class Error < StandardError; end
12
+ @@imported_files = {}
13
+
14
+ def import(file)
15
+ file += '.rb' unless file.end_with? '.rb'
16
+ file = prepare_file file
17
+ defined_module = @@imported_files[file]
18
+ @@imported_files[file] = defined_module = require_module file unless defined_module
19
+ Class.new { include const_get defined_module }.new
20
+ end
21
+
22
+ private
23
+
24
+ def require_module(file)
25
+ current_constants = Object.constants.dup
26
+ require file
27
+ defined_constants = Object.constants - current_constants
28
+
29
+ raise Error, "Too many constats (#{defined_constants.count}) defined in #{file}" if defined_constants.count > 1
30
+ raise Error, "No module constant defined in #{file}" unless defined_constants.count == 1
31
+
32
+ defined_constants.first ||
33
+ raise(Error, "File #{file} does not export any module to import or it is already imported by other filename")
34
+ end
35
+
36
+ def find_file_path(file)
37
+ path = $LOAD_PATH.find { |p| File.exist? File.join(p, file) }
38
+ raise LoadError, "cannot find such file -- #{file}" if path.nil?
39
+
40
+ File.join(path, file)
41
+ end
42
+
43
+ def prepare_file(file)
44
+ if file.start_with?('.') || file.start_with?('/')
45
+ File.expand_path file
46
+ else
47
+ find_file_path file
48
+ end
49
+ end
50
+ end
51
+ # rubocop:enable Style/ClassVars
52
+
53
+ Object.include RubyImport
@@ -0,0 +1,7 @@
1
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
2
+
3
+ # frozen_string_literal: true
4
+
5
+ module RubyImport
6
+ VERSION = '0.1.0'
7
+ end
@@ -0,0 +1,41 @@
1
+ # Copyright (c) 2018 Danil Pismenny <danil@brandymint.ru>
2
+
3
+ # frozen_string_literal: true
4
+
5
+ lib = File.expand_path('lib', __dir__)
6
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
7
+ require 'ruby_import/version'
8
+
9
+ Gem::Specification.new do |spec|
10
+ spec.name = 'ruby-import'
11
+ spec.version = RubyImport::VERSION
12
+ spec.authors = ['Danil Pismenny']
13
+ spec.email = ['danil@brandymint.ru']
14
+
15
+ spec.summary = 'ES7 style modules in Ruby.'
16
+ spec.description = 'No litter global namespace, no states, no mixins.'
17
+ spec.homepage = 'https://github.com/dapi/ruby-import'
18
+ spec.license = 'MIT'
19
+
20
+ spec.metadata['homepage_uri'] = spec.homepage
21
+ spec.metadata['source_code_uri'] = 'https://github.com/dapi/ruby-import'
22
+ spec.metadata['changelog_uri'] = 'https://github.com/dapi/ruby-import/blob/master/CHANGELOG.md'
23
+
24
+ # Specify which files should be added to the gem when it is released.
25
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
26
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
27
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
28
+ end
29
+ spec.bindir = 'exe'
30
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
31
+ spec.require_paths = ['lib']
32
+
33
+ spec.add_development_dependency 'bundler', '~> 2.0'
34
+ spec.add_development_dependency 'guard', '~> 2.15'
35
+ spec.add_development_dependency 'guard-ctags-bundler', '~> 1.4'
36
+ spec.add_development_dependency 'guard-minitest', '~> 2.4'
37
+ spec.add_development_dependency 'guard-rubocop', '~> 1.3'
38
+ spec.add_development_dependency 'minitest', '~> 5.0'
39
+ spec.add_development_dependency 'rake', '~> 10.0'
40
+ spec.add_development_dependency 'rubocop', '~> 0.74.0'
41
+ end
metadata ADDED
@@ -0,0 +1,174 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-import
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Danil Pismenny
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2019-09-06 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: '2.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: guard
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.15'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.15'
41
+ - !ruby/object:Gem::Dependency
42
+ name: guard-ctags-bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.4'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: guard-minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.4'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.4'
69
+ - !ruby/object:Gem::Dependency
70
+ name: guard-rubocop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.3'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.3'
83
+ - !ruby/object:Gem::Dependency
84
+ name: minitest
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '5.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '5.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: rake
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '10.0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '10.0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 0.74.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 0.74.0
125
+ description: No litter global namespace, no states, no mixins.
126
+ email:
127
+ - danil@brandymint.ru
128
+ executables: []
129
+ extensions: []
130
+ extra_rdoc_files: []
131
+ files:
132
+ - ".gitignore"
133
+ - ".rubocop.yml"
134
+ - ".ruby-version"
135
+ - ".travis.yml"
136
+ - CODE_OF_CONDUCT.md
137
+ - Gemfile
138
+ - Gemfile.lock
139
+ - Guardfile
140
+ - LICENSE.txt
141
+ - README.md
142
+ - Rakefile
143
+ - bin/console
144
+ - bin/setup
145
+ - lib/ruby_import.rb
146
+ - lib/ruby_import/version.rb
147
+ - ruby-import.gemspec
148
+ homepage: https://github.com/dapi/ruby-import
149
+ licenses:
150
+ - MIT
151
+ metadata:
152
+ homepage_uri: https://github.com/dapi/ruby-import
153
+ source_code_uri: https://github.com/dapi/ruby-import
154
+ changelog_uri: https://github.com/dapi/ruby-import/blob/master/CHANGELOG.md
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ">="
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ required_rubygems_version: !ruby/object:Gem::Requirement
165
+ requirements:
166
+ - - ">="
167
+ - !ruby/object:Gem::Version
168
+ version: '0'
169
+ requirements: []
170
+ rubygems_version: 3.0.3
171
+ signing_key:
172
+ specification_version: 4
173
+ summary: ES7 style modules in Ruby.
174
+ test_files: []