ish_manager 0.1.8.199 → 0.1.8.200

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
  SHA256:
3
- metadata.gz: e6d04b7901bb0263f1da76192aafc840d9dbbc52e81479bfb37a35508ac248e6
4
- data.tar.gz: 1d543d6e764576c045896942c5a5e854a95ae8fbf87aa3ada737f727a2af848c
3
+ metadata.gz: 977911b5fdb60deba4b13e1b2234eac6291ba15e35cc8166c48289e4fd18c1f4
4
+ data.tar.gz: 83b1cf5cf46754f7f08d6f39812be9143016b60872687134aa76aa1c65fd530a
5
5
  SHA512:
6
- metadata.gz: ab47e75b7f49df8cec14d4ba38909bf64fbc66cb4e2b59573eca826ae070b906fbb89e96aadc3cb7d7ca8aa5b35b0d1a3a3f14cf8c7d86f5eeddfb54adfea4b2
7
- data.tar.gz: 83e0ba39f51aeb79f92de96614823325a954e407acbc2f9fb8315b7ca585c68053f6104334361f393cdb0fc271dd30c06cd193a5cb44571096ec21ec8f5b1a2e
6
+ metadata.gz: 409ffe13099007e934475f6c7eba39a1cbf1095f6b5f3a5d93b377cab5a95bd06011c7c8d8c8cd634c6aeb6ed98fa53cc00159c1dc0e7234cf3f723b642d05ed
7
+ data.tar.gz: 7468539f0150fd788e072047011d1ff173c06ea9dc66a1065b278778ae1b2cfb94c1aa134d2df609e4b7650eb6a1adb0c65ca7a7c5fb9fc40be905d6b8485651
@@ -9,43 +9,24 @@
9
9
  .field
10
10
  %label CityName
11
11
  = f.text_field :cityname
12
- .col-sm-6
13
- .field
14
- = image_flag 'en'
15
- %label= t('cities.name_en')
16
- = f.text_field :name_en
17
- .field
18
- = image_flag 'ru'
19
- %label= t('cities.name')
20
- = f.text_field :name_ru
21
- .field
22
- = image_flag 'pt'
23
- %label= t('cities.name')
24
- = f.text_field :name_pt
25
- .col-sm-6
26
- .field
27
- = f.check_box :is_feature
28
- = f.label :is_feature
29
- .field
30
- = f.label :n_features
31
- = f.number_field :n_features
32
12
  .change-profile-pic
33
13
  %label Change profile pic
34
14
  = file_field_tag :photo
35
- - begin
36
- = image_tag @city.profile_photo.photo.url(:thumb)
37
- - rescue
38
- .col-sm-6
39
- .field
40
- = f.label :description
41
- = f.text_area :description, :class => [ :tinymce ]
15
+ = image_tag @city.profile_photo.photo.url(:thumb) rescue nil
42
16
  .field
43
17
  %label coords
44
18
  .row
45
19
  .col-xs-6
20
+ = f.label :x
46
21
  = f.text_field :x
47
22
  .col-xs-6
23
+ = f.label :y
48
24
  = f.text_field :y
25
+ .col-sm-6
26
+ .field
27
+ = f.label :description
28
+ = f.text_area :description, :class => [ :tinymce ]
29
+
49
30
  .col-xs-12
50
31
  .actions
51
32
  = f.submit
@@ -3,9 +3,6 @@
3
3
  = render 'form', :url => city_path
4
4
  %hr
5
5
 
6
- .row
7
- .small-12.columns
8
- = render 'ish_manager/features/index', :features => @city.features, :city => @city
9
- %hr
10
- = render 'ish_manager/newsitems/index', :newsitems => @city.newsitems, :city => @city
6
+ = render 'ish_manager/features/index', :city => @city, :features => @city.features
7
+ = render 'ish_manager/newsitems/index', :city => @city, :newsitems => @city.newsitems
11
8
 
@@ -55,7 +55,7 @@
55
55
  .col-md-4
56
56
  .field
57
57
  = f.label :item_type
58
- = f.select :item_type, options_for_select(::Gameui::Marker::ITEM_TYPES, ::Gameui::Marker::ITEM_TYPES)
58
+ = f.select :item_type, options_for_select( ::Gameui::Marker::ITEM_TYPES, selected: @marker.item_type )
59
59
  .col-md-4
60
60
  .field
61
61
  = f.label :ordering
@@ -50,11 +50,11 @@ namespace :ish_manager do
50
50
  end
51
51
  =end
52
52
 
53
- desc 'watch the stocks'
53
+ desc 'yahoo-watch the stocks'
54
54
  task :stockwatcher => :environment do
55
- watcher = Stockwatcher.new
55
+ watcher = YahooStockwatcher.new
56
56
  while true
57
- watcher.watch
57
+ watcher.watch_once
58
58
  print '.'
59
59
  sleep 60 # seconds
60
60
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8.199
4
+ version: 0.1.8.200
5
5
  platform: ruby
6
6
  authors:
7
7
  - piousbox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-02-14 00:00:00.000000000 Z
11
+ date: 2020-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails