rubyment 0.6.25524925 → 0.6.25524941

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rubyment.rb +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9a1abd03a9201ea41e8d34b454bdd7e6c05548df
4
- data.tar.gz: 838266dd765a8b57c164fde3a2f017a2b50c88fa
3
+ metadata.gz: 40fae2d0cd85e64fd3eeccdd69454e73a740474d
4
+ data.tar.gz: d0c2832bd4d2d02685123c2c87626914d726d1fc
5
5
  SHA512:
6
- metadata.gz: 02eb0b5b1b3c9711536b32ae208ef07ced3ece25f3a8e0d3c630d4402688e5e92f1b1cc87e9995c8a5e1813223f94d9c91aa5320e6c1e7da8a2ec2d68fc7844f
7
- data.tar.gz: a73124cac4da04be80bb7d947af80ce9fba8571bb19c6b3508fee008cabdef1f6a56a059f7fff4de9737732d7dd081a35d22f8f8c19fc58fd578c9cc0c25ba3d
6
+ metadata.gz: f4f5e9736a250ac67fd4568e6a7950fdd5b6729e8284580bb59952529fdd802685be227f7c247019c61bfa06add9a5ec3584df88c85158c9ee214306a9acec19
7
+ data.tar.gz: 071519a8ff3dc2b359652d496d308465c33b05cbea22fc8b7e52f4314bb5f979f29e3cf7d56a5a9ec1acd88f916d59366c68b219a330c787cdacf3436f68677e
data/lib/rubyment.rb CHANGED
@@ -1899,7 +1899,7 @@ end
1899
1899
  gem_validate_class ||= self.class.to_s
1900
1900
  gem_validate_class_args ||= {:invoke => ["p", "installed and validated"] }
1901
1901
  gem_validate_class_method ||= "new"
1902
- gem_is_current_file = true # this enables the possibility of building
1902
+ gem_is_current_file = __FILE__ # this enables the possibility of building
1903
1903
  # a gem for the calling file itself, but be aware that lib/gem_file.rb
1904
1904
  # is supposed to be overriden later.
1905
1905
  gem_bin_generate = "bin/#{gem_name}" # generate a bin file
@@ -1968,7 +1968,7 @@ require '#{gem_name}'
1968
1968
  gem_is_current_file && (
1969
1969
  FileUtils.mkdir_p 'lib'
1970
1970
  file_backup "lib/#{gem_name}.rb", "lib/"
1971
- save_file __FILE__, "lib/#{gem_name}.rb"
1971
+ save_file gem_is_current_file, "lib/#{gem_name}.rb"
1972
1972
  )
1973
1973
 
1974
1974
  # this supposes that the current file is listed by the
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.25524925
4
+ version: 0.6.25524941
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribamar Santarosa