activityutils 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 9ce6c97adb8567310854e56a1d4525128d7145bf
4
+ data.tar.gz: 28d8087ee445e3003aa5fb4ea504e325c6fa8c1d
5
+ SHA512:
6
+ metadata.gz: 072fad91ef93e86201b1d28fd95b6d25d460af966b190adc3df5fd954df96c4cd7d0b09283fd3a9e6e69eac5966f4676aa86edee131d56a1a515f3890edefcda
7
+ data.tar.gz: 25829d124a7fc260734590caabed45589bd72cefb6cf07498fd82320a6030af582ec5a8c6346c43e419c87428555482dc32fbadcacf2a79d96b1c5aabb53938f
data/Manifest.txt CHANGED
@@ -1,11 +1,11 @@
1
- History.md
2
- Manifest.txt
3
- README.md
4
- Rakefile
5
- lib/activityutils.rb
6
- lib/activityutils/models.rb
7
- lib/activityutils/schema.rb
8
- lib/activityutils/server.rb
9
- lib/activityutils/server/public/style.css
10
- lib/activityutils/server/views/index.erb
11
- lib/activityutils/version.rb
1
+ History.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/activityutils.rb
6
+ lib/activityutils/models.rb
7
+ lib/activityutils/schema.rb
8
+ lib/activityutils/server.rb
9
+ lib/activityutils/server/public/style.css
10
+ lib/activityutils/server/views/index.erb
11
+ lib/activityutils/version.rb
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ Hoe.spec 'activityutils' do
11
11
  self.urls = ['https://github.com/rubylibs/activityutils']
12
12
 
13
13
  self.author = 'Gerald Bauer'
14
- self.email = 'webslideshow@googlegroups.com'
14
+ self.email = 'wwwmake@googlegroups.com'
15
15
 
16
16
  # switch extension to .markdown for gihub formatting
17
17
  self.readme_file = 'README.md'
@@ -24,7 +24,7 @@ Hoe.spec 'activityutils' do
24
24
  self.licenses = ['Public Domain']
25
25
 
26
26
  self.spec_extras = {
27
- :required_ruby_version => '>= 1.9.2'
27
+ :required_ruby_version => '>= 2.3'
28
28
  }
29
29
 
30
- end
30
+ end
@@ -1,34 +1,37 @@
1
+ # encoding: utf-8
2
+
1
3
  module ActivityDb
2
4
 
3
- class CreateDb < ActiveRecord::Migration
5
+ class CreateDb
6
+
7
+ def up
4
8
 
5
- def up
9
+ ActiveRecord::Schema.define do
6
10
 
7
11
  create_table :activities do |t|
8
12
  t.integer :user_id # references user
9
13
 
10
14
  t.integer :trackable_id
11
15
  t.string :trackable_type # is polymorphic
12
-
16
+
13
17
  t.string :action # holds only create|update|delete - for trackable record
14
18
 
15
19
  ## optional free form (free text) activity -- make it into a table of its own? why? why not?
16
20
  # why - keeps render uniform
17
21
  # why not - creates an extra record/model/table
18
-
22
+
19
23
  t.text :text # optional - text to render
20
24
  t.string :tmpl # optional - template key
21
25
 
22
26
  ### t.string :params - add parameters column - why ?? why not??
23
-
27
+
24
28
  t.timestamps # - only need created-at - supposed no changes e.g. no modified_at
25
29
  end
26
30
 
27
- end # method up
31
+ end # block Schema.define
32
+
33
+ end # method up
28
34
 
29
- def down
30
- raise ActiveRecord::IrreversibleMigration
31
- end
32
35
 
33
36
  end # class CreateDb
34
37
 
@@ -1,4 +1,4 @@
1
1
 
2
2
  module ActivityUtils
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
metadata CHANGED
@@ -1,55 +1,65 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activityutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
5
- prerelease:
4
+ version: 0.1.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Gerald Bauer
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-01 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: logutils
16
- requirement: &69327590 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0.5'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *69327590
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0.5'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: rdoc
27
- requirement: &69327310 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ~>
31
+ - - "~>"
31
32
  - !ruby/object:Gem::Version
32
- version: '3.10'
33
+ version: '4.0'
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *69327310
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '4.0'
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: hoe
38
- requirement: &69327070 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ~>
45
+ - - "~>"
42
46
  - !ruby/object:Gem::Version
43
- version: '3.3'
47
+ version: '3.16'
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *69327070
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.16'
47
55
  description: activityutils - activity (timeline) utilities
48
- email: webslideshow@googlegroups.com
56
+ email: wwwmake@googlegroups.com
49
57
  executables: []
50
58
  extensions: []
51
59
  extra_rdoc_files:
60
+ - History.md
52
61
  - Manifest.txt
62
+ - README.md
53
63
  files:
54
64
  - History.md
55
65
  - Manifest.txt
@@ -65,28 +75,27 @@ files:
65
75
  homepage: https://github.com/rubylibs/activityutils
66
76
  licenses:
67
77
  - Public Domain
78
+ metadata: {}
68
79
  post_install_message:
69
80
  rdoc_options:
70
- - --main
81
+ - "--main"
71
82
  - README.md
72
83
  require_paths:
73
84
  - lib
74
85
  required_ruby_version: !ruby/object:Gem::Requirement
75
- none: false
76
86
  requirements:
77
- - - ! '>='
87
+ - - ">="
78
88
  - !ruby/object:Gem::Version
79
- version: 1.9.2
89
+ version: '2.3'
80
90
  required_rubygems_version: !ruby/object:Gem::Requirement
81
- none: false
82
91
  requirements:
83
- - - ! '>='
92
+ - - ">="
84
93
  - !ruby/object:Gem::Version
85
94
  version: '0'
86
95
  requirements: []
87
- rubyforge_project: activityutils
88
- rubygems_version: 1.8.17
96
+ rubyforge_project:
97
+ rubygems_version: 2.5.2
89
98
  signing_key:
90
- specification_version: 3
99
+ specification_version: 4
91
100
  summary: activityutils - activity (timeline) utilities
92
101
  test_files: []