salesforce_id 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc150f154ee214c5bd79aabbffc61d075dce6b14
4
- data.tar.gz: f381ee50f307f0002b6e115986c518a929b7238e
3
+ metadata.gz: 30c6400e6562285b005c9d9322e4e3784520e0b0
4
+ data.tar.gz: ec6108b0f8b16c825870497b17ec4d0271836e85
5
5
  SHA512:
6
- metadata.gz: 9f8af02768f5bb532fa7b23d8f7dbe0dc97747cea93b88e507503422c03f41e168732e7fb2a62d4a5fc552c78a71bc65ea571dd04e52db000509ed038c687b80
7
- data.tar.gz: 1deb2b58d231d7efe7cbf5915cb5a1da3fae4371dd57eb87e66ac1cb1f63d09ddc51ad7e007813df9f1d23e566f6f3a059d92bad211ee6ba7fc5a53674ba39b0
6
+ metadata.gz: a2ab32683c1bd72c0b65ec6346b17c5e884064e4966ff62aaaf1177f79811153966c6bc45f52c937d4cd012c15268a71e9fedf69bbba00bf5b7a07deb024c282
7
+ data.tar.gz: 01446cd19d32f632a1a8a99662cab6bee39280a5661f5bf87a427e95ef6f7cd50448d2c04799e9c4a14da130ffc78f7b05acd1b640362d9239752d842f3b1e6e
data/README.md CHANGED
@@ -85,6 +85,9 @@ id.to_sensitive # => "003G000001SUbc4"
85
85
 
86
86
  # It can be converted to case-insensitive format
87
87
  id.to_insensitive # => "003G000001SUbc4IAD"
88
+
89
+ # Special feature, for even shorter ID creation
90
+ SalesforceId("003G000001SUbc4") == SalesforceId.id("003G000001SUbc4") # => true
88
91
  ```
89
92
 
90
93
  ## Documentation
@@ -1,3 +1,3 @@
1
1
  module SalesforceId
2
- VERSION = "1.1.0"
2
+ VERSION = "1.2.0"
3
3
  end
data/lib/salesforce_id.rb CHANGED
@@ -12,3 +12,7 @@ module SalesforceId
12
12
  end
13
13
 
14
14
  end
15
+
16
+ def SalesforceId(salesforce_id)
17
+ SalesforceId.id(salesforce_id)
18
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesforce_id
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fire-Dragon-DoL
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-10-24 00:00:00.000000000 Z
11
+ date: 2015-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler