import.rb 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -0
  3. data/import.rb.gemspec +1 -1
  4. data/lib/version.rb +1 -1
  5. metadata +2 -55
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48db16938ffa3703803957ea942a10f840017d52
4
- data.tar.gz: 96fdb9d4a627ccbfd9f8fb9a32dc6622f552892b
3
+ metadata.gz: 9c8efeda908f064fe724ea86726341c7050eff71
4
+ data.tar.gz: 852c4de05c7976e753a46475885397af6996f5d2
5
5
  SHA512:
6
- metadata.gz: 92c7eed7a96e4875b9547d144273722f02f9ee0997da6794be29905b3a872fce26a0a5d5643a38415d8565b5ca2e559803b92a81120e6eb2deca49df01004d17
7
- data.tar.gz: 83c672d5e01fde571ac39e7a5837a8c8c78cdebc40235645f37144f8abf13e80659e9f76b04d055d88196d61f8c1786586186f19e2754cbde295e9b1afb5a062
6
+ metadata.gz: 309e92fdd0dbc5cb4dffe0de68e6c1cf690fdefc18d8f4086c630f1b0303071cfd4faa44ed07cd5941accceac3f39c2b8b6c5bc1216b96203625e438fa0bd01c
7
+ data.tar.gz: 33169b00d63a31fa3eb5d346834c7b4ec1980ed960e6d7f2af6bbe54dd3ce13ca29ac681354962ad96b56204532245f28b76cad4ebc9c653b3aa271540c581ba
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/import.rb.svg)](https://badge.fury.io/rb/import.rb)
2
+
1
3
  # import.rb
2
4
 
3
5
  Instead of `Kernel.require`.
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["p.ck.t22@gmail.com"]
11
11
 
12
12
  spec.summary = "Instead of Kernel.require"
13
- spec.description = File.read('./README.md')
13
+ spec.description = "Instead of Kernel.require"
14
14
  spec.homepage = "https://github.com/pocke/import.rb"
15
15
  spec.license = 'CC0-1.0'
16
16
 
@@ -1 +1 @@
1
- VERSION = '0.1.1'
1
+ VERSION = '0.1.2'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: import.rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Masataka Kuwabara
@@ -38,60 +38,7 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
- description: |+
42
- # import.rb
43
-
44
- Instead of `Kernel.require`.
45
-
46
-
47
- ## Installation
48
-
49
- Add this line to your application's Gemfile:
50
-
51
- ```ruby
52
- gem 'import.rb'
53
- ```
54
-
55
- And then execute:
56
-
57
- $ bundle
58
-
59
- Or install it yourself as:
60
-
61
- $ gem install import.rb
62
-
63
- ## Usage
64
-
65
- - cat.rb
66
-
67
- ```ruby
68
- class Cat
69
- def meow
70
- puts 'meow meow'
71
- end
72
- end
73
- ```
74
-
75
- - main.rb
76
-
77
- ```ruby
78
- require 'import'
79
- cat = import('./cat')::Cat
80
- cat.new.meow # => meow meow
81
-
82
- # Cat # => uninitialized constant Cat (NameError)
83
- ```
84
-
85
- ## Development
86
-
87
- 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.
88
-
89
- 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).
90
-
91
- ## Contributing
92
-
93
- Bug reports and pull requests are welcome on GitHub at https://github.com/pocke/import.rb .
94
-
41
+ description: Instead of Kernel.require
95
42
  email:
96
43
  - p.ck.t22@gmail.com
97
44
  executables: []