my_plugin 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MTA4MDc5Zjc2OWU1ZjFjNTAwOGI0ODU2YzE3MDYyMTEzMjE2MjljMQ==
4
+ YzQ5NGI3MjQxZjhkY2NlOTliNTdhZDdjZDEyNWNiMWI5Mzc2M2VmYQ==
5
5
  data.tar.gz: !binary |-
6
- OTgxMGU3NjFmMzBkZjc5NGE0OTEzOTc0NzIzNmY5NDc3MTNiOTJiYg==
6
+ MWRkN2YwYTAzNGQ0ZmFhYzQ4ZTg3NjBlYjNlM2EyZWRmN2I1NjMwNw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZjBlOTRkOGZjZmUxZTI3ZjEyODYwZjE5MGM0ZjgzMTQwMWY2NGNlOGRkMTcx
10
- YjliZmY1MmEzNDAzMTFkNWE1ZWMwMzk1MDAzNGI2ODQwN2Q1ZGFlMTkxMGMw
11
- MGI1ZmI5ODBjYzBjOGI3NGM4NTQ3MzRiOGQ1YjQ2MmRiNjI5ODQ=
9
+ ZGNlZTI0ZDgwNWFmNDdkMjNhM2UzMzdkMjYzNmZjY2U5NTQwYWFjMjNlNzMy
10
+ OWI4YmVlNDhmYTk0OGQzMTI0MmMyZmYxYjI1ODExMWRkOGRjZWU4N2FmODRl
11
+ ZmI2OThhN2U1MmUzMTI3ZGM0OGZkM2Q0NzE0OWQ0M2JjOGEyOTQ=
12
12
  data.tar.gz: !binary |-
13
- ZDA4YWRmYjczY2IwODlmMTA5ZjZhMWRlNzQ4N2I3OTY1Y2UzZDk1OWIwYTBm
14
- ZTYwYjcyNWU0Y2RkMjU3ZTU5MjhkMTU0OGJkYjNhYzc0ZTY4MmYzZTIxOTll
15
- YWQ3M2I4M2M2ZDhiN2E5MjkzNGFiYzkwY2RjNGQzYzcxNmRhNzQ=
13
+ YTNhYTIyNGQ2YzRlNjE0MjM2ZmVlYTU4NjgyNGY1NjY1MTQwZWI1ZjJjZDY2
14
+ NzUyNDJhYzExNTYyY2Q2OTU2NGVkMTE0M2U1NTBkOGE2ZTgyYjExNmM4YmI2
15
+ ODdiZGFmMDAxZDJjZThlODhmYzU4ZTQzOWY3Y2I5ZGU5ZDU2OWM=
@@ -1,3 +1,3 @@
1
1
  module MyPlugin
2
- VERSION = "0.5.3"
2
+ VERSION = "0.5.4"
3
3
  end
data/lib/my_plugin.rb CHANGED
@@ -3,8 +3,14 @@ require "my_plugin/version"
3
3
  module MyPlugin
4
4
  require 'my_plugin/railtie' if defined?(Rails)
5
5
 
6
- def self.hash(obj, key_pair)
6
+ def self.new_hash(obj, key_pair)
7
7
  obj = Hash[*key_pair.split(',')]
8
- obj.delete!("---\n")
8
+ end
9
+
10
+ def self.merg_hash(obj, key_pair)
11
+ end
12
+
13
+ def self.trim(obj)
14
+ obj = obj[4]
9
15
  end
10
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sohair Ahmad