friendly_extensions 0.2 → 0.2.1

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: c0b58b59a5540b798b4d2d975791ec31792a8789
4
- data.tar.gz: b61194d062b60cf1fdd55643f1870656d1611bd6
3
+ metadata.gz: 07845f3ca4631a3be94934cd4bf9bdac0276ac8c
4
+ data.tar.gz: 0a2d208fcb8cde214b7d58169fa68cd796105695
5
5
  SHA512:
6
- metadata.gz: d36a9cb3cd9fc84e89bd20d6ea6deaff1567e1cf464128dfc2bd9ead7632c62a63880d8b644416ad64f78d8f2d912e2e22f9e16e06369daebda0fd6642a4d1b9
7
- data.tar.gz: e0535c4f3535208d204d40295981e6d9d4e3a564c1a3d355f9de5071b0e4de023a4285dd0d5054b0bc0e97f7682b2ff398cd6c9dda607836550d0637f66b3b0c
6
+ metadata.gz: 013f3753e591ba56e7c858ce94eba4eeaf0ce2f8a45625c09bd2d96d1dfb21f93963864eda1a5be85e72bf9af92036e5878f06cb3a28ecd6c2784ee082c201f9
7
+ data.tar.gz: 37578ad68411f3f6fe034c401c03e86915da52f88a73c805fd1fca8c511924194565756e05c94f31d9e4a3e33360a015aab3e6f5aa2361920788fdff8e65e230
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: friendly_extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Eck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2016-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -33,10 +33,8 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - app/helpers/friends_forms_helper.rb
35
35
  - app/helpers/friends_labeled_form_helper.rb
36
- - app/models/friends_label.rb
37
36
  - config/locales/friendly_extensions.de.yml
38
37
  - config/locales/friendly_extensions.en.yml
39
- - db/migrate/001_drop_friends_labels.rb
40
38
  - lib/alphanumeric.rb
41
39
  - lib/array.rb
42
40
  - lib/boolean.rb
@@ -74,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
72
  version: '0'
75
73
  requirements: []
76
74
  rubyforge_project:
77
- rubygems_version: 2.4.3
75
+ rubygems_version: 2.4.6
78
76
  signing_key:
79
77
  specification_version: 4
80
78
  summary: Collection of useful features for Ruby/Rails Classes
@@ -84,4 +82,3 @@ test_files:
84
82
  - test/hash_test.rb
85
83
  - test/numeric_test.rb
86
84
  - test/string_test.rb
87
- has_rdoc:
@@ -1,19 +0,0 @@
1
- # -*- encoding : utf-8 -*-
2
- class FriendsLabel < ActiveRecord::Base
3
-
4
- validates_uniqueness_of :attribute_name
5
-
6
- labels = {}
7
-
8
- if self.table_exists?
9
- concept_labels = FriendsLabel.all
10
- concept_labels.each {|l| labels.merge!(l.attribute_name => {:label => l.label, :tooltip => l.tooltip, :docu_tooltip => l.tooltip_docu})}
11
- end
12
-
13
- LABELS = labels
14
-
15
- def is_unset?
16
- return (!(self.attribute_name == self.label)).to_s
17
- end
18
-
19
- end
@@ -1,7 +0,0 @@
1
- class DropFriendsLabels < ActiveRecord::Migration
2
-
3
- def change
4
- drop_table "friends_labels"
5
- end
6
-
7
- end